HomePhabricator

[avalanche] Limit the finalized txs radix tree size so it always fits in the…

Description

[avalanche] Limit the finalized txs radix tree size so it always fits in the next block

Summary:
This delays adding the transactions that won't fit the next block. This is a step toward making use of the radix tree for the block template.
For now the txs that are delayed remain sitting there, this will be fixed in the next diff.

Depends on D17829.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK, roqqit

Reviewed By: #bitcoin_abc, PiRK, roqqit

Subscribers: roqqit, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D17831

Details

Provenance
FabienAuthored on Wed, Mar 19, 20:42
FabienPushed on Wed, Apr 9, 18:08
Reviewer
Restricted Project
Differential Revision
D17831: [avalanche] Limit the finalized txs radix tree size so it always fits in the next block
Parents
rABC48b7eae57e55: [avalanche] Improve lock annotations for AvalancheFinalizeBlock
Branches
Unknown
Tags
Unknown