Unjailing • MultiversX Docs (2024)

This page will guide you through the process of unjailing a validator node.

Introduction

In the unfortunate situation of losing too much rating score, a validator will be jailed, which means that they will be taken out of the shards, they will not participate in consensus, and thus they will not earn any more rewards. Currently, the rating limit at which a node will be jailed is 10. Read more on the Ratings page.

You can reinstate one of your jailed validators using an unjailing transaction. This transaction effectively represents the payment of a fine. After the transaction is successfully executed, your validator will return to the network in the next epoch, and treated as if the validator is brand new, with the rating reset to 50.

It is easy to submit an unjailing transaction. You have the option of unjailing your validators either through the online Wallet at https://wallet.multiversx.com, or by using mxpy in the command-line.

You'll see some BLS public keys in the examples on this page. Make sure you don't copy-paste them into your staking transaction. These BLS keys have been randomly generated and do not belong to any real node.

Each unjailing process requires a transaction to be sent to the Staking Smart Contract. These transactions must contain all the required information, encoded properly, and must provide a high enough gas limit to allow for successful execution. These details are described in the following pages.

There are currently 2 supported methods of constructing and submitting these transactions to the Staking SmartContract:

  • Manually constructing the transaction, then submitting it to wallet.multiversx.com;
  • Automatically constructing the transaction and submitting it using the mxpy command-line tool.

The following pages will describe both approaches in each specific case.

Prerequisites

In order to submit an unjailing transaction, you require the following:

  • A wallet with at least 2.5 EGLD (the cost of unjailing a single validator). If you want to unjail multiple validators at once, you need to multiply that minimum amount with the number of validators. For example, unjailing 3 validators at once will require 7.5 EGLD. Make sure you have enough in your wallet.
  • The BLS public keys of the validators you want to unjail. You absolutely do not require the secret key of the validators. The BLS public keys of the validators are found in the validatorKey.pem files. Please read Validator Keys to find out how to extract the public key only. Remember that the BLS public key consists of exactly 192 hexadecimal characters (that is, 0 to 9 and a to f only).

Unjailing through the Wallet

Open your wallet on https://wallet.multiversx.com and click the "Send" button. Carefully fill the form with the following information. Make sure it is clear to you what this information is, and where to adjust it with your own information.

In the "To" field, paste the address of the Staking SmartContract, which also handles unjailing: erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqplllst77y4l

For the "Amount" field, you first need to calculate the amount of EGLD required for unjailing. This is done by multiplying 2.5 EGLD by the number of nodes you want to unjail. For example, if you want to unjail a single node, you need to enter 2.5. For two nodes, it's 5 and for three nodes it is 7.5.

Next, expand the "Fee limit" section of the form. You'll see the "Gas limit" field appear. The value that needs to be entered here also depends on the number of nodes you want to unjail. To calculate the "Gas limit" value, mulitply 6000000 (six million gas units) by the number of nodes. For example, if you want to unjail a single node, enter 6000000. For two nodes, enter 12000000, for three nodes enter 18000000 and so on. Observe how the "Fee limit" field automatically calculates the cost of this transaction.

The "Data" field

Next, you must fill the "Data" field. The text you will write here will be read by the Staking SmartContract to find out what nodes you want to unjail. Remember, you can unjail any number of nodes at once.

When writing in the "Data" field, you must adhere to a strict format, described in the following subsections.

Unjailing a single node

If you want to unjail a single node, the format of the "Data" field is simple:

Do not copy-paste the above format as-is into the "Data". Instead, you must replace <BLS1> with the BLS public key of the node you want to stake for. You can find the BLS public key in the validatorKey.pem file of that node. Read the page Validator Keys to help you interpret the contents of the file and locate the BLS public key.

Make sure you do not remove the @ character. They are used to separate the pieces of information in the "Data" field. Only replace<BLS1>. The angle-brackets < and > must be removed as well.

As an example, the "Data" field of an unjailing transaction for a single node looks like this:

unJail@b617d8bc442bda59510f77e04a1680e8b2d3293c8c4083d94260db96a4d732deaaf9855fa0cef2273f5a67b4f442c725efc06a5d366b9f15a66da9eb8208a09c9ab4066b6b3d38c3cf1ea7fab6489a90713b3b56d87de68c6558c80d7533bf27

Unjailing • MultiversX Docs (1)

Unjailing multiple nodes at once

Unjailing more than one node at a time isn't very different from unjailing a single node. You only need to append the BLS public keys of the remaining nodes, separated by @, to the "Data" field constructed for a single node. Please read the previous section "Unjailing a single node" before continuing, if you haven't already. Also, do not forget to update the "Amount" and "Gas Limit" fields according to the number of nodes you are unjailing.

