mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
ethapi: Update TxPool API
This commit is contained in:
parent
76e75e0abe
commit
a5dc74b44c
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue