veriblock-pop-cpp
C++11 Libraries for leveraging VeriBlock Proof-Of-Proof blockchain technology.
config.hpp File Reference

Altchains must configure AltBlockTree prior any usage by providing bootstrapping Config. More...

#include <utility>
#include <vector>
#include "blockchain/alt_chain_params.hpp"
#include "blockchain/btc_chain_params.hpp"
#include "blockchain/vbk_chain_params.hpp"
#include "serde.hpp"
#include "stateless_validation.hpp"
+ Include dependency graph for config.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  altintegration::Config
 A container for Bitcoin and Veriblock configuration data. More...
 
struct  altintegration::Config::Bootstrap< Block, ChainParams >
 per-chain bootstrap config More...
 

Namespaces

namespace  altintegration
 Defines logging helpers.
 

Detailed Description

Config MUST specify Bitcoin and Veriblock blockchains configs. Namely, network (mainnet/testnet/regtest), contiguous list of blocks named Bootstrap blocks (must be at least 2016 blocks, at least single retargeting period for Bitcoin and 100 blocks for Veriblock), and height of first bootstrap block.

Definition in file config.hpp.