Versions in this module Expand all Collapse all v1 v1.0.0 Jun 26, 2019 Changes in this version + const BlockBodiesFetchRequestMsg + const BlockBodiesFetchResponseMsg + const BlockBodiesMsg + const BlockBodiesRequestMsg + const BlockChannel + const BlockHeaderFetchRequestMsg + const BlockHeaderFetchResponseMsg + const BlockHeadersMsg + const BlockHeadersRequestMsg + const ConsensusChannel + const DefaultMaxResendTxCount + const DefaultTxResendInterval + const ErrChainIDMismatch + const ErrDecode + const ErrExtraStatusMsg + const ErrFailedToGetStateDB + const ErrGenesisBlockMismatch + const ErrInvalidMsgCode + const ErrMsgTooLarge + const ErrNetworkIdMismatch + const ErrNoStatusMsg + const ErrProtocolVersionMismatch + const ErrSuspendedPeer + const ErrUnexpectedTxType + const MaxChannel + const MiscChannel + const NewBlockHashesMsg + const NewBlockMsg + const NodeDataMsg + const NodeDataRequestMsg + const ProtocolMaxMsgSize + const ReceiptsMsg + const ReceiptsRequestMsg + const StatusMsg + const TxChannel + const TxMsg + var ChannelOfMessage = map[uint64]int + var ConcurrentOfChannel = []int + var DefaultConfig = Config + var ProtocolLengths = []uint64 + var ProtocolName = "klay" + var ProtocolVersions = []uint + func CreateCliqueEngine(ctx *node.ServiceContext, config *Config, chainConfig *params.ChainConfig, ...) consensus.Engine + func CreateConsensusEngine(ctx *node.ServiceContext, config *Config, chainConfig *params.ChainConfig, ...) consensus.Engine + func CreateDB(ctx *node.ServiceContext, config *Config, name string) database.DBManager + func NewBloomIndexer(db database.DBManager, size uint64) *blockchain.ChainIndexer + type BloomIndexer struct + func (b *BloomIndexer) Commit() error + func (b *BloomIndexer) Process(header *types.Header) + func (b *BloomIndexer) Reset(section uint64, lastSectionHead common.Hash) error + type ByPassValidator struct + func (v ByPassValidator) ValidatePeerType(addr common.Address) error + type CN struct + APIBackend *CNAPIBackend + func New(ctx *node.ServiceContext, config *Config) (*CN, error) + func (s *CN) APIs() []rpc.API + func (s *CN) AccountManager() *accounts.Manager + func (s *CN) AddLesServer(ls LesServer) + func (s *CN) BlockChain() *blockchain.BlockChain + func (s *CN) ChainDB() database.DBManager + func (s *CN) Components() []interface{} + func (s *CN) Downloader() *downloader.Downloader + func (s *CN) Engine() consensus.Engine + func (s *CN) EventMux() *event.TypeMux + func (s *CN) IsListening() bool + func (s *CN) IsMining() bool + func (s *CN) Miner() *work.Miner + func (s *CN) NetVersion() uint64 + func (s *CN) ProtocolVersion() int + func (s *CN) Protocols() []p2p.Protocol + func (s *CN) ReBroadcastTxs(transactions types.Transactions) + func (s *CN) ResetWithGenesisBlock(gb *types.Block) + func (s *CN) Rewardbase() (eb common.Address, err error) + func (s *CN) RewardbaseWallet() (accounts.Wallet, error) + func (s *CN) SetComponents(component []interface{}) + func (s *CN) SetRewardbase(rewardbase common.Address) + func (s *CN) Start(srvr p2p.Server) error + func (s *CN) StartMining(local bool) error + func (s *CN) Stop() error + func (s *CN) StopMining() + func (s *CN) TxPool() *blockchain.TxPool + type CNAPIBackend struct + func (b *CNAPIBackend) AccountManager() *accounts.Manager + func (b *CNAPIBackend) BlockByNumber(ctx context.Context, blockNr rpc.BlockNumber) (*types.Block, error) + func (b *CNAPIBackend) BloomStatus() (uint64, uint64) + func (b *CNAPIBackend) ChainConfig() *params.ChainConfig + func (b *CNAPIBackend) ChainDB() database.DBManager + func (b *CNAPIBackend) CurrentBlock() *types.Block + func (b *CNAPIBackend) Downloader() *downloader.Downloader + func (b *CNAPIBackend) EventMux() *event.TypeMux + func (b *CNAPIBackend) GetBlock(ctx context.Context, hash common.Hash) (*types.Block, error) + func (b *CNAPIBackend) GetBlockReceipts(ctx context.Context, hash common.Hash) types.Receipts + func (b *CNAPIBackend) GetBlockReceiptsInCache(blockHash common.Hash) types.Receipts + func (b *CNAPIBackend) GetEVM(ctx context.Context, msg blockchain.Message, state *state.StateDB, ...) (*vm.EVM, func() error, error) + func (b *CNAPIBackend) GetLogs(ctx context.Context, hash common.Hash) ([][]*types.Log, error) + func (b *CNAPIBackend) GetNonceInCache(addr common.Address) (uint64, bool) + func (b *CNAPIBackend) GetPoolNonce(ctx context.Context, addr common.Address) uint64 + func (b *CNAPIBackend) GetPoolTransaction(hash common.Hash) *types.Transaction + func (b *CNAPIBackend) GetPoolTransactions() (types.Transactions, error) + func (b *CNAPIBackend) GetTd(blockHash common.Hash) *big.Int + func (b *CNAPIBackend) GetTxAndLookupInfo(hash common.Hash) (*types.Transaction, common.Hash, uint64, uint64) + func (b *CNAPIBackend) GetTxAndLookupInfoInCache(txHash common.Hash) (*types.Transaction, common.Hash, uint64, uint64) + func (b *CNAPIBackend) GetTxLookupInfoAndReceipt(ctx context.Context, txHash common.Hash) (*types.Transaction, common.Hash, uint64, uint64, *types.Receipt) + func (b *CNAPIBackend) GetTxLookupInfoAndReceiptInCache(txHash common.Hash) (*types.Transaction, common.Hash, uint64, uint64, *types.Receipt) + func (b *CNAPIBackend) HeaderByNumber(ctx context.Context, blockNr rpc.BlockNumber) (*types.Header, error) + func (b *CNAPIBackend) IsParallelDBWrite() bool + func (b *CNAPIBackend) IsSenderTxHashIndexingEnabled() bool + func (b *CNAPIBackend) ProtocolVersion() int + func (b *CNAPIBackend) SendTx(ctx context.Context, signedTx *types.Transaction) error + func (b *CNAPIBackend) ServiceFilter(ctx context.Context, session *bloombits.MatcherSession) + func (b *CNAPIBackend) SetHead(number uint64) + func (b *CNAPIBackend) StateAndHeaderByNumber(ctx context.Context, blockNr rpc.BlockNumber) (*state.StateDB, *types.Header, error) + func (b *CNAPIBackend) Stats() (pending int, queued int) + func (b *CNAPIBackend) SubscribeChainEvent(ch chan<- blockchain.ChainEvent) event.Subscription + func (b *CNAPIBackend) SubscribeChainHeadEvent(ch chan<- blockchain.ChainHeadEvent) event.Subscription + func (b *CNAPIBackend) SubscribeChainSideEvent(ch chan<- blockchain.ChainSideEvent) event.Subscription + func (b *CNAPIBackend) SubscribeLogsEvent(ch chan<- []*types.Log) event.Subscription + func (b *CNAPIBackend) SubscribeNewTxsEvent(ch chan<- blockchain.NewTxsEvent) event.Subscription + func (b *CNAPIBackend) SubscribeRemovedLogsEvent(ch chan<- blockchain.RemovedLogsEvent) event.Subscription + func (b *CNAPIBackend) SuggestPrice(ctx context.Context) (*big.Int, error) + func (b *CNAPIBackend) TxPoolContent() (map[common.Address]types.Transactions, map[common.Address]types.Transactions) + type ChannelManager struct + func NewChannelManager(channelSize int) *ChannelManager + func (cm *ChannelManager) GetChannelWithMsgCode(idx int, msgCode uint64) (chan p2p.Msg, error) + func (cm *ChannelManager) RegisterChannelWithIndex(idx int, channelId uint, channel chan p2p.Msg) + func (cm *ChannelManager) RegisterMsgCode(channelId uint, msgCode uint64) + type Config struct + AnchoringPeriod uint64 + DocRoot string + EnablePreimageRecording bool + ExtraData []byte + GPO gasprice.Config + GasPrice *big.Int + Genesis *blockchain.Genesis + IsPrivate bool + Istanbul istanbul.Config + LevelDBBufferPool bool + LevelDBCacheSize int + LevelDBCompression database.LevelDBCompressionType + MainChainAccountAddr *common.Address + NetworkId uint64 + NoAccountCreation bool + NoPruning bool + NumStateTriePartitions uint + ParallelDBWrite bool + PartitionedDB bool + Rewardbase common.Address + SenderTxHashIndexing bool + SentChainTxsLimit uint64 + ServiceChainSigner common.Address + SkipBcVersionCheck bool + StateDBCaching bool + SyncMode downloader.SyncMode + TrieBlockInterval uint + TrieCacheLimit int + TrieCacheSize int + TrieTimeout time.Duration + TxPool blockchain.TxPoolConfig + TxPoolStateCache bool + TxResendCount int + TxResendInterval uint64 + TxResendUseLegacy bool + WsEndpoint string + func (c *Config) UnmarshalTOML(unmarshal func(interface{}) error) error + func (c Config) MarshalTOML() (interface{}, error) + type EmptyTxPool struct + func (re *EmptyTxPool) AddRemotes([]*types.Transaction) []error + func (re *EmptyTxPool) Pending() (map[common.Address]types.Transactions, error) + func (re *EmptyTxPool) SubscribeNewTxsEvent(newtxch chan<- blockchain.NewTxsEvent) event.Subscription + type LesServer interface + Protocols func() []p2p.Protocol + SetBloomBitsIndexer func(bbIndexer *blockchain.ChainIndexer) + Start func(srvr p2p.Server) + Stop func() + type NodeInfo struct + BlockScore *big.Int + Config *params.ChainConfig + Genesis common.Hash + Head common.Hash + Network uint64 + type Peer interface + AddToKnownBlocks func(hash common.Hash) + AddToKnownTxs func(hash common.Hash) + AsyncSendNewBlock func(block *types.Block, td *big.Int) + AsyncSendNewBlockHash func(block *types.Block) + AsyncSendTransactions func(txs []*types.Transaction) + Broadcast func() + Close func() + ConnType func() p2p.ConnType + FetchBlockBodies func(hashes []common.Hash) error + FetchBlockHeader func(hash common.Hash) error + GetAddr func() common.Address + GetChainID func() *big.Int + GetID func() string + GetP2PPeer func() *p2p.Peer + GetP2PPeerID func() discover.NodeID + GetRW func() p2p.MsgReadWriter + GetVersion func() int + Handle func(pm *ProtocolManager) error + Handshake func(network uint64, chainID, td *big.Int, head common.Hash, genesis common.Hash) error + Info func() *PeerInfo + KnowsBlock func(hash common.Hash) bool + KnowsTx func(hash common.Hash) bool + ReSendTransactions func(txs types.Transactions) error + RegisterConsensusMsgCode func(msgCode uint64) + Send func(msgcode uint64, data interface{}) error + SendBlockBodies func(bodies []*blockBody) error + SendBlockBodiesRLP func(bodies []rlp.RawValue) error + SendBlockHeaders func(headers []*types.Header) error + SendFetchedBlockBodiesRLP func(bodies []rlp.RawValue) error + SendFetchedBlockHeader func(header *types.Header) error + SendNewBlock func(block *types.Block, td *big.Int) error + SendNewBlockHashes func(hashes []common.Hash, numbers []uint64) error + SendNodeData func(data [][]byte) error + SendReceiptsRLP func(receipts []rlp.RawValue) error + SendTransactions func(txs types.Transactions) error + SetAddr func(addr common.Address) + SetHead func(hash common.Hash, td *big.Int) + UpdateRWImplementationVersion func() + type PeerInfo struct + BlockScore *big.Int + Head string + Version int + type PrivateAdminAPI struct + func NewPrivateAdminAPI(cn *CN) *PrivateAdminAPI + func (api *PrivateAdminAPI) ExportChain(file string) (bool, error) + func (api *PrivateAdminAPI) ImportChain(file string) (bool, error) + type PrivateDebugAPI struct + func NewPrivateDebugAPI(config *params.ChainConfig, cn *CN) *PrivateDebugAPI + func (api *PrivateDebugAPI) GetBadBlocks(ctx context.Context) ([]blockchain.BadBlockArgs, error) + func (api *PrivateDebugAPI) GetModifiedAccountsByHash(startHash common.Hash, endHash *common.Hash) ([]common.Address, error) + func (api *PrivateDebugAPI) GetModifiedAccountsByNumber(startNum uint64, endNum *uint64) ([]common.Address, error) + func (api *PrivateDebugAPI) Preimage(ctx context.Context, hash common.Hash) (hexutil.Bytes, error) + func (api *PrivateDebugAPI) StandardTraceBadBlockToFile(ctx context.Context, hash common.Hash, config *StdTraceConfig) ([]string, error) + func (api *PrivateDebugAPI) StandardTraceBlockToFile(ctx context.Context, hash common.Hash, config *StdTraceConfig) ([]string, error) + func (api *PrivateDebugAPI) TraceBadBlock(ctx context.Context, hash common.Hash, config *TraceConfig) ([]*txTraceResult, error) + func (api *PrivateDebugAPI) TraceBlock(ctx context.Context, blob hexutil.Bytes, config *TraceConfig) ([]*txTraceResult, error) + func (api *PrivateDebugAPI) TraceBlockByHash(ctx context.Context, hash common.Hash, config *TraceConfig) ([]*txTraceResult, error) + func (api *PrivateDebugAPI) TraceBlockByNumber(ctx context.Context, number rpc.BlockNumber, config *TraceConfig) ([]*txTraceResult, error) + func (api *PrivateDebugAPI) TraceBlockFromFile(ctx context.Context, file string, config *TraceConfig) ([]*txTraceResult, error) + func (api *PrivateDebugAPI) TraceChain(ctx context.Context, start, end rpc.BlockNumber, config *TraceConfig) (*rpc.Subscription, error) + func (api *PrivateDebugAPI) TraceTransaction(ctx context.Context, hash common.Hash, config *TraceConfig) (interface{}, error) + type PrivateMinerAPI struct + func NewPrivateMinerAPI(e *CN) *PrivateMinerAPI + func (api *PrivateMinerAPI) GetHashrate() uint64 + func (api *PrivateMinerAPI) SetExtra(extra string) (bool, error) + func (api *PrivateMinerAPI) SetGasPrice(gasPrice hexutil.Big) bool + func (api *PrivateMinerAPI) SetRewardbase(rewardbase common.Address) bool + func (api *PrivateMinerAPI) Start(threads *int) error + func (api *PrivateMinerAPI) Stop() bool + type PrivateServiceChainAdminAPI struct + func NewPrivateServiceChainAdminAPI(sc *ServiceChain) *PrivateServiceChainAdminAPI + func (api *PrivateServiceChainAdminAPI) ExportChain(file string) (bool, error) + func (api *PrivateServiceChainAdminAPI) ImportChain(file string) (bool, error) + type PrivateServiceChainDebugAPI struct + func NewPrivateServiceChainDebugAPI(config *params.ChainConfig, sc *ServiceChain) *PrivateServiceChainDebugAPI + func (api *PrivateServiceChainDebugAPI) GetBadBlocks(ctx context.Context) ([]blockchain.BadBlockArgs, error) + func (api *PrivateServiceChainDebugAPI) GetModifiedAccountsByHash(startHash common.Hash, endHash *common.Hash) ([]common.Address, error) + func (api *PrivateServiceChainDebugAPI) GetModifiedAccountsByNumber(startNum uint64, endNum *uint64) ([]common.Address, error) + func (api *PrivateServiceChainDebugAPI) Preimage(ctx context.Context, hash common.Hash) (hexutil.Bytes, error) + type PrivateServiceChainMinerAPI struct + func NewPrivateServiceChainMinerAPI(e *ServiceChain) *PrivateServiceChainMinerAPI + func (api *PrivateServiceChainMinerAPI) GetHashrate() uint64 + func (api *PrivateServiceChainMinerAPI) SetExtra(extra string) (bool, error) + func (api *PrivateServiceChainMinerAPI) SetGasPrice(gasPrice hexutil.Big) bool + func (api *PrivateServiceChainMinerAPI) Start(threads *int) error + func (api *PrivateServiceChainMinerAPI) Stop() bool + type ProtocolManager struct + SubProtocols []p2p.Protocol + func NewProtocolManager(config *params.ChainConfig, mode downloader.SyncMode, networkId uint64, ...) (*ProtocolManager, error) + func (pm *ProtocolManager) BroadcastBlock(block *types.Block) + func (pm *ProtocolManager) BroadcastBlockHash(block *types.Block) + func (pm *ProtocolManager) BroadcastTxs(txs types.Transactions) + func (pm *ProtocolManager) Enqueue(id string, block *types.Block) + func (pm *ProtocolManager) FindCNPeers(targets map[common.Address]bool) map[common.Address]consensus.Peer + func (pm *ProtocolManager) FindPeers(targets map[common.Address]bool) map[common.Address]consensus.Peer + func (pm *ProtocolManager) GetCNPeers() map[common.Address]consensus.Peer + func (pm *ProtocolManager) GetENPeers() map[common.Address]consensus.Peer + func (pm *ProtocolManager) GetPeers() []common.Address + func (pm *ProtocolManager) NodeInfo() *NodeInfo + func (pm *ProtocolManager) ReBroadcastTxs(txs types.Transactions) + func (pm *ProtocolManager) RegisterValidator(conType p2p.ConnType, validator p2p.PeerTypeValidator) + func (pm *ProtocolManager) SetRewardbase(addr common.Address) + func (pm *ProtocolManager) SetRewardbaseWallet(wallet accounts.Wallet) + func (pm *ProtocolManager) Start(maxPeers int) + func (pm *ProtocolManager) Stop() + type PublicDebugAPI struct + func NewPublicDebugAPI(cn *CN) *PublicDebugAPI + func (api *PublicDebugAPI) DumpBlock(blockNr rpc.BlockNumber) (state.Dump, error) + type PublicKlayAPI struct + func NewPublicKlayAPI(e *CN) *PublicKlayAPI + func (api *PublicKlayAPI) Hashrate() hexutil.Uint64 + func (api *PublicKlayAPI) Rewardbase() (common.Address, error) + type PublicKlayServiceChainAPI struct + func NewPublicKlayServiceChainAPI(sc *ServiceChain) *PublicKlayServiceChainAPI + func (api *PublicKlayServiceChainAPI) Hashrate() hexutil.Uint64 + func (api *PublicKlayServiceChainAPI) Signer() (common.Address, error) + type PublicMinerAPI struct + func NewPublicMinerAPI(e *CN) *PublicMinerAPI + func (api *PublicMinerAPI) GetWork() ([3]string, error) + func (api *PublicMinerAPI) Mining() bool + func (api *PublicMinerAPI) SubmitHashrate(hashrate hexutil.Uint64, id common.Hash) bool + func (api *PublicMinerAPI) SubmitWork(solution common.Hash) bool + type PublicServiceChainDebugAPI struct + func NewPublicServiceChainDebugAPI(sc *ServiceChain) *PublicServiceChainDebugAPI + func (api *PublicServiceChainDebugAPI) DumpBlock(blockNr rpc.BlockNumber) (state.Dump, error) + type PublicServiceChainMinerAPI struct + func NewPublicServiceChainMinerAPI(e *ServiceChain) *PublicServiceChainMinerAPI + func (api *PublicServiceChainMinerAPI) GetWork() ([3]string, error) + func (api *PublicServiceChainMinerAPI) Mining() bool + func (api *PublicServiceChainMinerAPI) SubmitWork(solution common.Hash) bool + type ServiceChain struct + APIBackend *ServiceChainAPIBackend + func NewServiceChain(ctx *node.ServiceContext, config *Config) (*ServiceChain, error) + func (s *ServiceChain) APIs() []rpc.API + func (s *ServiceChain) AccountManager() *accounts.Manager + func (s *ServiceChain) BlockChain() *blockchain.BlockChain + func (s *ServiceChain) ChainDB() database.DBManager + func (s *ServiceChain) Components() []interface{} + func (s *ServiceChain) Downloader() *downloader.Downloader + func (s *ServiceChain) Engine() consensus.Engine + func (s *ServiceChain) EventMux() *event.TypeMux + func (s *ServiceChain) IsListening() bool + func (s *ServiceChain) IsMining() bool + func (s *ServiceChain) Miner() *work.Miner + func (s *ServiceChain) NetVersion() uint64 + func (s *ServiceChain) ProtocolVersion() int + func (s *ServiceChain) Protocols() []p2p.Protocol + func (s *ServiceChain) ReBroadcastTxs(transactions types.Transactions) + func (s *ServiceChain) ResetWithGenesisBlock(gb *types.Block) + func (s *ServiceChain) SetComponents(component []interface{}) + func (s *ServiceChain) Signer() (eb common.Address, err error) + func (s *ServiceChain) Start(srvr p2p.Server) error + func (s *ServiceChain) StartMining(local bool) error + func (s *ServiceChain) Stop() error + func (s *ServiceChain) StopMining() + func (s *ServiceChain) TxPool() *blockchain.TxPool + type ServiceChainAPIBackend struct + func (b *ServiceChainAPIBackend) AccountManager() *accounts.Manager + func (b *ServiceChainAPIBackend) BlockByNumber(ctx context.Context, blockNr rpc.BlockNumber) (*types.Block, error) + func (b *ServiceChainAPIBackend) BloomStatus() (uint64, uint64) + func (b *ServiceChainAPIBackend) ChainConfig() *params.ChainConfig + func (b *ServiceChainAPIBackend) ChainDB() database.DBManager + func (b *ServiceChainAPIBackend) CurrentBlock() *types.Block + func (b *ServiceChainAPIBackend) Downloader() *downloader.Downloader + func (b *ServiceChainAPIBackend) EventMux() *event.TypeMux + func (b *ServiceChainAPIBackend) GetBlock(ctx context.Context, hash common.Hash) (*types.Block, error) + func (b *ServiceChainAPIBackend) GetBlockReceipts(ctx context.Context, hash common.Hash) types.Receipts + func (b *ServiceChainAPIBackend) GetBlockReceiptsInCache(blockHash common.Hash) types.Receipts + func (b *ServiceChainAPIBackend) GetEVM(ctx context.Context, msg blockchain.Message, state *state.StateDB, ...) (*vm.EVM, func() error, error) + func (b *ServiceChainAPIBackend) GetLogs(ctx context.Context, hash common.Hash) ([][]*types.Log, error) + func (b *ServiceChainAPIBackend) GetNonceInCache(addr common.Address) (uint64, bool) + func (b *ServiceChainAPIBackend) GetPoolNonce(ctx context.Context, addr common.Address) uint64 + func (b *ServiceChainAPIBackend) GetPoolTransaction(hash common.Hash) *types.Transaction + func (b *ServiceChainAPIBackend) GetPoolTransactions() (types.Transactions, error) + func (b *ServiceChainAPIBackend) GetTd(blockHash common.Hash) *big.Int + func (b *ServiceChainAPIBackend) GetTxAndLookupInfo(hash common.Hash) (*types.Transaction, common.Hash, uint64, uint64) + func (b *ServiceChainAPIBackend) GetTxAndLookupInfoInCache(txHash common.Hash) (*types.Transaction, common.Hash, uint64, uint64) + func (b *ServiceChainAPIBackend) GetTxLookupInfoAndReceipt(ctx context.Context, txHash common.Hash) (*types.Transaction, common.Hash, uint64, uint64, *types.Receipt) + func (b *ServiceChainAPIBackend) GetTxLookupInfoAndReceiptInCache(txHash common.Hash) (*types.Transaction, common.Hash, uint64, uint64, *types.Receipt) + func (b *ServiceChainAPIBackend) HeaderByNumber(ctx context.Context, blockNr rpc.BlockNumber) (*types.Header, error) + func (b *ServiceChainAPIBackend) IsParallelDBWrite() bool + func (b *ServiceChainAPIBackend) IsSenderTxHashIndexingEnabled() bool + func (b *ServiceChainAPIBackend) ProtocolVersion() int + func (b *ServiceChainAPIBackend) SendTx(ctx context.Context, signedTx *types.Transaction) error + func (b *ServiceChainAPIBackend) ServiceFilter(ctx context.Context, session *bloombits.MatcherSession) + func (b *ServiceChainAPIBackend) SetHead(number uint64) + func (b *ServiceChainAPIBackend) StateAndHeaderByNumber(ctx context.Context, blockNr rpc.BlockNumber) (*state.StateDB, *types.Header, error) + func (b *ServiceChainAPIBackend) Stats() (pending int, queued int) + func (b *ServiceChainAPIBackend) SubscribeChainEvent(ch chan<- blockchain.ChainEvent) event.Subscription + func (b *ServiceChainAPIBackend) SubscribeChainHeadEvent(ch chan<- blockchain.ChainHeadEvent) event.Subscription + func (b *ServiceChainAPIBackend) SubscribeChainSideEvent(ch chan<- blockchain.ChainSideEvent) event.Subscription + func (b *ServiceChainAPIBackend) SubscribeLogsEvent(ch chan<- []*types.Log) event.Subscription + func (b *ServiceChainAPIBackend) SubscribeNewTxsEvent(ch chan<- blockchain.NewTxsEvent) event.Subscription + func (b *ServiceChainAPIBackend) SubscribeRemovedLogsEvent(ch chan<- blockchain.RemovedLogsEvent) event.Subscription + func (b *ServiceChainAPIBackend) SuggestPrice(ctx context.Context) (*big.Int, error) + func (b *ServiceChainAPIBackend) TxPoolContent() (map[common.Address]types.Transactions, map[common.Address]types.Transactions) + type StdTraceConfig struct + Reexec *uint64 + TxHash common.Hash + type StorageRangeResult struct + NextKey *common.Hash + Storage storageMap + type TraceConfig struct + Reexec *uint64 + Timeout *string + Tracer *string