VeriBlock chain parameters.
More...
Definition at line 19 of file vbk_chain_params.hpp.
#include <vbk_chain_params.hpp>
|
virtual int | getProgPowForkHeight () const =0 |
|
virtual uint32_t | getProgPowStartTimeEpoch () const noexcept=0 |
|
virtual bool | isProgPowStartTimeEpochEnabled () const noexcept |
|
virtual const char * | networkName () const =0 |
|
virtual uint256 | getMinimumDifficulty () const =0 |
|
virtual VbkNetworkType | getTransactionMagicByte () const noexcept=0 |
|
virtual bool | getPowNoRetargeting () const noexcept=0 |
|
virtual uint32_t | getRetargetPeriod () const noexcept=0 |
|
virtual uint32_t | getTargetBlockTime () const noexcept=0 |
|
virtual uint32_t | numBlocksForBootstrap () const noexcept=0 |
|
virtual uint32_t | maxFutureBlockTime () const noexcept |
|
virtual bool | EnableTimeAdjustment () const noexcept=0 |
| In miner it is hard to simulate correct timestamps, so this flag disables Time Adjustment Algorithm in POP Fork Resolution. More...
|
|
virtual int32_t | getMaxReorgBlocks () const noexcept |
|
virtual uint32_t | getKeystoneInterval () const noexcept |
|
virtual uint32_t | getFinalityDelay () const noexcept |
|
virtual int32_t | getOldBlocksWindow () const noexcept |
| all blocks further than this number of blocks are considered "old" More...
|
|
virtual const std::vector< uint32_t > & | getForkResolutionLookUpTable () const noexcept |
|
virtual int32_t | getEndorsementSettlementInterval () const noexcept |
|
uint32_t | preserveBlocksBehindFinal () const noexcept |
| when finalizeBlockImpl is called, this many blocks behind final block will be preserved in RAM. More...
|
|
◆ EnableTimeAdjustment()
virtual bool altintegration::VbkChainParams::EnableTimeAdjustment |
( |
| ) |
const |
|
pure virtualnoexcept |
◆ getEndorsementSettlementInterval()
virtual int32_t altintegration::VbkChainParams::getEndorsementSettlementInterval |
( |
| ) |
const |
|
inlinevirtualnoexcept |
◆ getFinalityDelay()
virtual uint32_t altintegration::VbkChainParams::getFinalityDelay |
( |
| ) |
const |
|
inlinevirtualnoexcept |
◆ getForkResolutionLookUpTable()
virtual const std::vector< uint32_t > & altintegration::VbkChainParams::getForkResolutionLookUpTable |
( |
| ) |
const |
|
inlinevirtualnoexcept |
◆ getKeystoneInterval()
virtual uint32_t altintegration::VbkChainParams::getKeystoneInterval |
( |
| ) |
const |
|
inlinevirtualnoexcept |
◆ getMaxReorgBlocks()
virtual int32_t altintegration::VbkChainParams::getMaxReorgBlocks |
( |
| ) |
const |
|
inlinevirtualnoexcept |
◆ getOldBlocksWindow()
virtual int32_t altintegration::VbkChainParams::getOldBlocksWindow |
( |
| ) |
const |
|
inlinevirtualnoexcept |
◆ isProgPowStartTimeEpochEnabled()
virtual bool altintegration::VbkChainParams::isProgPowStartTimeEpochEnabled |
( |
| ) |
const |
|
inlinevirtualnoexcept |
◆ maxFutureBlockTime()
virtual uint32_t altintegration::VbkChainParams::maxFutureBlockTime |
( |
| ) |
const |
|
inlinevirtualnoexcept |
◆ preserveBlocksBehindFinal()
uint32_t altintegration::VbkChainParams::preserveBlocksBehindFinal |
( |
| ) |
const |
|
inlinenoexcept |
In VBK we should preserve at least last endorsementSettlementInterval
blocks before finalized (not including finalized).
Definition at line 63 of file vbk_chain_params.hpp.
63 {
64 VBK_ASSERT(mPreserveBlocksBehindFinal >= mEndorsementSettlementInterval);
65 return mPreserveBlocksBehindFinal;
66 }
◆ forkResolutionLookUpTable_
std::vector<uint32_t> altintegration::VbkChainParams::forkResolutionLookUpTable_ |
|
protected |
◆ mEndorsementSettlementInterval
uint32_t altintegration::VbkChainParams::mEndorsementSettlementInterval = 400 |
◆ mMaxFutureBlockTime
uint32_t altintegration::VbkChainParams::mMaxFutureBlockTime = 5 * 60 |
|
protected |
◆ mMaxReorgBlocks
◆ mOldBlocksWindow
uint32_t altintegration::VbkChainParams::mOldBlocksWindow = 12000 |
◆ mPreserveBlocksBehindFinal
uint32_t altintegration::VbkChainParams::mPreserveBlocksBehindFinal = mEndorsementSettlementInterval |
The documentation for this struct was generated from the following file: