-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add snapshot support tested in poolpair RPC (#2698)
* Add snapshot support * Generate snapshot on ConnectTip * Get snapshot on demand * Get changed map under lock * Update snapshot based on height * Revert "Update snapshot based on height" This reverts commit adc22c6. * Do not Discard or Flush snapshot * Use snapshot in getblockcount * Get height from snapshot * Add comments and minor notes * Throw runtime error on snapshot Write or Erase * Using snapshot throw on Flush * Remove usage of Discard() from codebase * Remove Discard() entirely --------- Co-authored-by: Prasanna Loganathar <[email protected]>
- Loading branch information
1 parent
2916a8a
commit b45106a
Showing
7 changed files
with
220 additions
and
64 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
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.