HomePhabricator

[avalanche] add an OrphanProofPool class

Description

[avalanche] add an OrphanProofPool class

Summary:
This is a data structure designed to keep track of proofs using orphan
transactions as stake. The number of proofs we can store is limited to a
fixed size, and when this size is reached the oldest proofs is removed
when a new one is added.

Test Plan: ninja && ninja check

Reviewers: #bitcoin_abc, Fabien, deadalnix

Reviewed By: #bitcoin_abc, Fabien, deadalnix

Subscribers: jack1, deadalnix, Fabien, Mengerian, PackagingPapa

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

Details

Provenance
PiRKAuthored on Fri, Apr 16, 10:04
PiRKPushed on Tue, May 4, 19:30
Reviewer
Restricted Project
Differential Revision
D9425: [avalanche] add an OrphanProofPool class
Parents
rABCa1b2bac3c93a: [cashtab] enable gzip compression when serving cashtab
Branches
Unknown
Tags
Unknown