Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Protected Attributes | List of all members
dev::eth::Interface Class Referenceabstract

Main API hub for interfacing with Ethereum. More...

#include <Interface.h>

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

Public Member Functions

 Interface ()
 Constructor. More...
 
virtual ~Interface ()
 Destructor. More...
 
virtual std::pair< h256, AddresssubmitTransaction (TransactionSkeleton const &_t, Secret const &_secret)=0
 Submits a new transaction. More...
 
void submitTransaction (Secret const &_secret, u256 const &_value, Address const &_dest, bytes const &_data=bytes(), u256 const &_gas=1000000, u256 const &_gasPrice=DefaultGasPrice, u256 const &_nonce=Invalid256)
 Submits the given message-call transaction. More...
 
Address submitTransaction (Secret const &_secret, u256 const &_endowment, bytes const &_init, u256 const &_gas=1000000, u256 const &_gasPrice=DefaultGasPrice, u256 const &_nonce=Invalid256)
 Submits a new contract-creation transaction. More...
 
virtual void flushTransactions ()=0
 Blocks until all pending transactions have been processed. More...
 
virtual ExecutionResult call (Address const &_from, u256 _value, Address _dest, bytes const &_data, u256 _gas, u256 _gasPrice, BlockNumber _blockNumber, FudgeFactor _ff=FudgeFactor::Strict)=0
 Makes the given call. Nothing is recorded into the state. More...
 
ExecutionResult call (Address const &_from, u256 _value, Address _dest, bytes const &_data=bytes(), u256 _gas=1000000, u256 _gasPrice=DefaultGasPrice, FudgeFactor _ff=FudgeFactor::Strict)
 
ExecutionResult call (Secret const &_secret, u256 _value, Address _dest, bytes const &_data, u256 _gas, u256 _gasPrice, BlockNumber _blockNumber, FudgeFactor _ff=FudgeFactor::Strict)
 
ExecutionResult call (Secret const &_secret, u256 _value, Address _dest, bytes const &_data, u256 _gas, u256 _gasPrice, FudgeFactor _ff=FudgeFactor::Strict)
 
virtual ExecutionResult create (Address const &_from, u256 _value, bytes const &_data, u256 _gas, u256 _gasPrice, BlockNumber _blockNumber, FudgeFactor _ff=FudgeFactor::Strict)=0
 Does the given creation. More...
 
ExecutionResult create (Address const &_from, u256 _value, bytes const &_data=bytes(), u256 _gas=1000000, u256 _gasPrice=DefaultGasPrice, FudgeFactor _ff=FudgeFactor::Strict)
 
ExecutionResult create (Secret const &_secret, u256 _value, bytes const &_data, u256 _gas, u256 _gasPrice, BlockNumber _blockNumber, FudgeFactor _ff=FudgeFactor::Strict)
 
ExecutionResult create (Secret const &_secret, u256 _value, bytes const &_data, u256 _gas, u256 _gasPrice, FudgeFactor _ff=FudgeFactor::Strict)
 
virtual ImportResult injectTransaction (bytes const &_rlp, IfDropped _id=IfDropped::Ignore)=0
 Injects the RLP-encoded transaction given by the _rlp into the transaction queue directly. More...
 
virtual ImportResult injectBlock (bytes const &_block)=0
 Injects the RLP-encoded block given by the _rlp into the block queue directly. More...
 
virtual std::pair< u256, ExecutionResultestimateGas (Address const &_from, u256 _value, Address _dest, bytes const &_data, int64_t _maxGas, u256 _gasPrice, BlockNumber _blockNumber, GasEstimationCallback const &_callback=GasEstimationCallback())=0
 Estimate gas usage for call/create. More...
 
int getDefault () const
 
void setDefault (BlockNumber _block)
 
u256 balanceAt (Address _a) const
 
u256 countAt (Address _a) const
 
u256 stateAt (Address _a, u256 _l) const
 
bytes codeAt (Address _a) const
 
h256 codeHashAt (Address _a) const
 
std::map< h256, std::pair< u256, u256 > > storageAt (Address _a) const
 
virtual u256 balanceAt (Address _a, BlockNumber _block) const =0
 
virtual u256 countAt (Address _a, BlockNumber _block) const =0
 
virtual u256 stateAt (Address _a, u256 _l, BlockNumber _block) const =0
 
virtual h256 stateRootAt (Address _a, BlockNumber _block) const =0
 
virtual bytes codeAt (Address _a, BlockNumber _block) const =0
 
virtual h256 codeHashAt (Address _a, BlockNumber _block) const =0
 
virtual std::map< h256, std::pair< u256, u256 > > storageAt (Address _a, BlockNumber _block) const =0
 
virtual LocalisedLogEntries logs (unsigned _watchId) const =0
 
virtual LocalisedLogEntries logs (LogFilter const &_filter) const =0
 
virtual unsigned installWatch (LogFilter const &_filter, Reaping _r=Reaping::Automatic)=0
 Install, uninstall and query watches. More...
 
virtual unsigned installWatch (h256 _filterId, Reaping _r=Reaping::Automatic)=0
 
virtual bool uninstallWatch (unsigned _watchId)=0
 
LocalisedLogEntries peekWatchSafe (unsigned _watchId) const
 
LocalisedLogEntries checkWatchSafe (unsigned _watchId)
 
virtual LocalisedLogEntries peekWatch (unsigned _watchId) const =0
 
virtual LocalisedLogEntries checkWatch (unsigned _watchId)=0
 
virtual bool isKnownTransaction (h256 const &_transactionHash) const =0
 
virtual bool isKnownTransaction (h256 const &_blockHash, unsigned _i) const =0
 
virtual Transaction transaction (h256 _transactionHash) const =0
 
virtual LocalisedTransaction localisedTransaction (h256 const &_transactionHash) const =0
 
virtual TransactionReceipt transactionReceipt (h256 const &_transactionHash) const =0
 
virtual LocalisedTransactionReceipt localisedTransactionReceipt (h256 const &_transactionHash) const =0
 
virtual std::pair< h256, unsigned > transactionLocation (h256 const &_transactionHash) const =0
 
virtual h256 hashFromNumber (BlockNumber _number) const =0
 
virtual BlockNumber numberFromHash (h256 _blockHash) const =0
 
virtual int compareBlockHashes (h256 _h1, h256 _h2) const =0
 
virtual bool isKnown (BlockNumber _block) const =0
 
virtual bool isKnown (h256 const &_hash) const =0
 
virtual BlockHeader blockInfo (h256 _hash) const =0
 
virtual BlockDetails blockDetails (h256 _hash) const =0
 
virtual Transaction transaction (h256 _blockHash, unsigned _i) const =0
 
virtual LocalisedTransaction localisedTransaction (h256 const &_blockHash, unsigned _i) const =0
 
virtual BlockHeader uncle (h256 _blockHash, unsigned _i) const =0
 
virtual UncleHashes uncleHashes (h256 _blockHash) const =0
 
virtual unsigned transactionCount (h256 _blockHash) const =0
 
virtual unsigned uncleCount (h256 _blockHash) const =0
 
virtual Transactions transactions (h256 _blockHash) const =0
 
virtual TransactionHashes transactionHashes (h256 _blockHash) const =0
 
virtual BlockHeader pendingInfo () const
 
virtual BlockDetails pendingDetails () const
 
virtual EVMSchedule evmSchedule () const
 
BlockHeader blockInfo (BlockNumber _block) const
 
BlockDetails blockDetails (BlockNumber _block) const
 
Transaction transaction (BlockNumber _block, unsigned _i) const
 
unsigned transactionCount (BlockNumber _block) const
 
Transactions transactions (BlockNumber _block) const
 
TransactionHashes transactionHashes (BlockNumber _block) const
 
BlockHeader uncle (BlockNumber _block, unsigned _i) const
 
UncleHashes uncleHashes (BlockNumber _block) const
 
unsigned uncleCount (BlockNumber _block) const
 
virtual unsigned number () const =0
 
