-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mempool, main: cache tx proofs for CSNs
For utreexo CSN to CSN proof serving, each node needs to keep track of the proof for the given mempool tx. The change made here introduces a pool of leaf datas that are stored in the mempool and when adding transactions to the pool, the accumulator proof for that is cached in the accumulator as well. This code is mostly for the p2p to eventually support receiving and serving partial proofs for utreexo peers.
- Loading branch information
1 parent
6bf7025
commit 5604fb9
Showing
2 changed files
with
96 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters