Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement UTXO tracking & double-spend protection
The UtxoSet class uses a hash-map for its hot cache, and an SQLite database for its cold store. Outputs which are the coldest are periodically moved from the hot cache to the cold store. On shutdown, all the items are stored.
- Loading branch information
1 parent
93e9fda
commit 1d535ec
Showing
6 changed files
with
674 additions
and
71 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
Oops, something went wrong.