#include <hardfork.hpp>
◆ firstPillarBlockPeriod()
- Returns
- first pillar block period
◆ isFicusHardfork()
◆ isPbftWithPillarBlockPeriod()
bool taraxa::FicusHardforkConfig::isPbftWithPillarBlockPeriod |
( |
taraxa::PbftPeriod |
period | ) |
const |
- Parameters
-
- Returns
- true if period is the period, during which pillar block hash is included in pbft block
◆ isPillarBlockPeriod()
bool taraxa::FicusHardforkConfig::isPillarBlockPeriod |
( |
taraxa::PbftPeriod |
period, |
|
|
bool |
skip_first_pillar_block = false |
|
) |
| const |
- Parameters
-
period | |
skip_first_pillar_block | if true, isPillarBlockPeriod returns false if period == first pillar block period |
- Returns
- true if period is the pbft period, during which new pillar block is created
◆ validate()
void taraxa::FicusHardforkConfig::validate |
( |
uint32_t |
delegation_delay | ) |
const |
◆ block_num
uint64_t taraxa::FicusHardforkConfig::block_num {10} |
◆ bridge_contract_address
◆ pillar_blocks_interval
uint64_t taraxa::FicusHardforkConfig::pillar_blocks_interval {10} |
The documentation for this struct was generated from the following files: