Fabcoin Core
0.16.2
P2P Digital Currency
|
Should be used to load test blockchain from json file Loads the blockchain from json, creates temporary directory to store it, removes the directory on dealloc. More...
#include <BlockChainLoader.h>
Public Member Functions | |
BlockChainLoader (Json::Value const &_json, eth::Network _sealEngineNetwork=eth::Network::TransitionnetTest) | |
eth::BlockChain const & | bc () const |
eth::State const & | state () const |
eth::Block const & | block () const |
Private Attributes | |
TransientDirectory | m_dir |
std::unique_ptr< eth::BlockChain > | m_bc |
eth::Block | m_block |
Should be used to load test blockchain from json file Loads the blockchain from json, creates temporary directory to store it, removes the directory on dealloc.
Definition at line 39 of file BlockChainLoader.h.
BlockChainLoader::BlockChainLoader | ( | Json::Value const & | _json, |
eth::Network | _sealEngineNetwork = eth::Network::TransitionnetTest |
||
) |
|
inline |
|
inline |
|
inline |
Definition at line 44 of file BlockChainLoader.h.
|
private |
Definition at line 49 of file BlockChainLoader.h.
|
private |
Definition at line 50 of file BlockChainLoader.h.
|
private |
Definition at line 48 of file BlockChainLoader.h.