Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
dev::eth::ChainOperationParams Struct Reference

#include <ChainOperationParams.h>

Inheritance diagram for dev::eth::ChainOperationParams:
[legend]

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, PrecompiledContractprecompiled
 Precompiled contracts as specified in the chain params. More...
 
std::unordered_map< std::string, std::string > otherParams
 Additional parameters. More...
 

Detailed Description

Definition at line 66 of file ChainOperationParams.h.

Constructor & Destructor Documentation

ChainOperationParams::ChainOperationParams ( )

Definition at line 44 of file ChainOperationParams.cpp.

Member Function Documentation

dev::eth::ChainOperationParams::operator bool ( ) const
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.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

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:

  • minGasLimit
  • maxGasLimit
  • gasLimitBoundDivisor
  • minimumDifficulty
  • difficultyBoundDivisor
  • durationLimit

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.


The documentation for this struct was generated from the following files: