38 _bi.
verify(_s, _parent, _block);
48 if (_ir & ImportRequirements::TransactionSignatures)
55 assert(ret &&
"Seal engine not found.");
64 if (
u256(0) == chainParams().u256Param(
"EIP158ForkBlock") &&
65 u256(0) == chainParams().u256Param(
"EIP150ForkBlock") &&
66 u256(0) == chainParams().u256Param(
"homsteadForkBlock")){
67 return getFascSchedule();
71 if (_envInfo.
number() >= chainParams().u256Param(
"metropolisForkBlock"))
72 return MetropolisSchedule;
73 if (_envInfo.
number() >= chainParams().u256Param(
"EIP158ForkBlock"))
74 return EIP158Schedule;
75 else if (_envInfo.
number() >= chainParams().u256Param(
"EIP150ForkBlock"))
76 return EIP150Schedule;
77 else if (_envInfo.
number() >= chainParams().u256Param(
"homsteadForkBlock"))
78 return HomesteadSchedule;
80 return FrontierSchedule;
Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Origi...
bool verify(Public const &_k, Signature const &_s, h256 const &_hash)
Verify signature.
std::hash for asio::adress
assert(len-trim+(2 *lenIndices)<=WIDTH)
u256 const & number() const
boost::multiprecision::number< boost::multiprecision::cpp_int_backend< 256, 256, boost::multiprecision::unsigned_magnitude, boost::multiprecision::unchecked, void >> u256
std::string sealEngineName
The chain sealer name: e.g. Ethash, NoProof, BasicAuthority.
void setChainParams(ChainOperationParams const &_params)
Encodes a transaction, ready to be exported to or freshly imported from RLP.
#define ETH_REGISTER_SEAL_ENGINE(Name)