Byzantine Conditions
These are Byzantine Conditions that are signals for users to exit the Childchain.

unchallenged_exit

Indicates that an invalid exit is dangerously close to finalization and hasn't been challenged and the user should exit. See docs on unchallenged_exit condition for more details.
1
{
2
"event": "unchallenged_exit",
3
"details": {
4
"amount": 12000000000000000000,
5
"currency": "0x0000000000000000000000000000000000000000",
6
"eth_height": 325,
7
"name": "unchallenged_exit",
8
"owner": "0xc29320f6a614edd1ffc8c7f8a7c8dd703761a68a",
9
"root_chain_txhash": "0xee0d9e06dedf792d25c3d168fe1073c42039b49ddeffd76fc57e31201df8887b",
10
"scheduled_finalization_time": 1588144725,
11
"utxo_pos": 1000000000
12
}
13
}
Copied!

invalid_block

Indicates that an invalid block has been added to the chain. A block is considered to be invalid when there is something wrong with a block received by the Childchain. Including a situation where the root hash of the transactions in a block that has been submitted to the root chain does not match with the content of the block found on the Childchain's API. The user should exit.
1
{
2
"event": "invalid_block",
3
"details": {
4
"blockhash" : "0x0017372421f9a92bedb7163310918e623557ab5310befc14e67212b660c33bec",
5
"blknum" : 10000,
6
"error_type": "tx_execution"
7
}
8
}
Copied!

block_withholding

Indicates that the Childchain is withholding a block whose hash has been published on the root chain and is not available via the Childchain's API. The user should exit.
1
{
2
"event": "block_withholding",
3
"details": {
4
"hash" : "0x0017372421f9a92bedb7163310918e623557ab5310befc14e67212b660c33bec",
5
"blknum" : 10000
6
}
7
}
Copied!
Last modified 8mo ago