 |
Ethereum
PoC-8
The C++ Implementation of Ethereum
|
Go to the documentation of this file.
68 const boost::filesystem::path& _configPath = {})
const;
71 void populateFromGenesis(
bytes const& _genesisRLP,
AccountMap const& _state);
74 ChainParams loadGenesis(std::string
const& _json,
h256 const& _stateRoot = {})
const;
ChainParams(std::string const &_json, bytes const &_genesisRLP, AccountMap const &_state)
ChainParams(std::string const &_s, h256 const &_stateRoot=h256())
std::unordered_map< Address, Account > AccountMap
h256 parentHash
Genesis params.
h256 calculateStateRoot(bool _force=false) const
SealEngineFace * createSealEngine()
ChainParams(ChainParams const &)=default
bytes genesisBlock() const
Genesis block info.
std::vector< byte > bytes
ChainParams(bytes const &_genesisRLP, AccountMap const &_state)
ChainParams loadConfig(std::string const &_json, h256 const &_stateRoot={}, const boost::filesystem::path &_configPath={}) const
load config
boost::multiprecision::number< boost::multiprecision::cpp_int_backend< 256, 256, boost::multiprecision::unsigned_magnitude, boost::multiprecision::unchecked, void > > u256
h256 stateRoot
Only pre-populate if known equivalent to genesisState's root. If they're different Bad Things Will Ha...