Update TxPool API

This commit is contained in:
CocoaHuke 2018-06-21 21:33:19 -07:00
parent f2cdc9b104
commit d535abc99f
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