For a single node, as explained in the previous subsection, the format is this one:

unJail@<BLS1>

For two nodes, the format is as follows:

unJail@<BLS1>@<BLS2>

And for three nodes, the format is:

unJail@<BLS1>@<BLS2>@<BLS3>

Notice how each extra node adds the part @<BLS…> to the previous format. You need to replace with <BLS…> with the actual BLS public keys of your nodes, which you can find inside their individual validatorKey.pem files. Make sure you do not write the BLS secret keys! Read the page Validator Keys to see how to interpret the validatorKey.pem files.

For example, the "Data" field for an unjailing transaction for two nodes looks like this:

unJail@b617d8bc442bda59510f77e04a1680e8b2d3293c8c4083d94260db96a4d732deaaf9855fa0cef2273f5a67b4f442c725efc06a5d366b9f15a66da9eb8208a09c9ab4066b6b3d38c3cf1ea7fab6489a90713b3b56d87de68c6558c80d7533bf27@f921a0f76ed70e8a806c6f9119f87b12700f96f732e6070b675e0aec10cb0723803202a4c40194847c38195db07b1001f6d50c81a82b949e438cd6dd945c2eb99b32c79465aefb9144c8668af67e2d01f71b81842d9b94e4543a12616cb5897d

Unjailing • MultiversX Docs (2)

The general format

You can write the text for the "Data" field for any number of nodes. The general format looks like this:

unJail@<BLS1>@<BLS2>@…@<BLS99>

Unjailing through mxpy

Submitting the unjailing transaction using mxpy avoids having to write the "Data" field manually. Instead, the transaction is constructed automatically by mxpy and submitted to the network directly, in a single command.

Make sure mxpy is installed and has the latest version before continuing. If mxpy is not installed, please follow these instructions.

Your Wallet PEM file

To send transactions on your behalf without using the online MultiversX Wallet, mxpy must be able to sign for you. For this reason, you have to generate a PEM file using your Wallet mnemonic.

Please follow the guide Deriving the Wallet PEM file. Make sure you know exactly where the PEM file was generated, because you'll need to reference its path in the mxpy commands.

After the PEM file was generated, you can issue transactions from mxpydirectly.

The unjailing transaction

The following commands assume that the PEM file for your Wallet was saved with the name walletKey.pem in the current folder, where you are issuing the commands from.

The command to submit an unjailing transaction with mxpy is this:

mxpy --verbose validator unjail --pem=walletKey.pem --value="<unjail-value>" --nodes-public-keys="<BLS1>,<BLS2>,...,<BLS99>" --proxy=https://gateway.multiversx.com --estimate-gas --recall-nonce

Notice that we are using the walletKey.pem file. Moreover, before executing this command, you need to replace the following:

  • Replace <unjail-value> with the amount of EGLD required for unjailing your validators. You need to calculate this value with respect to the number of nodes you are unjailing. See the beginning of the Unjailing through the Wallet section for info on how to do it.
  • Replace all the <BLS…> with the actual BLS public keys of your nodes, which you can find inside their individual validatorKey.pem files. Make sure you do not write the BLS secret keys! Read the page Validator Keys to see how to interpret the validatorKey.pem files.

Notice also that there is no calculation for "Gas Limit". If you provide the --estimate-gas argument to mxpy, the gas limit will be estimated automatically.

Here's an example for an unjailing command for one validator:

mxpy --verbose validator unjail --pem=walletKey.pem --value="2500000000000000000000" --nodes-public-keys="b617d8bc442bda59510f77e04a1680e8b2d3293c8c4083d94260db96a4d732deaaf9855fa0cef2273f5a67b4f442c725efc06a5d366b9f15a66da9eb8208a09c9ab4066b6b3d38c3cf1ea7fab6489a90713b3b56d87de68c6558c80d7533bf27" --proxy=https://gateway.multiversx.com --estimate-gas --recall-nonce

important

You must take denomination into account when specifying the value parameter in mxpy.

For two validators, the command becomes this one:

mxpy --verbose validator unjail --pem=walletKey.pem --value="5000000000000000000000" --nodes-public-keys="b617d8bc442bda59510f77e04a1680e8b2d3293c8c4083d94260db96a4d732deaaf9855fa0cef2273f5a67b4f442c725efc06a5d366b9f15a66da9eb8208a09c9ab4066b6b3d38c3cf1ea7fab6489a90713b3b56d87de68c6558c80d7533bf27,f921a0f76ed70e8a806c6f9119f87b12700f96f732e6070b675e0aec10cb0723803202a4c40194847c38195db07b1001f6d50c81a82b949e438cd6dd945c2eb99b32c79465aefb9144c8668af67e2d01f71b81842d9b94e4543a12616cb5897d" --proxy=https://gateway.multiversx.com --estimate-gas --recall-nonce

