Fabcoin Core
0.16.2
P2P Digital Currency
|
#include <ChainOperationParams.h>
Public Member Functions | |
ChainOperationParams () | |
operator bool () const | |
u256 | u256Param (std::string const &_name) const |
Convenience method to get an otherParam as a u256 int. More... | |
Public Attributes | |
std::string | sealEngineName = "NoProof" |
The chain sealer name: e.g. Ethash, NoProof, BasicAuthority. More... | |
u256 | blockReward = 0 |
General chain params. More... | |
u256 | maximumExtraDataSize = 1024 |
u256 | accountStartNonce = 0 |
bool | tieBreakingGas = true |
std::unordered_map< Address, PrecompiledContract > | precompiled |
Precompiled contracts as specified in the chain params. More... | |
std::unordered_map< std::string, std::string > | otherParams |
Additional parameters. More... | |
Definition at line 66 of file ChainOperationParams.h.
ChainOperationParams::ChainOperationParams | ( | ) |
Definition at line 44 of file ChainOperationParams.cpp.
|
inlineexplicit |
Definition at line 70 of file ChainOperationParams.h.
u256 ChainOperationParams::u256Param | ( | std::string const & | _name | ) | const |
Convenience method to get an otherParam as a u256 int.
Definition at line 59 of file ChainOperationParams.cpp.
u256 dev::eth::ChainOperationParams::accountStartNonce = 0 |
Definition at line 78 of file ChainOperationParams.h.
u256 dev::eth::ChainOperationParams::blockReward = 0 |
General chain params.
Definition at line 76 of file ChainOperationParams.h.
u256 dev::eth::ChainOperationParams::maximumExtraDataSize = 1024 |
Definition at line 77 of file ChainOperationParams.h.
std::unordered_map<std::string, std::string> dev::eth::ChainOperationParams::otherParams |
Additional parameters.
e.g. Ethash specific:
Definition at line 95 of file ChainOperationParams.h.
std::unordered_map<Address, PrecompiledContract> dev::eth::ChainOperationParams::precompiled |
Precompiled contracts as specified in the chain params.
Definition at line 82 of file ChainOperationParams.h.
std::string dev::eth::ChainOperationParams::sealEngineName = "NoProof" |
The chain sealer name: e.g. Ethash, NoProof, BasicAuthority.
Definition at line 73 of file ChainOperationParams.h.
bool dev::eth::ChainOperationParams::tieBreakingGas = true |
Definition at line 79 of file ChainOperationParams.h.