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) GetViewStateLedger() ledger.StateLedger GetEvm(mes *vm.Message, vmConfig *vm.Config) (*vm.EVM, error) GetSystemContract(addr *ethcommon.Address) (common.SystemContract, bool) ConsensusReady() error ChainConfig() *params.ChainConfig StateAtTransaction(block *types.Block, txIndex int, reexec uint64) (*vm.Message, vm.BlockContext, *ledger.StateLedger, error) GetBlockWithoutTx(mode string, key string) (*types.Block, error) GetBlockTxHashList(height uint64) ([]*types.Hash, error) GetBlockTxList(height uint64) ([]*types.Transaction, 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.