virtual Transactions pending () const =0
 Get a map containing each of the pending transactions. More...
 
virtual h256s pendingHashes () const =0
 
virtual Addresses addresses () const
 Get a list of all active addresses. More...
 
virtual Addresses addresses (BlockNumber _block) const =0
 
virtual u256 gasLimitRemaining () const =0
 Get the remaining gas limit in this block. More...
 
virtual u256 gasBidPrice () const =0
 
virtual SyncStatus syncStatus () const =0
 Get some information on the block queue. More...
 
virtual void setAuthor (Address const &_us)=0
 Set the block author address. More...
 
virtual Address author () const =0
 Get the block author address. More...
 
virtual void startSealing ()=0
 Start sealing. More...
 
virtual void stopSealing ()=0
 Stop sealing. More...
 
virtual bool wouldSeal () const =0
 Would we like to be sealing now? More...
 
virtual bool isSyncing () const
 Are we updating the chain (syncing or importing a new block)? More...
 
virtual bool isMajorSyncing () const
 Are we syncing the chain? More...
 
virtual u256 networkId () const
 Gets the network id. More...
 
virtual void setNetworkId (u256 const &)
 Sets the network id. More...
 
virtual SealEngineFacesealEngine () const
 Get the seal engine. More...
 

Protected Attributes

int m_default = PendingBlock
 

Detailed Description

Main API hub for interfacing with Ethereum.

Definition at line 67 of file Interface.h.

Constructor & Destructor Documentation

dev::eth::Interface::Interface ( )
inline

Constructor.

Definition at line 71 of file Interface.h.

virtual dev::eth::Interface::~Interface ( )
inlinevirtual

Destructor.

Definition at line 74 of file Interface.h.

Member Function Documentation

virtual Addresses dev::eth::Interface::addresses ( ) const
inlinevirtual

Get a list of all active addresses.

NOTE: This only works when compiled with ETH_FATDB; otherwise will throw InterfaceNotSupported.

Definition at line 203 of file Interface.h.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual Addresses dev::eth::Interface::addresses ( BlockNumber  _block) const
pure virtual

Implemented in dev::eth::ClientBase.

virtual Address dev::eth::Interface::author ( ) const
pure virtual

Get the block author address.

Implemented in dev::eth::ClientBase, and dev::eth::Client.

u256 dev::eth::Interface::balanceAt ( Address  _a) const
inline

Definition at line 121 of file Interface.h.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual u256 dev::eth::Interface::balanceAt ( Address  _a,
BlockNumber  _block 
) const
pure virtual

Implemented in dev::eth::ClientBase.

virtual BlockDetails dev::eth::Interface::blockDetails ( h256  _hash) const
pure virtual

Implemented in dev::eth::ClientBase.

BlockDetails Interface::blockDetails ( BlockNumber  _block) const

Definition at line 59 of file Interface.cpp.

virtual BlockHeader dev::eth::Interface::blockInfo ( h256  _hash) const
pure virtual

Implemented in dev::eth::ClientBase.

BlockHeader Interface::blockInfo ( BlockNumber  _block) const

Definition at line 52 of file Interface.cpp.

virtual ExecutionResult dev::eth::Interface::call ( Address const &  _from,
u256  _value,
Address  _dest,
bytes const &  _data,
u256  _gas,
u256  _gasPrice,
BlockNumber  _blockNumber,
FudgeFactor  _ff = FudgeFactor::Strict 
)
pure virtual

Makes the given call. Nothing is recorded into the state.

Implemented in dev::eth::ClientBase.

Here is the caller graph for this function:

ExecutionResult dev::eth::Interface::call ( Address const &  _from,
u256  _value,
Address  _dest,
bytes const &  _data = bytes(),
u256  _gas = 1000000,
u256  _gasPrice = DefaultGasPrice,
FudgeFactor  _ff = FudgeFactor::Strict 
)
inline

Definition at line 94 of file Interface.h.

Here is the call graph for this function:

Here is the caller graph for this function:

