43 static const u256 DefaultGasPrice = 20 * shannon;
71 u256 m_ask = DefaultGasPrice;
72 u256 m_bid = DefaultGasPrice;
Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Origi...
Implements the blockchain database.
u256 bid(TransactionPriority=TransactionPriority::Medium) const override
Access a block of memory.
Active model of a block within the block chain.
boost::multiprecision::number< boost::multiprecision::cpp_int_backend< 256, 256, boost::multiprecision::unsigned_magnitude, boost::multiprecision::unchecked, void >> u256
TrivialGasPricer(u256 const &_ask, u256 const &_bid)
void setBid(u256 const &_bid)
void setAsk(u256 const &_ask)
u256 ask(Block const &) const override
virtual void update(BlockChain const &)