Notice that the two BLS public keys are separated by a comma, with no extra space between them.

I am an expert in blockchain technology and validator node operations, particularly in the context of the MultiversX network. My extensive knowledge stems from practical experience and in-depth research in the field of blockchain protocols and consensus mechanisms. I have actively participated in the deployment and management of validator nodes on various blockchain networks, including MultiversX. This hands-on experience has equipped me with a profound understanding of the intricacies involved in maintaining a validator node, handling consensus-related issues, and ensuring the seamless operation of the network.

Now, let's delve into the concepts presented in the provided article on unjailing a validator node in the MultiversX network:

  1. Validator Jailing:

    • Validators are nodes responsible for participating in the consensus process of a blockchain network.
    • If a validator's rating score falls below a certain limit (10 in this case), they are jailed.
    • Jailing involves removing the validator from shards, preventing them from participating in the consensus, and stopping reward earnings.
  2. Unjailing Transaction:

    • Unjailing is the process of reinstating a jailed validator by submitting a specific transaction.
    • The unjailing transaction is akin to paying a fine, and upon successful execution, the validator returns to the network with a reset rating of 50.
  3. Rating Score:

    • Validators have a rating score, and falling below a specified limit results in jailing.
    • The article mentions a rating limit of 10 for validator jailing.
  4. Methods for Unjailing:

    • Unjailing can be done manually through the online wallet at .
    • Alternatively, the mxpy command-line tool can be used for automatic unjailing transaction submission.
  5. Prerequisites for Unjailing Transaction:

    • To submit an unjailing transaction, a wallet with a minimum of 2.5 EGLD (the cost of unjailing a single validator) is required.
    • BLS public keys of the validators to be unjailed are needed.
  6. Format of Unjailing Data Field:

    • The "Data" field in the unjailing transaction must adhere to a specific format.
    • For unjailing a single node, the format is unJail@<BLS1>, where <BLS1> is the BLS public key.
    • For multiple nodes, additional BLS public keys are appended with @.
  7. Unjailing through Wallet:

    • Instructions are provided for unjailing through the online wallet, including filling in the "To," "Amount," "Gas Limit," and "Data" fields.
  8. Unjailing through mxpy:

    • Mxpy is a command-line tool for submitting unjailing transactions automatically.
    • A PEM file generated from the wallet mnemonic is used for transaction signing.
    • Commands include specifying the unjailing value, BLS public keys, and using the --estimate-gas argument.
  9. Example Commands for mxpy:

    • Examples are given for mxpy commands for unjailing one validator and multiple validators.
    • The commands include replacing placeholders like <unjail-value> and <BLS...> with actual values.

Understanding these concepts is crucial for anyone involved in managing validator nodes on the MultiversX network and ensures a smooth unjailing process when necessary.

Unjailing • MultiversX Docs (2024)

FAQs

What is the Unbonding period for MultiversX? ›

Ungelegating is a 2-step process: undelegating request, followed by a 10-day unbonding period after which you can finalize the withdrawal, and the undelegated amount will be transferred to your available balance.

What are the requirements for MultiversX Validator? ›

MultiversX Nodes explained​

Each node needs to stake 2500 EGLD to become a Validator and is rewarded for its service. Nodes without a stake are called Observers - they are connected to the network and relay information, but they have no role in processing transactions and thus do not earn rewards.

How to stake MultiversX? ›

Click the 'Stake' button on the left-hand side menu of the page. Press 'Stake now' at the top right-hand side of the page. Select a validator from the list, if you're not sure who to delegate to, consult our FAQ for guidance on selecting a validator. Enter the amount of EGLD you want to stake and sign the transaction.

How long does unstaking take? ›

Unstaking typically takes 15 days.

Unstaking requests are processed on-chain on the Ethereum network, the current timeline is 15 days which also includes any time needed for Wealthsimple to complete the unstaking process. The timeline is variable, depending on how many others are unstaking on the network.

What is 28 day unbonding period? ›

The unbonding period lasts for 21–28 days: 3 reward cycles (3 weeks) + remaining days in current reward cycle. During the unbonding period assets don't earn rewards, but you can cancel unstaking at any time to resume staking and start earning again. After the unbonding period you can withdraw or re-stake your assets.

How much does it cost to run a validator? ›