ExecutionResult dev::eth::Interface::call ( Secret const &  _secret,
u256  _value,
Address  _dest,
bytes const &  _data,
u256  _gas,
u256  _gasPrice,
BlockNumber  _blockNumber,
FudgeFactor  _ff = FudgeFactor::Strict 
)
inline

Definition at line 95 of file Interface.h.

Here is the call graph for this function:

Here is the caller graph for this function:

ExecutionResult dev::eth::Interface::call ( Secret const &  _secret,
u256  _value,
Address  _dest,
bytes const &  _data,
u256  _gas,
u256  _gasPrice,
FudgeFactor  _ff = FudgeFactor::Strict 
)
inline

Definition at line 96 of file Interface.h.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual LocalisedLogEntries dev::eth::Interface::checkWatch ( unsigned  _watchId)
pure virtual

Implemented in dev::eth::ClientBase.

Here is the caller graph for this function:

LocalisedLogEntries dev::eth::Interface::checkWatchSafe ( unsigned  _watchId)
inline

Definition at line 146 of file Interface.h.

bytes dev::eth::Interface::codeAt ( Address  _a) const
inline

Definition at line 124 of file Interface.h.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual bytes dev::eth::Interface::codeAt ( Address  _a,
BlockNumber  _block 
) const
pure virtual

Implemented in dev::eth::ClientBase.

h256 dev::eth::Interface::codeHashAt ( Address  _a) const
inline

Definition at line 125 of file Interface.h.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual h256 dev::eth::Interface::codeHashAt ( Address  _a,
BlockNumber  _block 
) const
pure virtual

Implemented in dev::eth::ClientBase.

virtual int dev::eth::Interface::compareBlockHashes ( h256  _h1,
h256  _h2 
) const
pure virtual

Implemented in dev::eth::ClientBase.

u256 dev::eth::Interface::countAt ( Address  _a) const
inline

Definition at line 122 of file Interface.h.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual u256 dev::eth::Interface::countAt ( Address  _a,
BlockNumber  _block 
) const
pure virtual

Implemented in dev::eth::ClientBase.

virtual ExecutionResult dev::eth::Interface::create ( Address const &  _from,
u256  _value,
bytes const &  _data,
u256  _gas,
u256  _gasPrice,
BlockNumber  _blockNumber,
FudgeFactor  _ff = FudgeFactor::Strict 
)
pure virtual

Does the given creation.

Nothing is recorded into the state.

Returns
the pair of the Address of the created contract together with its code.

Implemented in dev::eth::ClientBase.

Here is the caller graph for this function:

ExecutionResult dev::eth::Interface::create ( Address const &  _from,
u256  _value,
bytes const &  _data = bytes(),
u256  _gas = 1000000,
u256  _gasPrice = DefaultGasPrice,
FudgeFactor  _ff = FudgeFactor::Strict 
)
inline

Definition at line 101 of file Interface.h.

Here is the call graph for this function:

Here is the caller graph for this function:

ExecutionResult dev::eth::Interface::create ( Secret const &  _secret,
u256  _value,
bytes const &  _data,
u256  _gas,
u256  _gasPrice,
BlockNumber  _blockNumber,
FudgeFactor  _ff = FudgeFactor::Strict 
)
inline

Definition at line 102 of file Interface.h.

Here is the call graph for this function:

Here is the caller graph for this function:

ExecutionResult dev::eth::Interface::create ( Secret const &  _secret,
u256  _value,
bytes const &  _data,
u256  _gas,
u256  _gasPrice,
FudgeFactor  _ff = FudgeFactor::Strict 
)
inline

Definition at line 103 of file Interface.h.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual std::pair<u256, ExecutionResult> dev::eth::Interface::estimateGas ( Address const &  _from,
u256  _value,
Address  _dest,
bytes const &  _data,
int64_t  _maxGas,
u256  _gasPrice,
BlockNumber  _blockNumber,
GasEstimationCallback const &  _callback = GasEstimationCallback() 
)
pure virtual

Estimate gas usage for call/create.

Parameters
_maxGasAn upper bound value for estimation, if not provided default value of c_maxGasEstimate will be used.
_callbackOptional callback function for progress reporting

