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.

{
  "event": "unchallenged_exit",
  "details": {
    "amount": 12000000000000000000,
    "currency": "0x0000000000000000000000000000000000000000",
    "eth_height": 325,
    "name": "unchallenged_exit",
    "owner": "0xc29320f6a614edd1ffc8c7f8a7c8dd703761a68a",
    "root_chain_txhash": "0xee0d9e06dedf792d25c3d168fe1073c42039b49ddeffd76fc57e31201df8887b",
    "scheduled_finalization_time": 1588144725,
    "utxo_pos": 1000000000
  }
}

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.

{
  "event": "invalid_block",
  "details": {
    "blockhash"  : "0x0017372421f9a92bedb7163310918e623557ab5310befc14e67212b660c33bec",
    "blknum"  : 10000,
    "error_type": "tx_execution"
  }
}

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.

{
  "event": "block_withholding",
  "details": {
    "hash"  : "0x0017372421f9a92bedb7163310918e623557ab5310befc14e67212b660c33bec",
    "blknum"  : 10000
  }
}

Last updated