Fabcoin Core
0.16.2
P2P Digital Currency
|
Namespaces | |
detail | |
jit | |
Classes | |
struct | ABIDeserialiser |
struct | ABIDeserialiser< FixedHash< N > > |
struct | ABIDeserialiser< std::string > |
struct | ABIDeserialiser< string32 > |
struct | ABIDeserialiser< u160 > |
struct | ABIDeserialiser< u256 > |
struct | ABISerialiser |
struct | ABISerialiser< FixedHash< N > > |
struct | ABISerialiser< std::string > |
struct | ABISerialiser< string32 > |
struct | ABISerialiser< u160 > |
struct | ABISerialiser< u256 > |
class | Account |
Models the state of a single Ethereum account. More... | |
class | AccountHolder |
Manages real accounts (where we know the secret key) and proxy accounts (where transactions to be sent from these accounts are forwarded to a proxy on the other side). More... | |
class | AccountMask |
struct | ActivityReport |
class | AddressResolver |
class | BasicAuthority |
class | BasicGasPricer |
class | Block |
Active model of a block within the block chain. More... | |
class | BlockChain |
Implements the blockchain database. More... | |
struct | BlockChainChat |
struct | BlockChainDebug |
struct | BlockChainNote |
class | BlockChainSync |
Base BlockChain synchronization strategy class. More... | |
struct | BlockChainWarn |
struct | BlockChat |
struct | BlockDetail |
struct | BlockDetails |
struct | BlockHash |
class | BlockHeader |
Encapsulation of a block header. More... | |
struct | BlockLogBlooms |
class | BlockQueue |
A queue of blocks. More... | |
struct | BlockQueueChannel |
struct | BlockQueueStatus |
struct | BlockQueueTraceChannel |
struct | BlockReceipts |
struct | BlockSafeExceptions |
struct | BlocksBlooms |
struct | BlockTrace |
struct | CallParameters |
struct | ChainOperationParams |
struct | ChainParams |
class | Client |
Main API hub for interfacing with Ethereum. More... | |
class | ClientBase |
struct | ClientChat |
struct | ClientDetail |
struct | ClientNote |
class | ClientTest |
struct | ClientTrace |
struct | ClientWatch |
class | CodeSizeCache |
Simple thread-safe cache to store a mapping from code hash to code size. More... | |
struct | DAGChannel |
struct | Defaults |
class | EnvInfo |
class | Ethash |
class | EthashAux |
class | EthashClient |
class | EthashCPUMiner |
struct | EthashProofOfWork |
Proof of work definition for Ethash. More... | |
class | EthereumHost |
The EthereumHost class. More... | |
class | EthereumHostDataFace |
struct | EthereumHostTrace |
class | EthereumPeer |
The EthereumPeer class. More... | |
class | EthereumPeerObserverFace |
struct | EVMSchedule |
struct | ExecutionResult |
Description of the result of executing a transaction. More... | |
class | Executive |
Message-call/contract-creation executor; useful for executing transactions. More... | |
struct | ExecutiveWarnChannel |
class | ExtVM |
Externality interface for the Virtual Machine providing access to world state. More... | |
class | ExtVMFace |
Interface and null implementation of the class for specifying VM externalities. More... | |
class | FixedAccountHolder |
struct | GasEstimationProgress |
class | GasPricer |
class | GenericFarm |
A collective of Miners. More... | |
class | GenericFarmFace |
Class for hosting one or more Miners. More... | |
class | GenericMiner |
A miner - a member and adoptee of the Farm. More... | |
class | ICAP |
Encapsulation of an ICAP address. More... | |
struct | ImportRequirements |
struct | ImportRoute |
struct | InstalledFilter |
struct | InstructionInfo |
Information structure for a particular instruction. More... | |
struct | InstructionMetric |
class | Interface |
Main API hub for interfacing with Ethereum. More... | |
class | JitVM |
struct | KeyInfo |
class | KeyManager |
High-level manager of password-encrypted keys for Ethereum. More... | |
struct | LocalisedLogEntry |
class | LocalisedTransaction |
class | LocalisedTransactionReceipt |
struct | LogEntry |
class | LogFilter |
struct | MineInfo |
class | NoProof |
class | owning_bytes_ref |
Reference to a slice of buffer that also owns the buffer. More... | |
class | PasswordUnknown |
struct | PopulationStatistics |
class | PrecompiledContract |
class | PrecompiledRegistrar |
class | SealEngineBase |
class | SealEngineFace |
class | SealEngineRegistrar |
class | Signal |
Super-duper signal mechanism. TODO: replace with somthing a bit heavier weight. More... | |
class | SimpleAccountHolder |
class | SizedBlockMap |
class | SizedBlockQueue |
class | SmartVM |
Smart VM proxy. More... | |
class | StandardTrace |
class | State |
Model of an Ethereum state, essentially a facade for the trie. More... | |
struct | StateChat |
struct | StateDetail |
struct | StateSafeExceptions |
struct | StateTrace |
struct | SubState |
struct | SyncStatus |
class | Transaction |
Encodes a transaction, ready to be exported to or freshly imported from RLP. More... | |
struct | TransactionAddress |
class | TransactionBase |
Encodes a transaction, ready to be exported to or freshly imported from RLP. More... | |
struct | TransactionNotification |
class | TransactionQueue |
A queue of Transactions, each stored as RLP. More... | |
struct | TransactionQueueChannel |
struct | TransactionQueueTraceChannel |
class | TransactionReceipt |
struct | TransactionSkeleton |
class | TrivialGasPricer |
struct | VerifiedBlock |
Verified block info, combines block data and verified info/transactions. More... | |
struct | VerifiedBlockRef |
Verified block info, does not hold block data, but a reference instead. More... | |
class | VersionChecker |
class | VM |
struct | VMException |
class | VMFace |
EVM Virtual Machine interface. More... | |
class | VMFactory |
struct | VMTraceChannel |
class | Watch |
struct | WatchChannel |
struct | WorkChannel |
struct | WorkInChannel |
struct | WorkingProgress |
Describes the progress of a mining operation. More... | |
struct | WorkOutChannel |
Typedefs | |
using | LogBloom = h2048 |
The log bloom's size (2048-bit). More... | |
using | LogBlooms = std::vector< LogBloom > |
Many log blooms. More... | |
using | Nonce = h64 |
using | BlockNumber = unsigned |
template<class... Args> | |
using | Handler = std::shared_ptr< typename Signal< Args... >::HandlerAux > |
using | errinfo_name = boost::error_info< struct tag_field, std::string > |
using | errinfo_field = boost::error_info< struct tag_field, int > |
using | errinfo_data = boost::error_info< struct tag_data, std::string > |
using | errinfo_nonce = boost::error_info< struct tag_nonce, h64 > |
using | errinfo_difficulty = boost::error_info< struct tag_difficulty, u256 > |
using | errinfo_target = boost::error_info< struct tag_target, h256 > |
using | errinfo_seedHash = boost::error_info< struct tag_seedHash, h256 > |
using | errinfo_mixHash = boost::error_info< struct tag_mixHash, h256 > |
using | errinfo_ethashResult = boost::error_info< struct tag_ethashResult, std::tuple< h256, h256 >> |
using | BadFieldError = boost::tuple< errinfo_field, errinfo_data > |
using | PrecompiledExecutor = std::function< std::pair< bool, bytes >(bytesConstRef _in)> |
using | SealEngineFactory = std::function< SealEngineFace *()> |
using | TransactionBases = std::vector< TransactionBase > |
Nice name for vector of Transaction. More... | |
using | AccountMap = std::unordered_map< Address, Account > |
using | AccountMaskMap = std::unordered_map< Address, AccountMask > |
using | PrecompiledContractMap = std::unordered_map< Address, PrecompiledContract > |
using | BlocksHash = std::unordered_map< h256, bytes > |
using | TransactionHashes = h256s |
using | UncleHashes = h256s |
using | ProgressCallback = std::function< void(unsigned, unsigned)> |
using | BlockDetailsHash = std::unordered_map< h256, BlockDetails > |
using | BlockLogBloomsHash = std::unordered_map< h256, BlockLogBlooms > |
using | BlockReceiptsHash = std::unordered_map< h256, BlockReceipts > |
using | TransactionAddressHash = std::unordered_map< h256, TransactionAddress > |
using | BlockHashHash = std::unordered_map< uint64_t, BlockHash > |
using | BlocksBloomsHash = std::unordered_map< h256, BlocksBlooms > |
using | GasEstimationCallback = std::function< void(GasEstimationProgress const &)> |
using | errinfo_uncleIndex = boost::error_info< struct tag_uncleIndex, unsigned > |
using | errinfo_currentNumber = boost::error_info< struct tag_currentNumber, u256 > |
using | errinfo_uncleNumber = boost::error_info< struct tag_uncleNumber, u256 > |
using | errinfo_unclesExcluded = boost::error_info< struct tag_unclesExcluded, h256Hash > |
using | errinfo_block = boost::error_info< struct tag_block, bytes > |
using | errinfo_now = boost::error_info< struct tag_now, unsigned > |
using | errinfo_transactionIndex = boost::error_info< struct tag_transactionIndex, unsigned > |
using | errinfo_vmtrace = boost::error_info< struct tag_vmtrace, std::string > |
using | errinfo_receipts = boost::error_info< struct tag_receipts, std::vector< bytes >> |
using | errinfo_transaction = boost::error_info< struct tag_transaction, bytes > |
using | errinfo_phase = boost::error_info< struct tag_phase, unsigned > |
using | errinfo_required_LogBloom = boost::error_info< struct tag_required_LogBloom, LogBloom > |
using | errinfo_got_LogBloom = boost::error_info< struct tag_get_LogBloom, LogBloom > |
using | LogBloomRequirementError = boost::tuple< errinfo_required_LogBloom, errinfo_got_LogBloom > |
template<class KeyType , class DB > | |
using | SecureTrieDB = SpecificTrieDB< HashedGenericTrieDB< DB >, KeyType > |
using | Transactions = std::vector< Transaction > |
Nice name for vector of Transaction. More... | |
using | TransactionReceipts = std::vector< TransactionReceipt > |
using | VerifiedBlocks = std::vector< VerifiedBlock > |
using | LogEntries = std::vector< LogEntry > |
using | LocalisedLogEntries = std::vector< LocalisedLogEntry > |
using | LastHashes = std::vector< h256 > |
using | OnOpFunc = std::function< void(uint64_t, uint64_t, Instruction, bigint, bigint, bigint, VM *, ExtVMFace const *)> |
Functions | |
DEV_SIMPLE_EXCEPTION (InvalidSealEngine) | |
EthashClient & | asEthashClient (Interface &_c) |
EthashClient * | asEthashClient (Interface *_c) |
std::string const & | genesisInfo (Network _n) |
h256 const & | genesisStateRoot (Network _n) |
string32 | toString32 (std::string const &_s) |
bytes | abiInAux () |
template<class T , class... U> | |
bytes | abiInAux (T const &_t, U const &..._u) |
template<class... T> | |
bytes | abiIn (std::string _id, T const &..._t) |
template<class T > | |
T | abiOut (bytes const &_data) |
template<class T > | |
T | abiOut (bytesConstRef &_data) |
DEV_SIMPLE_EXCEPTION (NoHashRecorded) | |
DEV_SIMPLE_EXCEPTION (GenesisBlockCannotBeCalculated) | |
std::ostream & | operator<< (std::ostream &_out, BlockHeader const &_bi) |
Address | toAddress (std::string const &_s) |
Convert the given string into an address. More... | |
vector< pair< u256, string > > const & | units () |
Get information concerning the currency denominations. More... | |
std::string | formatBalance (bigint const &_b) |
User-friendly string representation of the amount _b in wei. More... | |
void | badBlock (bytesConstRef _block, string const &_err) |
DEV_SIMPLE_EXCEPTION (InvalidAddress) | |
void | badBlock (bytesConstRef _header, std::string const &_err) |
void | badBlock (bytes const &_header, std::string const &_err) |
BlockNumber | jsToBlockNumber (std::string const &_js) |
Convert to a block number, a bit like jsToInt, except that it correctly recognises "pending" and "latest". More... | |
DEV_SIMPLE_EXCEPTION (OutOfGasBase) | |
DEV_SIMPLE_EXCEPTION (OutOfGasIntrinsic) | |
DEV_SIMPLE_EXCEPTION (NotEnoughAvailableSpace) | |
DEV_SIMPLE_EXCEPTION (NotEnoughCash) | |
DEV_SIMPLE_EXCEPTION (GasPriceTooLow) | |
DEV_SIMPLE_EXCEPTION (BlockGasLimitReached) | |
DEV_SIMPLE_EXCEPTION (FeeTooSmall) | |
DEV_SIMPLE_EXCEPTION (TooMuchGasUsed) | |
DEV_SIMPLE_EXCEPTION (ExtraDataTooBig) | |
DEV_SIMPLE_EXCEPTION (ExtraDataIncorrect) | |
DEV_SIMPLE_EXCEPTION (InvalidSignature) | |
DEV_SIMPLE_EXCEPTION (InvalidTransactionFormat) | |
DEV_SIMPLE_EXCEPTION (InvalidBlockFormat) | |
DEV_SIMPLE_EXCEPTION (InvalidUnclesHash) | |
DEV_SIMPLE_EXCEPTION (TooManyUncles) | |
DEV_SIMPLE_EXCEPTION (UncleTooOld) | |
DEV_SIMPLE_EXCEPTION (UncleIsBrother) | |
DEV_SIMPLE_EXCEPTION (UncleInChain) | |
DEV_SIMPLE_EXCEPTION (UncleParentNotInChain) | |
DEV_SIMPLE_EXCEPTION (InvalidStateRoot) | |
DEV_SIMPLE_EXCEPTION (InvalidGasUsed) | |
DEV_SIMPLE_EXCEPTION (InvalidTransactionsRoot) | |
DEV_SIMPLE_EXCEPTION (InvalidDifficulty) | |
DEV_SIMPLE_EXCEPTION (InvalidGasLimit) | |
DEV_SIMPLE_EXCEPTION (InvalidReceiptsStateRoot) | |
DEV_SIMPLE_EXCEPTION (InvalidTimestamp) | |
DEV_SIMPLE_EXCEPTION (InvalidLogBloom) | |
DEV_SIMPLE_EXCEPTION (InvalidNonce) | |
DEV_SIMPLE_EXCEPTION (InvalidBlockHeaderItemCount) | |
DEV_SIMPLE_EXCEPTION (InvalidBlockNonce) | |
DEV_SIMPLE_EXCEPTION (InvalidParentHash) | |
DEV_SIMPLE_EXCEPTION (InvalidUncleParentHash) | |
DEV_SIMPLE_EXCEPTION (InvalidNumber) | |
DEV_SIMPLE_EXCEPTION (BlockNotFound) | |
DEV_SIMPLE_EXCEPTION (UnknownParent) | |
DEV_SIMPLE_EXCEPTION (DatabaseAlreadyOpen) | |
DEV_SIMPLE_EXCEPTION (DAGCreationFailure) | |
DEV_SIMPLE_EXCEPTION (DAGComputeFailure) | |
DEV_SIMPLE_EXCEPTION (InvalidICAP) | |
DEV_SIMPLE_EXCEPTION (ExecutorNotFound) | |
std::ostream & | operator<< (std::ostream &_out, TransactionBase const &_t) |
Simple human-readable stream-shift operator. More... | |
AccountMap | jsonToAccountMap (std::string const &_json, u256 const &_defaultNonce=0, AccountMaskMap *o_mask=nullptr, PrecompiledContractMap *o_precompiled=nullptr) |
DEV_SIMPLE_EXCEPTION (ChainOperationWithUnknownBlockChain) | |
DEV_SIMPLE_EXCEPTION (InvalidOperationOnSealedBlock) | |
std::ostream & | operator<< (std::ostream &_out, Block const &_s) |
DEV_SIMPLE_EXCEPTION (AlreadyHaveBlock) | |
DEV_SIMPLE_EXCEPTION (FutureTime) | |
DEV_SIMPLE_EXCEPTION (TransientError) | |
std::unordered_map< Address, Account > const & | genesisState () |
ldb::Slice | toSlice (h256 const &_h, unsigned _sub=0) |
ldb::Slice | toSlice (uint64_t _n, unsigned _sub=0) |
std::ostream & | operator<< (std::ostream &_out, BlockChain const &_bc) |
std::ostream & | operator<< (std::ostream &_out, SyncStatus const &_sync) |
std::ostream & | operator<< (std::ostream &os, QueueStatus const &obj) |
std::ostream & | operator<< (std::ostream &_out, BlockQueueStatus const &_s) |
std::ostream & | operator<< (std::ostream &_out, ActivityReport const &_r) |
DEV_SIMPLE_EXCEPTION (ChainParamsInvalid) | |
DEV_SIMPLE_EXCEPTION (ChainParamsNotNoProof) | |
ClientTest & | asClientTest (Interface &_c) |
ClientTest * | asClientTest (Interface *_c) |
std::ostream & | operator<< (std::ostream &_out, WorkingProgress _p) |
dev::Addresses | childDaos () |
std::ostream & | operator<< (std::ostream &_out, dev::eth::LogFilter const &_s) |
Simple stream output for the StateDiff. More... | |
DEV_SIMPLE_EXCEPTION (InvalidAccountStartNonceInState) | |
DEV_SIMPLE_EXCEPTION (IncorrectAccountStartNonceInState) | |
std::ostream & | operator<< (std::ostream &_out, State const &_s) |
template<class DB > | |
AddressHash | commit (AccountMap const &_cache, SecureTrieDB< Address, DB > &_state) |
TransactionException | toTransactionException (Exception const &_e) |
std::ostream & | operator<< (std::ostream &_out, TransactionException const &_er) |
std::ostream & | operator<< (std::ostream &_out, ExecutionResult const &_er) |
std::ostream & | operator<< (std::ostream &_out, eth::TransactionReceipt const &_r) |
LogBloom | bloom (LogEntries const &_logs) |
Address | asAddress (u256 _item) |
u256 | fromAddress (Address _a) |
ETH_SIMPLE_EXCEPTION_VM (BadInstruction) | |
ETH_SIMPLE_EXCEPTION_VM (BadJumpDestination) | |
ETH_SIMPLE_EXCEPTION_VM (OutOfGas) | |
ETH_SIMPLE_EXCEPTION_VM (OutOfStack) | |
ETH_SIMPLE_EXCEPTION_VM (StackUnderflow) | |
ETH_SIMPLE_EXCEPTION_VM (CreateWithValue) | |
DEV_SIMPLE_EXCEPTION (InvalidDeposit) | |
DEV_SIMPLE_EXCEPTION (InvalidOpcode) | |
unsigned | getPushNumber (Instruction _inst) |
unsigned | getDupNumber (Instruction _inst) |
unsigned | getSwapNumber (Instruction _inst) |
Instruction | pushInstruction (unsigned _number) |
Instruction | dupInstruction (unsigned _number) |
Instruction | swapInstruction (unsigned _number) |
Instruction | logInstruction (unsigned _number) |
InstructionInfo | instructionInfo (Instruction _inst) |
Information on all the instructions. More... | |
bool | isValidInstruction (Instruction _inst) |
check whether instructions exists More... | |
void | eachInstruction (bytes const &_mem, std::function< void(Instruction, u256 const &)> const &_onInstruction) |
Iterate through EVM code and call a function on each instruction. More... | |
std::string | disassemble (bytes const &_mem) |
Convert from EVM code to simple EVM assembly language. More... | |
Json::Value | toJson (dev::eth::BlockHeader const &_bi, SealEngineFace *_sealer) |
Json::Value | toJson (dev::eth::Transaction const &_t, std::pair< h256, unsigned > _location, BlockNumber _blockNumber) |
Json::Value | toJson (dev::eth::BlockHeader const &_bi, BlockDetails const &_bd, UncleHashes const &_us, Transactions const &_ts, SealEngineFace *_face) |
Json::Value | toJson (dev::eth::BlockHeader const &_bi, BlockDetails const &_bd, UncleHashes const &_us, TransactionHashes const &_ts, SealEngineFace *_face) |
Json::Value | toJson (dev::eth::TransactionSkeleton const &_t) |
Json::Value | toJson (dev::eth::TransactionReceipt const &_t) |
Json::Value | toJson (dev::eth::LocalisedTransactionReceipt const &_t) |
Json::Value | toJson (dev::eth::Transaction const &_t) |
Json::Value | toJson (dev::eth::LocalisedTransaction const &_t) |
Json::Value | toJson (dev::eth::LocalisedLogEntry const &_e) |
Json::Value | toJson (dev::eth::LogEntry const &_e) |
Json::Value | toJson (std::unordered_map< h256, dev::eth::LocalisedLogEntries > const &_entriesByBlock, vector< h256 > const &_order) |
Json::Value | toJsonByBlock (LocalisedLogEntries const &_entries) |
TransactionSkeleton | toTransactionSkeleton (Json::Value const &_json) |
dev::eth::LogFilter | toLogFilter (Json::Value const &_json) |
dev::eth::LogFilter | toLogFilter (Json::Value const &_json, Interface const &_client) |
Json::Value | toJson (std::unordered_map< h256, LocalisedLogEntries > const &_entriesByBlock) |
void | mine (Client &c, int numBlocks) |
void | connectClients (Client &c1, Client &c2) |
void | mine (Block &s, BlockChain const &_bc, SealEngineFace *_sealer) |
void | mine (BlockHeader &_bi, SealEngineFace *_sealer, bool _verify) |
Variables | |
const unsigned | c_protocolVersion = 63 |
Current protocol version. More... | |
const unsigned | c_minorProtocolVersion = 2 |
Current minor protocol version. More... | |
const unsigned | c_databaseBaseVersion = 9 |
const unsigned | c_databaseVersionModifier = 0 |
const unsigned | c_databaseVersion = c_databaseBaseVersion + (c_databaseVersionModifier << 8) + (23 << 9) |
Current database version. More... | |
std::string const | c_genesisInfoTestBasicAuthority |
const std::map< std::string, Instruction > | c_instructions |
Convert from string mnemonic to Instruction type. More... | |
using dev::eth::AccountMap = typedef std::unordered_map<Address, Account> |
using dev::eth::AccountMaskMap = typedef std::unordered_map<Address, AccountMask> |
using dev::eth::BadFieldError = typedef boost::tuple<errinfo_field, errinfo_data> |
Definition at line 42 of file Exceptions.h.
using dev::eth::BlockDetailsHash = typedef std::unordered_map<h256, BlockDetails> |
Definition at line 114 of file BlockDetails.h.
using dev::eth::BlockHashHash = typedef std::unordered_map<uint64_t, BlockHash> |
Definition at line 118 of file BlockDetails.h.
using dev::eth::BlockLogBloomsHash = typedef std::unordered_map<h256, BlockLogBlooms> |
Definition at line 115 of file BlockDetails.h.
using dev::eth::BlockNumber = typedef unsigned |
using dev::eth::BlockReceiptsHash = typedef std::unordered_map<h256, BlockReceipts> |
Definition at line 116 of file BlockDetails.h.
using dev::eth::BlocksBloomsHash = typedef std::unordered_map<h256, BlocksBlooms> |
Definition at line 119 of file BlockDetails.h.
using dev::eth::BlocksHash = typedef std::unordered_map<h256, bytes> |
Definition at line 80 of file BlockChain.h.
using dev::eth::errinfo_block = typedef boost::error_info<struct tag_block, bytes> |
using dev::eth::errinfo_currentNumber = typedef boost::error_info<struct tag_currentNumber, u256> |
using dev::eth::errinfo_data = typedef boost::error_info<struct tag_data, std::string> |
Definition at line 35 of file Exceptions.h.
using dev::eth::errinfo_difficulty = typedef boost::error_info<struct tag_difficulty, u256> |
Definition at line 37 of file Exceptions.h.
using dev::eth::errinfo_ethashResult = typedef boost::error_info<struct tag_ethashResult, std::tuple<h256, h256>> |
Definition at line 41 of file Exceptions.h.
using dev::eth::errinfo_field = typedef boost::error_info<struct tag_field, int> |
Definition at line 34 of file Exceptions.h.
using dev::eth::errinfo_got_LogBloom = typedef boost::error_info<struct tag_get_LogBloom, LogBloom> |
using dev::eth::errinfo_mixHash = typedef boost::error_info<struct tag_mixHash, h256> |
Definition at line 40 of file Exceptions.h.
using dev::eth::errinfo_name = typedef boost::error_info<struct tag_field, std::string> |
Definition at line 33 of file Exceptions.h.
using dev::eth::errinfo_nonce = typedef boost::error_info<struct tag_nonce, h64> |
Definition at line 36 of file Exceptions.h.
using dev::eth::errinfo_now = typedef boost::error_info<struct tag_now, unsigned> |
using dev::eth::errinfo_phase = typedef boost::error_info<struct tag_phase, unsigned> |
using dev::eth::errinfo_receipts = typedef boost::error_info<struct tag_receipts, std::vector<bytes>> |
using dev::eth::errinfo_required_LogBloom = typedef boost::error_info<struct tag_required_LogBloom, LogBloom> |
using dev::eth::errinfo_seedHash = typedef boost::error_info<struct tag_seedHash, h256> |
Definition at line 39 of file Exceptions.h.
using dev::eth::errinfo_target = typedef boost::error_info<struct tag_target, h256> |
Definition at line 38 of file Exceptions.h.
using dev::eth::errinfo_transaction = typedef boost::error_info<struct tag_transaction, bytes> |
using dev::eth::errinfo_transactionIndex = typedef boost::error_info<struct tag_transactionIndex, unsigned> |
using dev::eth::errinfo_uncleIndex = typedef boost::error_info<struct tag_uncleIndex, unsigned> |
using dev::eth::errinfo_uncleNumber = typedef boost::error_info<struct tag_uncleNumber, u256> |
using dev::eth::errinfo_unclesExcluded = typedef boost::error_info<struct tag_unclesExcluded, h256Hash> |
using dev::eth::errinfo_vmtrace = typedef boost::error_info<struct tag_vmtrace, std::string> |
using dev::eth::GasEstimationCallback = typedef std::function<void(GasEstimationProgress const&)> |
Definition at line 62 of file Interface.h.
using dev::eth::Handler = typedef std::shared_ptr<typename Signal<Args...>::HandlerAux> |
using dev::eth::LastHashes = typedef std::vector<h256> |
Definition at line 191 of file ExtVMFace.h.
using dev::eth::LocalisedLogEntries = typedef std::vector<LocalisedLogEntry> |
Definition at line 156 of file ExtVMFace.h.
using dev::eth::LogBloom = typedef h2048 |
using dev::eth::LogBloomRequirementError = typedef boost::tuple<errinfo_required_LogBloom, errinfo_got_LogBloom> |
using dev::eth::LogBlooms = typedef std::vector<LogBloom> |
using dev::eth::LogEntries = typedef std::vector<LogEntry> |
Definition at line 110 of file ExtVMFace.h.
using dev::eth::Nonce = typedef h64 |
using dev::eth::OnOpFunc = typedef std::function<void(uint64_t , uint64_t , Instruction , bigint , bigint , bigint , VM*, ExtVMFace const*)> |
Definition at line 193 of file ExtVMFace.h.
using dev::eth::PrecompiledContractMap = typedef std::unordered_map<Address, PrecompiledContract> |
using dev::eth::PrecompiledExecutor = typedef std::function<std::pair<bool, bytes>(bytesConstRef _in)> |
Definition at line 34 of file Precompiled.h.
using dev::eth::ProgressCallback = typedef std::function<void(unsigned, unsigned)> |
Definition at line 93 of file BlockChain.h.
using dev::eth::SealEngineFactory = typedef std::function<SealEngineFace*()> |
Definition at line 128 of file SealEngine.h.
using dev::eth::SecureTrieDB = typedef SpecificTrieDB<HashedGenericTrieDB<DB>, KeyType> |
using dev::eth::TransactionAddressHash = typedef std::unordered_map<h256, TransactionAddress> |
Definition at line 117 of file BlockDetails.h.
using dev::eth::TransactionBases = typedef std::vector<TransactionBase> |
Nice name for vector of Transaction.
Definition at line 177 of file Transaction.h.
typedef h256s dev::eth::TransactionHashes |
Definition at line 81 of file BlockChain.h.
using dev::eth::TransactionReceipts = typedef std::vector<TransactionReceipt> |
Definition at line 57 of file TransactionReceipt.h.
typedef std::vector< Transaction > dev::eth::Transactions |
Nice name for vector of Transaction.
Definition at line 121 of file Transaction.h.
typedef h256s dev::eth::UncleHashes |
Definition at line 82 of file BlockChain.h.
using dev::eth::VerifiedBlocks = typedef std::vector<VerifiedBlock> |
Definition at line 76 of file VerifiedBlock.h.
anonymous enum |
Enumerator | |
---|---|
ExtraDetails | |
ExtraBlockHash | |
ExtraTransactionAddress | |
ExtraLogBlooms | |
ExtraReceipts | |
ExtraBlocksBlooms |
Definition at line 84 of file BlockChain.h.
|
strong |
Enumerator | |
---|---|
State | |
BlockHeaders | |
BlockBodies | |
NodeData | |
Receipts | |
Nothing |
Definition at line 79 of file CommonNet.h.
|
strong |
Enumerator | |
---|---|
HeaderData | |
BlockData |
Definition at line 66 of file BlockHeader.h.
|
strong |
Enumerator | |
---|---|
Unknown | |
Dead | |
Live |
Definition at line 81 of file ExtVMFace.h.
|
strong |
Enumerator | |
---|---|
None | |
Cheap | |
Everything |
Definition at line 42 of file Transaction.h.
|
strong |
Enumerator | |
---|---|
None | |
Failed | |
Success |
Definition at line 56 of file Transaction.h.
|
strong |
Enumerator | |
---|---|
Strict | |
Lenient |
Definition at line 50 of file Interface.h.
|
strong |
|
strong |
Enumerator | |
---|---|
WithoutSeal | |
WithSeal | |
OnlySeal |
Definition at line 37 of file BlockHeader.h.
Named-boolean type to encode whether a signature be included in the serialisation process.
Enumerator | |
---|---|
WithoutSignature |
Do not include a signature. |
WithSignature |
Do include a signature. |
Definition at line 36 of file Transaction.h.
|
strong |
Virtual machine bytecode instruction.
Definition at line 39 of file Instruction.h.
|
strong |
The network id.
Definition at line 34 of file GenesisInfo.h.
|
strong |
|
strong |
Enumerator | |
---|---|
Ready | |
Importing | |
UnknownParent | |
Bad | |
Unknown |
Definition at line 59 of file BlockQueue.h.
|
strong |
Enumerator | |
---|---|
Automatic | |
Manual |
Definition at line 44 of file Interface.h.
|
strong |
|
strong |
Enumerator | |
---|---|
Existing | |
Master |
Definition at line 53 of file KeyManager.h.
enum dev::eth::Strictness |
Enumerator | |
---|---|
CheckEverything | |
JustSeal | |
QuickNonce | |
IgnoreSeal | |
CheckNothingNew |
Definition at line 44 of file BlockHeader.h.
Definition at line 60 of file CommonNet.h.
|
strong |
Enumerator | |
---|---|
NotSynced |
Initial chain sync has not started yet. |
Idle |
Initial chain sync complete. Waiting for new packets. |
Waiting |
Block downloading paused. Waiting for block queue to process blocks and free space. |
Blocks |
Downloading blocks. |
State |
Downloading state. |
NewBlocks |
Downloading blocks learned from NewHashes packet. |
Size |
Must be kept last. |
Definition at line 89 of file CommonNet.h.
|
strong |
Enumerator | |
---|---|
Zero | |
Base | |
VeryLow | |
Low | |
Mid | |
High | |
Ext | |
Special | |
Invalid |
Definition at line 244 of file Instruction.h.
|
strong |
Definition at line 35 of file Transaction.h.
|
strong |
Enumerator | |
---|---|
Lowest | |
Low | |
Medium | |
High | |
Highest |
Definition at line 34 of file GasPricer.h.
|
strong |
Enumerator | |
---|---|
Unknown | |
UnknownAccount | |
Locked | |
Refused | |
ProxySuccess | |
Success |
Definition at line 43 of file AccountHolder.h.
|
strong |
Enumerator | |
---|---|
Interpreter | |
JIT | |
Smart |
Definition at line 26 of file VMFactory.h.
T dev::eth::abiOut | ( | bytesConstRef & | _data | ) |
ClientTest & dev::eth::asClientTest | ( | Interface & | _c | ) |
ClientTest * dev::eth::asClientTest | ( | Interface * | _c | ) |
Definition at line 35 of file ClientTest.cpp.
EthashClient & dev::eth::asEthashClient | ( | Interface & | _c | ) |
Definition at line 29 of file EthashClient.cpp.
EthashClient * dev::eth::asEthashClient | ( | Interface * | _c | ) |
void dev::eth::badBlock | ( | bytesConstRef | _block, |
string const & | _err | ||
) |
void dev::eth::badBlock | ( | bytesConstRef | _header, |
std::string const & | _err | ||
) |
|
inline |
|
inline |
dev::Addresses dev::eth::childDaos | ( | ) |
Definition at line 304 of file GenesisInfo.cpp.
AddressHash dev::eth::commit | ( | AccountMap const & | _cache, |
SecureTrieDB< Address, DB > & | _state | ||
) |
Definition at line 49 of file TestHelper.cpp.
dev::eth::DEV_SIMPLE_EXCEPTION | ( | InvalidDeposit | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | ChainParamsInvalid | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | InvalidOpcode | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | ChainParamsNotNoProof | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | InvalidSealEngine | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | ExecutorNotFound | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | InvalidICAP | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | OutOfGasBase | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | OutOfGasIntrinsic | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | NotEnoughAvailableSpace | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | NotEnoughCash | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | GasPriceTooLow | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | InvalidAddress | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | BlockGasLimitReached | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | FeeTooSmall | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | TooMuchGasUsed | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | ExtraDataTooBig | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | ExtraDataIncorrect | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | InvalidSignature | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | InvalidTransactionFormat | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | InvalidBlockFormat | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | InvalidUnclesHash | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | TooManyUncles | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | UncleTooOld | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | UncleIsBrother | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | UncleInChain | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | UncleParentNotInChain | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | InvalidStateRoot | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | InvalidGasUsed | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | ChainOperationWithUnknownBlockChain | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | AlreadyHaveBlock | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | InvalidTransactionsRoot | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | InvalidOperationOnSealedBlock | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | FutureTime | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | InvalidDifficulty | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | TransientError | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | InvalidGasLimit | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | InvalidReceiptsStateRoot | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | InvalidTimestamp | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | InvalidLogBloom | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | InvalidNonce | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | NoHashRecorded | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | InvalidBlockHeaderItemCount | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | GenesisBlockCannotBeCalculated | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | InvalidBlockNonce | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | InvalidParentHash | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | InvalidUncleParentHash | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | InvalidNumber | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | BlockNotFound | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | UnknownParent | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | DatabaseAlreadyOpen | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | DAGCreationFailure | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | DAGComputeFailure | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | InvalidAccountStartNonceInState | ) |
dev::eth::DEV_SIMPLE_EXCEPTION | ( | IncorrectAccountStartNonceInState | ) |
string dev::eth::disassemble | ( | bytes const & | _mem | ) |
Convert from EVM code to simple EVM assembly language.
Definition at line 350 of file Instruction.cpp.
|
inline |
Definition at line 224 of file Instruction.h.
void dev::eth::eachInstruction | ( | bytes const & | _mem, |
std::function< void(Instruction, u256 const &)> const & | _onInstruction | ||
) |
Iterate through EVM code and call a function on each instruction.
dev::eth::ETH_SIMPLE_EXCEPTION_VM | ( | BadInstruction | ) |
dev::eth::ETH_SIMPLE_EXCEPTION_VM | ( | BadJumpDestination | ) |
dev::eth::ETH_SIMPLE_EXCEPTION_VM | ( | OutOfGas | ) |
dev::eth::ETH_SIMPLE_EXCEPTION_VM | ( | OutOfStack | ) |
dev::eth::ETH_SIMPLE_EXCEPTION_VM | ( | StackUnderflow | ) |
dev::eth::ETH_SIMPLE_EXCEPTION_VM | ( | CreateWithValue | ) |
std::string dev::eth::formatBalance | ( | bigint const & | _b | ) |
User-friendly string representation of the amount _b in wei.
Definition at line 102 of file Common.cpp.
std::string const & dev::eth::genesisInfo | ( | Network | _n | ) |
|
inline |
Definition at line 205 of file Instruction.h.
|
inline |
Definition at line 199 of file Instruction.h.
|
inline |
Definition at line 211 of file Instruction.h.
InstructionInfo dev::eth::instructionInfo | ( | Instruction | _inst | ) |
Information on all the instructions.
Definition at line 367 of file Instruction.cpp.
bool dev::eth::isValidInstruction | ( | Instruction | _inst | ) |
check whether instructions exists
Definition at line 375 of file Instruction.cpp.
AccountMap dev::eth::jsonToAccountMap | ( | std::string const & | _json, |
u256 const & | _defaultNonce = 0 , |
||
AccountMaskMap * | o_mask = nullptr , |
||
PrecompiledContractMap * | o_precompiled = nullptr |
||
) |
Definition at line 50 of file Account.cpp.
BlockNumber dev::eth::jsToBlockNumber | ( | std::string const & | _js | ) |
Convert to a block number, a bit like jsToInt, except that it correctly recognises "pending" and "latest".
Definition at line 62 of file CommonJS.cpp.
|
inline |
Definition at line 238 of file Instruction.h.
void dev::eth::mine | ( | Client & | c, |
int | numBlocks | ||
) |
Definition at line 39 of file TestHelper.cpp.
void dev::eth::mine | ( | Block & | s, |
BlockChain const & | _bc, | ||
SealEngineFace * | _sealer | ||
) |
void dev::eth::mine | ( | BlockHeader & | _bi, |
SealEngineFace * | _sealer, | ||
bool | _verify | ||
) |
|
inline |
std::ostream & dev::eth::operator<< | ( | std::ostream & | _out, |
dev::eth::LogFilter const & | _s | ||
) |
Simple stream output for the StateDiff.
Definition at line 30 of file LogFilter.cpp.
std::ostream & dev::eth::operator<< | ( | std::ostream & | _out, |
eth::TransactionReceipt const & | _r | ||
) |
std::ostream & dev::eth::operator<< | ( | std::ostream & | _out, |
TransactionException const & | _er | ||
) |
Definition at line 76 of file Transaction.cpp.
std::ostream & dev::eth::operator<< | ( | std::ostream & | os, |
QueueStatus const & | obj | ||
) |
Definition at line 545 of file BlockQueue.cpp.
std::ostream & dev::eth::operator<< | ( | std::ostream & | _out, |
ActivityReport const & | _r | ||
) |
std::ostream & dev::eth::operator<< | ( | std::ostream & | _out, |
ExecutionResult const & | _er | ||
) |
std::ostream & dev::eth::operator<< | ( | std::ostream & | _out, |
SyncStatus const & | _sync | ||
) |
|
inline |
Simple human-readable stream-shift operator.
Definition at line 180 of file Transaction.h.
|
inline |
Definition at line 194 of file BlockHeader.h.
std::ostream & dev::eth::operator<< | ( | std::ostream & | _out, |
BlockQueueStatus const & | _s | ||
) |
Definition at line 516 of file BlockQueue.cpp.
std::ostream & dev::eth::operator<< | ( | std::ostream & | _out, |
Block const & | _s | ||
) |
std::ostream & dev::eth::operator<< | ( | std::ostream & | _out, |
State const & | _s | ||
) |
std::ostream & dev::eth::operator<< | ( | std::ostream & | _out, |
BlockChain const & | _bc | ||
) |
|
inline |
Definition at line 217 of file Instruction.h.
|
inline |
Definition at line 231 of file Instruction.h.
Address dev::eth::toAddress | ( | std::string const & | _s | ) |
Convert the given string into an address.
Definition at line 56 of file Common.cpp.
Json::Value dev::eth::toJson | ( | std::unordered_map< h256, LocalisedLogEntries > const & | _entriesByBlock | ) |
Json::Value dev::eth::toJson | ( | dev::eth::BlockHeader const & | _bi, |
SealEngineFace * | _sealer | ||
) |
Json::Value dev::eth::toJson | ( | dev::eth::Transaction const & | _t, |
std::pair< h256, unsigned > | _location, | ||
BlockNumber | _blockNumber | ||
) |
Json::Value dev::eth::toJson | ( | dev::eth::BlockHeader const & | _bi, |
BlockDetails const & | _bd, | ||
UncleHashes const & | _us, | ||
Transactions const & | _ts, | ||
SealEngineFace * | _face | ||
) |
Json::Value dev::eth::toJson | ( | dev::eth::BlockHeader const & | _bi, |
BlockDetails const & | _bd, | ||
UncleHashes const & | _us, | ||
TransactionHashes const & | _ts, | ||
SealEngineFace * | _face | ||
) |
Json::Value dev::eth::toJson | ( | dev::eth::TransactionSkeleton const & | _t | ) |
Json::Value dev::eth::toJson | ( | dev::eth::TransactionReceipt const & | _t | ) |
Json::Value dev::eth::toJson | ( | dev::eth::LocalisedTransactionReceipt const & | _t | ) |
Json::Value dev::eth::toJson | ( | dev::eth::Transaction const & | _t | ) |
Json::Value dev::eth::toJson | ( | dev::eth::LocalisedTransaction const & | _t | ) |
Json::Value dev::eth::toJson | ( | dev::eth::LocalisedLogEntry const & | _e | ) |
Json::Value dev::eth::toJson | ( | dev::eth::LogEntry const & | _e | ) |
Json::Value dev::eth::toJson | ( | std::unordered_map< h256, dev::eth::LocalisedLogEntries > const & | _entriesByBlock, |
vector< h256 > const & | _order | ||
) |
Json::Value dev::eth::toJsonByBlock | ( | LocalisedLogEntries const & | _entries | ) |
Definition at line 332 of file JsonHelper.cpp.
LogFilter dev::eth::toLogFilter | ( | Json::Value const & | _json | ) |
Definition at line 387 of file JsonHelper.cpp.
ldb::Slice dev::eth::toSlice | ( | h256 const & | _h, |
unsigned | _sub = 0 |
||
) |
Definition at line 82 of file BlockChain.cpp.
ldb::Slice dev::eth::toSlice | ( | uint64_t | _n, |
unsigned | _sub = 0 |
||
) |
Definition at line 98 of file BlockChain.cpp.
|
inline |
TransactionException dev::eth::toTransactionException | ( | Exception const & | _e | ) |
TransactionSkeleton dev::eth::toTransactionSkeleton | ( | Json::Value const & | _json | ) |
Definition at line 354 of file JsonHelper.cpp.
std::vector< std::pair< u256, std::string > > const & dev::eth::units | ( | ) |
Get information concerning the currency denominations.
Definition at line 74 of file Common.cpp.
const unsigned dev::eth::c_databaseBaseVersion = 9 |
Definition at line 50 of file Common.cpp.
const unsigned dev::eth::c_databaseVersion = c_databaseBaseVersion + (c_databaseVersionModifier << 8) + (23 << 9) |
Current database version.
Definition at line 54 of file Common.cpp.
const unsigned dev::eth::c_databaseVersionModifier = 0 |
Definition at line 51 of file Common.cpp.
std::string const dev::eth::c_genesisInfoTestBasicAuthority |
Definition at line 29 of file GenesisInfo.cpp.
const std::map< std::string, Instruction > dev::eth::c_instructions |
Convert from string mnemonic to Instruction type.
Definition at line 32 of file Instruction.cpp.
const unsigned dev::eth::c_minorProtocolVersion = 2 |
Current minor protocol version.
Definition at line 49 of file Common.cpp.
const unsigned dev::eth::c_protocolVersion = 63 |