Expand description
Consensus defines various tweakable parameters of a given instance of the CKB system.
Structs§
- Struct Consensus defines various parameters that influence chain consensus
- The Consensus factory, which can be used in order to configure the properties of a new Consensus.
- The struct represent CKB two-step-transaction-confirmation params
Enums§
- Corresponding epoch information of next block
Constants§
- The mainnet default activation_threshold
- The default maximum allowed size in bytes for a block
- max block interval, 48 seconds
- The default maximum allowed amount of proposals for a block
- min block interval, 8 seconds
- The testnet default activation_threshold
- bytes of a typical two-in-two-out tx.
- cycles of a typical two-in-two-out tx.
- “TYPE_ID” in hex
Traits§
- Trait for consensus provider.
Functions§
- Build the dao data of genesis block
- Build the epoch information of genesis block