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.

tm.block.size.set - Tendermint block parameter setup

    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:
1
{
2
...
3
"type": "tm.block.size.set",
4
"data": {
5
"size": 300000,
6
"gas": -1
7
}
8
}
Copied!

tm.validator.add - Tendermint validator installation

    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:
1
{
2
...
3
"type": "tm.validator.add",
4
"data": {
5
"validator": "Tm8AzJYQPs0ipx/3xL6xKCHbBC78aOhPZ2kE8NX3kW0=",
6
"power": 10
7
}
8
}
Copied!

tm.validator.del - Deleting the tendermint validator

    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:
1
{
2
...
3
"type": "tm.validator.del",
4
"data": {
5
"validator": "Tm8AzJYQPs0ipx/3xL6xKCHbBC78aOhPZ2kE8NX3kW0="
6
}
7
}
Copied!
Last modified 6mo ago