core/txpool/blobpool: blob pool with status queue (#35075)

This commit is contained in:
cui 2026-06-01 10:57:13 +08:00 committed by GitHub
parent 831ef5a453
commit 00f7c72ca7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2268,7 +2268,11 @@ func (p *BlobPool) Stats() (int, int) {
for _, txs := range p.index { for _, txs := range p.index {
pending += len(txs) 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 // Content retrieves the data content of the transaction pool, returning all the