|
veriblock-pop-cpp
C++11 Libraries for leveraging VeriBlock Proof-Of-Proof blockchain technology.
|
per-chain bootstrap config More...
Definition at line 44 of file config.hpp.
#include <config.hpp>
Inheritance diagram for altintegration::Config::Bootstrap< Block, ChainParams >:
Collaboration diagram for altintegration::Config::Bootstrap< Block, ChainParams >:Static Public Member Functions | |
| static Bootstrap | create (int32_t start, const std::vector< std::string > &hexblocks, std::shared_ptr< ChainParams > params) |
| factory method to create this config from vector of hexencoded blocks More... | |
Public Attributes | |
| int32_t | startHeight = 0 |
| height of the first bootstrap block More... | |
| std::vector< Block > | blocks |
| a contiguous list of blocks. More... | |
| std::shared_ptr< ChainParams > | params |
| network parameters - Mainnet/Testnet/Regtest... More... | |
|
inlinestatic |
Definition at line 57 of file config.hpp.
| std::vector<Block> altintegration::Config::Bootstrap< Block, ChainParams >::blocks |
if empty, bootstrapWithGenesis() will be used has to have at least params->numBlocksForBootstrap() blocks
Definition at line 51 of file config.hpp.
| std::shared_ptr<ChainParams> altintegration::Config::Bootstrap< Block, ChainParams >::params |
Definition at line 54 of file config.hpp.
| int32_t altintegration::Config::Bootstrap< Block, ChainParams >::startHeight = 0 |
Definition at line 46 of file config.hpp.