Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrokerAPI ¶
type BrokerAPI interface { HandleTransaction(tx *types.Transaction) error GetTransaction(*types.Hash) (*types.Transaction, error) GetTransactionMeta(*types.Hash) (*types.TransactionMeta, error) GetReceipt(*types.Hash) (*types.Receipt, error) GetBlock(mode string, key string) (*types.Block, error) GetBlocks(start uint64, end uint64) ([]*types.Block, error) GetViewStateLedger() ledger.StateLedger GetEvm(mes *vm.Message, vmConfig *vm.Config) (*vm.EVM, error) GetSystemContract(addr *ethcommon.Address) (common.SystemContract, bool) ConsensusReady() error GetBlockHeaders(start uint64, end uint64) ([]*types.BlockHeader, error) ChainConfig() *params.ChainConfig StateAtTransaction(block *types.Block, txIndex int, reexec uint64) (*vm.Message, vm.BlockContext, *ledger.StateLedger, error) }
type FeedAPI ¶
type FeedAPI interface { SubscribeLogsEvent(chan<- []*types.EvmLog) event.Subscription SubscribeNewTxEvent(chan<- []*types.Transaction) event.Subscription SubscribeNewBlockEvent(chan<- events.ExecutedEvent) event.Subscription BloomStatus() (uint64, uint64) }
type NetworkAPI ¶
Click to show internal directories.
Click to hide internal directories.