Implemented in dev::eth::ClientBase.

virtual EVMSchedule dev::eth::Interface::evmSchedule ( ) const
inlinevirtual
Returns
the EVMSchedule in the context of the pending block.

Reimplemented in dev::eth::ClientBase.

Definition at line 179 of file Interface.h.

virtual void dev::eth::Interface::flushTransactions ( )
pure virtual

Blocks until all pending transactions have been processed.

Implemented in dev::eth::Client, and dev::test::FixedClient.

Here is the caller graph for this function:

virtual u256 dev::eth::Interface::gasBidPrice ( ) const
pure virtual

Implemented in dev::eth::ClientBase, and dev::eth::Client.

virtual u256 dev::eth::Interface::gasLimitRemaining ( ) const
pure virtual

Get the remaining gas limit in this block.

Implemented in dev::eth::ClientBase, and dev::eth::Client.

int dev::eth::Interface::getDefault ( ) const
inline

Definition at line 118 of file Interface.h.

virtual h256 dev::eth::Interface::hashFromNumber ( BlockNumber  _number) const
pure virtual

Implemented in dev::eth::ClientBase.

Here is the caller graph for this function:

virtual ImportResult dev::eth::Interface::injectBlock ( bytes const &  _block)
pure virtual

Injects the RLP-encoded block given by the _rlp into the block queue directly.

Implemented in dev::eth::ClientBase.

virtual ImportResult dev::eth::Interface::injectTransaction ( bytes const &  _rlp,
IfDropped  _id = IfDropped::Ignore 
)
pure virtual

Injects the RLP-encoded transaction given by the _rlp into the transaction queue directly.

Implemented in dev::eth::ClientBase.

virtual unsigned dev::eth::Interface::installWatch ( LogFilter const &  _filter,
Reaping  _r = Reaping::Automatic 
)
pure virtual

Install, uninstall and query watches.

Implemented in dev::eth::ClientBase.

virtual unsigned dev::eth::Interface::installWatch ( h256  _filterId,
Reaping  _r = Reaping::Automatic 
)
pure virtual

Implemented in dev::eth::ClientBase.

virtual bool dev::eth::Interface::isKnown ( BlockNumber  _block) const
pure virtual

Implemented in dev::eth::ClientBase.

Here is the caller graph for this function:

virtual bool dev::eth::Interface::isKnown ( h256 const &  _hash) const
pure virtual

Implemented in dev::eth::ClientBase.

virtual bool dev::eth::Interface::isKnownTransaction ( h256 const &  _transactionHash) const
pure virtual

Implemented in dev::eth::ClientBase.

Here is the caller graph for this function:

virtual bool dev::eth::Interface::isKnownTransaction ( h256 const &  _blockHash,
unsigned  _i 
) const
pure virtual

Implemented in dev::eth::ClientBase.

virtual bool dev::eth::Interface::isMajorSyncing ( ) const
inlinevirtual

Are we syncing the chain?

Reimplemented in dev::eth::Client.

Definition at line 233 of file Interface.h.

virtual bool dev::eth::Interface::isSyncing ( ) const
inlinevirtual

Are we updating the chain (syncing or importing a new block)?

Reimplemented in dev::eth::Client.

Definition at line 231 of file Interface.h.

virtual LocalisedTransaction dev::eth::Interface::localisedTransaction ( h256 const &  _transactionHash) const
pure virtual

Implemented in dev::eth::ClientBase.

virtual LocalisedTransaction dev::eth::Interface::localisedTransaction ( h256 const &  _blockHash,
unsigned  _i 
) const
pure virtual

Implemented in dev::eth::ClientBase.

virtual LocalisedTransactionReceipt dev::eth::Interface::localisedTransactionReceipt ( h256 const &  _transactionHash) const
pure virtual

Implemented in dev::eth::ClientBase.

virtual LocalisedLogEntries dev::eth::Interface::logs ( unsigned  _watchId) const
pure virtual

Implemented in dev::eth::ClientBase.

virtual LocalisedLogEntries dev::eth::Interface::logs ( LogFilter const &  _filter) const
pure virtual

