Tendermint consensus parameter management
Warning! These commands are strictly available only to a specific account. These commands are DANGEROUS, they can lead to a FULL STOP of the network (without the normal possibility of further launch)!
These commands are available in the core and in the payment network.
size : long
- block size in bytes.gas : long
- possible gas consumption. Gas is counted as "1 transaction - 1 unit of gas".
The command is signed by the managing account.
Possible errors:
- "Incorrect Block.MaxBytes" - size is set incorrectly.
- "Incorrect Block.MaxGas" - gas is set incorrectly.
- "Value already set" - values have already been set before.
Example:
{
...
"type": "tm.block.size.set",
"data": {
"size": 300000,
"gas": -1
}
}
validator : String
- public validator key in BASE64 (ed25519).power : long
- account voice size.
The command is signed by the managing account.
Possible errors:
- "Incorrect power" - voice is set incorrectly .
- "Validator already registered" - validator is already registered.
Example:
{
...
"type": "tm.validator.add",
"data": {
"validator": "Tm8AzJYQPs0ipx/3xL6xKCHbBC78aOhPZ2kE8NX3kW0=",
"power": 10
}
}
validator : String
- public validator key in BASE64 (ed25519).
The command is signed by the managing account.
Possible errors:
- "Validator not registered" - unknown validator.
- "Incorrect state - empty validator set" - deletes the last validator.
Example:
{
...
"type": "tm.validator.del",
"data": {
"validator": "Tm8AzJYQPs0ipx/3xL6xKCHbBC78aOhPZ2kE8NX3kW0="
}
}