47 using ClientBase::block;
eth::BlockChain const & m_bc
Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Origi...
Implements the blockchain database.
SharedMutex x_stateDB
Lock on the state DB, effectively a lock on m_postSeal.
FixedClient(eth::BlockChain const &_bc, eth::Block const &_block)
Active model of a block within the block chain.
virtual void flushTransactions() override
Blocks until all pending transactions have been processed.
virtual void prepareForTransaction() override
virtual eth::BlockChain const & bc() const override
virtual eth::Block block(h256 const &_h) const override
virtual eth::Block postSeal() const override
boost::shared_lock< boost::shared_mutex > ReadGuard
boost::unique_lock< boost::shared_mutex > WriteGuard
void setAuthor(Address const &_id)
Set the author address for any transactions we do and rewards we get.
virtual eth::Block preSeal() const override
boost::shared_mutex SharedMutex
virtual eth::BlockChain & bc() override
The interface that must be implemented in any class deriving this.
virtual void setAuthor(Address const &_us) override
Set the block author address.
mvp implementation of ClientBase Doesn't support mining interface