Implemented in dev::eth::ClientBase.

virtual u256 dev::eth::Interface::networkId ( ) const
inlinevirtual

Gets the network id.

Reimplemented in dev::eth::Client.

Definition at line 236 of file Interface.h.

virtual unsigned dev::eth::Interface::number ( ) const
pure virtual
Returns
The height of the chain.

Implemented in dev::eth::ClientBase.

virtual BlockNumber dev::eth::Interface::numberFromHash ( h256  _blockHash) const
pure virtual

Implemented in dev::eth::ClientBase.

virtual LocalisedLogEntries dev::eth::Interface::peekWatch ( unsigned  _watchId) const
pure virtual

Implemented in dev::eth::ClientBase.

LocalisedLogEntries dev::eth::Interface::peekWatchSafe ( unsigned  _watchId) const
inline

Definition at line 145 of file Interface.h.

virtual Transactions dev::eth::Interface::pending ( ) const
pure virtual

Get a map containing each of the pending transactions.

: Remove in favour of transactions().

Implemented in dev::eth::ClientBase.

Here is the caller graph for this function:

virtual BlockDetails dev::eth::Interface::pendingDetails ( ) const
inlinevirtual

Reimplemented in dev::eth::ClientBase.

Definition at line 177 of file Interface.h.

virtual h256s dev::eth::Interface::pendingHashes ( ) const
pure virtual

Implemented in dev::eth::ClientBase.

virtual BlockHeader dev::eth::Interface::pendingInfo ( ) const
inlinevirtual

Reimplemented in dev::eth::ClientBase.

Definition at line 176 of file Interface.h.

Here is the caller graph for this function:

virtual SealEngineFace* dev::eth::Interface::sealEngine ( ) const
inlinevirtual

Get the seal engine.

Reimplemented in dev::eth::Client.

Definition at line 241 of file Interface.h.

Here is the caller graph for this function:

virtual void dev::eth::Interface::setAuthor ( Address const &  _us)
pure virtual

Set the block author address.

Implemented in dev::eth::Client, and dev::test::FixedClient.

void dev::eth::Interface::setDefault ( BlockNumber  _block)
inline

Definition at line 119 of file Interface.h.

virtual void dev::eth::Interface::setNetworkId ( u256 const &  )
inlinevirtual

Sets the network id.

Reimplemented in dev::eth::Client.

Definition at line 238 of file Interface.h.

virtual void dev::eth::Interface::startSealing ( )
pure virtual

Start sealing.

NOT thread-safe - call it & stopSealing only from a single thread

Implemented in dev::eth::ClientBase, and dev::eth::Client.

u256 dev::eth::Interface::stateAt ( Address  _a,
u256  _l 
) const
inline

Definition at line 123 of file Interface.h.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual u256 dev::eth::Interface::stateAt ( Address  _a,
u256  _l,
BlockNumber  _block 
) const
pure virtual

Implemented in dev::eth::ClientBase.

virtual h256 dev::eth::Interface::stateRootAt ( Address  _a,
BlockNumber  _block 
) const
pure virtual

Implemented in dev::eth::ClientBase.

virtual void dev::eth::Interface::stopSealing ( )
pure virtual

Stop sealing.

NOT thread-safe

Implemented in dev::eth::ClientBase, and dev::eth::Client.

std::map<h256, std::pair<u256, u256> > dev::eth::Interface::storageAt ( Address  _a) const
inline

Definition at line 126 of file Interface.h.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual std::map<h256, std::pair<u256, u256> > dev::eth::Interface::storageAt ( Address  _a,
BlockNumber  _block 
) const
pure virtual

Implemented in dev::eth::ClientBase.

virtual std::pair<h256, Address> dev::eth::Interface::submitTransaction ( TransactionSkeleton const &  _t,
Secret const &  _secret 
)
pure virtual

Submits a new transaction.

Returns
the transaction's hash.

Implemented in dev::eth::ClientBase.

Here is the caller graph for this function:

