mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-04 22:18:40 +00:00
core/txpool/blobpool: blob pool with status queue (#35075)
This commit is contained in:
parent
831ef5a453
commit
00f7c72ca7
1 changed files with 5 additions and 1 deletions
|
|
@ -2268,7 +2268,11 @@ func (p *BlobPool) Stats() (int, int) {
|
|||
for _, txs := range p.index {
|
||||
pending += len(txs)
|
||||
}
|
||||
return pending, 0 // No non-executable txs in the blob pool
|
||||
var queue int
|
||||
for _, txs := range p.gapped {
|
||||
queue += len(txs)
|
||||
}
|
||||
return pending, queue
|
||||
}
|
||||
|
||||
// Content retrieves the data content of the transaction pool, returning all the
|
||||
|
|
|
|||
Loading…
Reference in a new issue