Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Mempool: Add tracking of ancestor packages #7594
This implements caching of count, size, (modified) fee, and sigops of each mempool entry with its unconfirmed ancestors.
This is in preparation for adding support to
Note that in order to keep accurate ancestor state,
I would like to also expose this ancestor information via RPC, but will hold off until after #7292, so I might do that in a future PR rather than in this one. Also, the unit tests in this PR will be improved somewhat after #7539.
This was referenced
Feb 25, 2016
I tried adding complete ancestor-state checks to
I do expect this to be substantially slower, but I assume that since we can now run on mainnet with
@dgenr8 I agree that refactoring that code would make that function clearer, but as the content of