Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | List of all members
dev::EthereumSlave Class Reference

#include <WebThree.h>

Inheritance diagram for dev::EthereumSlave:
[legend]
Collaboration diagram for dev::EthereumSlave:
[legend]

Public Member Functions

 EthereumSlave (RPCSlave *)
 
- Public Member Functions inherited from dev::eth::Interface
 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...
 

Additional Inherited Members

- Protected Attributes inherited from dev::eth::Interface
int m_default = PendingBlock
 

Detailed Description

Definition at line 228 of file WebThree.h.

Constructor & Destructor Documentation

dev::EthereumSlave::EthereumSlave ( RPCSlave )
inline

Definition at line 231 of file WebThree.h.


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