ethapi: Update TxPool API

This commit is contained in:
CocoaHuke 2018-06-22 01:17:54 -07:00
parent 76e75e0abe
commit a5dc74b44c
No known key found for this signature in database
GPG key ID: E300819C1AE33223

View file

@ -66,6 +66,7 @@ type Backend interface {
Stats() (pending int, queued int)
TxPoolContent() (map[common.Address]types.Transactions, map[common.Address]types.Transactions)
SubscribeNewTxsEvent(chan<- core.NewTxsEvent) event.Subscription
TxStatusByHash(ctx context.Context, hash common.Hash) (core.TxStatus, error)
ChainConfig() *params.ChainConfig
CurrentBlock() *types.Block