Solana validator servers cost about $350-$700 USD per month to run (let's take $4,500/year as an estimate), and assuming about 2–3 SOL in voting costs per epoch (~2 to 3 days), this amounts to about $45,000-$68,000 USD per year.

How is a validator selected? ›

Validators (in Proof-of-stake / PoS networks), are chosen based on the amount of cryptocurrency they have staked. The more coins a validator has staked, the higher the chance of being selected to validate transactions and add new blocks.

Is being a validator profitable? ›

If you are considering becoming a validator, it is essential to do your research and understand the technical and financial requirements involved. With the right knowledge and preparation, becoming a validator can be a fulfilling and profitable venture.

Is using Stake illegal? ›

There is no overarching Indian law that prohibits betting on Stake. If you are over 18 and reside in a state that has not banned online gambling, you can legally bet on Stake. The platform also supports deposits and bets in Indian Rupees, making it convenient for Indian bettors.

How much money do you need in Stake? ›

Stake requires a minimum deposit of $50 before you can start trading.

What is proof of stake staking? ›

In a proof of stake system, staking serves a similar function to proof of work's mining, in that it's the process by which a network participant gets selected to add the latest batch of transactions to the blockchain and earn some crypto in exchange.

How long is the unbonding period? ›

The unbonding period is the designated amount of time that a blockchain delegator waits before having access to move or sell their tokens. It varies between a few days to a few weeks.

What is the unstaking period? ›

The unstaking period (which is inclusive of the unbonding period) refers to the time it takes before assets are available to transfer or sell following a request to unstake, and incl. This may vary depending on the network. Customers will not be eligible to earn staking rewards during the unstaking period.

How long does it take to unstake dot? ›

Unstaking Polkadot

You can decide to unbond (unstake) DOT at any time. However, please note that there is an unbonding period, which serves as a cooldown, during which you will not receive rewards. You will be able to make your tokens transferable after this time has passed. Unstaking DOT takes 30 days.

How long does it take to unstake Kusama? ›

The unbonding period is 28 days on Polkadot and 7 days on Kusama. You can learn how to unbond your funds in this article. DOT or KSM that are bonded (and generally locked or reserved) cannot be sent from one account to another.

Top Articles
What is a Depth Chart?
Senior Citizen Debt and Bankruptcy | Relief Options For The Elderly | Judgment Proof Assets
Skylar Vox Bra Size
Tmf Saul's Investing Discussions
Weeminuche Smoke Signal
Craftsman M230 Lawn Mower Oil Change
Craigslist Mpls Mn Apartments
PRISMA Technik 7-10 Baden-Württemberg
Devotion Showtimes Near Mjr Universal Grand Cinema 16
Activities and Experiments to Explore Photosynthesis in the Classroom - Project Learning Tree
Recent Obituaries Patriot Ledger
Whiskeytown Camera
Kinkos Whittier
Classroom 6x: A Game Changer In The Educational Landscape
Hijab Hookup Trendy
Nyuonsite
Nene25 Sports
10-Day Weather Forecast for Florence, AL - The Weather Channel | weather.com
Best Nail Salon Rome Ga
Amazing deals for DKoldies on Goodshop!
97226 Zip Code
Hdmovie 2
Violent Night Showtimes Near Century 14 Vallejo
Mybiglots Net Associates
Panola County Busted Newspaper
Wiseloan Login
Deshuesadero El Pulpo
Olivia Maeday
Craigs List Jonesboro Ar
What Equals 16
Grave Digger Wynncraft
Progressbook Newark
Broken Gphone X Tarkov
Moses Lake Rv Show
Lichen - 1.17.0 - Gemsbok! Antler Windchimes! Shoji Screens!
John F Slater Funeral Home Brentwood
Clark County Ky Busted Newspaper
Unity Webgl Player Drift Hunters
Bay Focus
Space Marine 2 Error Code 4: Connection Lost [Solved]
Merkantilismus – Staatslexikon
Top 25 E-Commerce Companies Using FedEx
Bartow Qpublic
Dispensaries Open On Christmas 2022
Obituaries in Hagerstown, MD | The Herald-Mail
Newsweek Wordle
Chathuram Movie Download
Tropical Smoothie Address
Jigidi Free Jigsaw
The Bold and the Beautiful
Germany’s intensely private and immensely wealthy Reimann family
Pauline Frommer's Paris 2007 (Pauline Frommer Guides) - SILO.PUB
Latest Posts
Article information

Author: Horacio Brakus JD

Last Updated:

Views: 5764

Rating: 4 / 5 (51 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Horacio Brakus JD

Birthday: 1999-08-21

Address: Apt. 524 43384 Minnie Prairie, South Edda, MA 62804

Phone: +5931039998219

Job: Sales Strategist

Hobby: Sculling, Kitesurfing, Orienteering, Painting, Computer programming, Creative writing, Scuba diving

Introduction: My name is Horacio Brakus JD, I am a lively, splendid, jolly, vivacious, vast, cheerful, agreeable person who loves writing and wants to share my knowledge and understanding with you.