43 std::shared_ptr<GasPricer> _gpForAdoption,
44 std::string
const& _dbPath = std::string(),
53 bool addBlock(std::string
const& _rlp);
Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Origi...
void modifyTimestamp(u256 const &_timestamp)
The Host class Capabilities should be registered prior to startNetwork, since m_capabilities is not t...
bool addBlock(std::string const &_rlp)
void mineBlocks(unsigned _count)
ClientTest & asClientTest(Interface &_c)
ClientTest(ChainParams const &_params, int _networkID, p2p::Host *_host, std::shared_ptr< GasPricer > _gpForAdoption, std::string const &_dbPath=std::string(), WithExisting _forceAction=WithExisting::Trust, TransactionQueue::Limits const &_l=TransactionQueue::Limits{1024, 1024})
Trivial forwarding constructor.
virtual void onNewBlocks(h256s const &_blocks, h256Hash &io_changed) override
Called on chain changes.
void rewindToBlock(unsigned _number)
Main API hub for interfacing with Ethereum.
boost::multiprecision::number< boost::multiprecision::cpp_int_backend< 256, 256, boost::multiprecision::unsigned_magnitude, boost::multiprecision::unchecked, void >> u256
Main API hub for interfacing with Ethereum.
std::unordered_set< h256 > h256Hash
std::vector< h256 > h256s
DEV_SIMPLE_EXCEPTION(InvalidSealEngine)
void setChainParams(std::string const &_genesis)