void Interface::submitTransaction ( Secret const &  _secret,
u256 const &  _value,
Address const &  _dest,
bytes const &  _data = bytes(),
u256 const &  _gas = 1000000,
u256 const &  _gasPrice = DefaultGasPrice,
u256 const &  _nonce = Invalid256 
)

Submits the given message-call transaction.

Definition at line 27 of file Interface.cpp.

Address Interface::submitTransaction ( Secret const &  _secret,
u256 const &  _endowment,
bytes const &  _init,
u256 const &  _gas = 1000000,
u256 const &  _gasPrice = DefaultGasPrice,
u256 const &  _nonce = Invalid256 
)

Submits a new contract-creation transaction.

Returns
the new contract's address (assuming it all goes through).

Definition at line 40 of file Interface.cpp.

virtual SyncStatus dev::eth::Interface::syncStatus ( ) const
pure virtual

Get some information on the block queue.

Implemented in dev::eth::ClientBase, and dev::eth::Client.

Here is the caller graph for this function:

virtual Transaction dev::eth::Interface::transaction ( h256  _transactionHash) const
pure virtual

Implemented in dev::eth::ClientBase.

virtual Transaction dev::eth::Interface::transaction ( h256  _blockHash,
unsigned  _i 
) const
pure virtual

Implemented in dev::eth::ClientBase.

Transaction dev::eth::Interface::transaction ( BlockNumber  _block,
unsigned  _i 
) const
inline

Definition at line 183 of file Interface.h.

virtual unsigned dev::eth::Interface::transactionCount ( h256  _blockHash) const
pure virtual

Implemented in dev::eth::ClientBase.

unsigned dev::eth::Interface::transactionCount ( BlockNumber  _block) const
inline

Definition at line 184 of file Interface.h.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual TransactionHashes dev::eth::Interface::transactionHashes ( h256  _blockHash) const
pure virtual

Implemented in dev::eth::ClientBase.

TransactionHashes dev::eth::Interface::transactionHashes ( BlockNumber  _block) const
inline

Definition at line 186 of file Interface.h.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual std::pair<h256, unsigned> dev::eth::Interface::transactionLocation ( h256 const &  _transactionHash) const
pure virtual

Implemented in dev::eth::ClientBase.

virtual TransactionReceipt dev::eth::Interface::transactionReceipt ( h256 const &  _transactionHash) const
pure virtual

Implemented in dev::eth::ClientBase.

virtual Transactions dev::eth::Interface::transactions ( h256  _blockHash) const
pure virtual

Implemented in dev::eth::ClientBase.

Transactions dev::eth::Interface::transactions ( BlockNumber  _block) const
inline

Definition at line 185 of file Interface.h.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual BlockHeader dev::eth::Interface::uncle ( h256  _blockHash,
unsigned  _i 
) const
pure virtual

Implemented in dev::eth::ClientBase.

BlockHeader dev::eth::Interface::uncle ( BlockNumber  _block,
unsigned  _i 
) const
inline

Definition at line 187 of file Interface.h.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual unsigned dev::eth::Interface::uncleCount ( h256  _blockHash) const
pure virtual

Implemented in dev::eth::ClientBase.

unsigned dev::eth::Interface::uncleCount ( BlockNumber  _block) const
inline

Definition at line 189 of file Interface.h.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual UncleHashes dev::eth::Interface::uncleHashes ( h256  _blockHash) const
pure virtual

Implemented in dev::eth::ClientBase.

UncleHashes dev::eth::Interface::uncleHashes ( BlockNumber  _block) const
inline

Definition at line 188 of file Interface.h.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual bool dev::eth::Interface::uninstallWatch ( unsigned  _watchId)
pure virtual

Implemented in dev::eth::ClientBase.

Here is the caller graph for this function:

virtual bool dev::eth::Interface::wouldSeal ( ) const
pure virtual

Would we like to be sealing now?

Implemented in dev::eth::ClientBase, and dev::eth::Client.

Member Data Documentation

int dev::eth::Interface::m_default = PendingBlock
protected

Definition at line 244 of file Interface.h.


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