-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
accumulator/undo: Add serialization for undoblocks
UndoBlocks need to be saved and re-accessed whenever there is a reorg with the Bitcoin blockchain. Serialization and Deserialization is added so that these blocks can be saved and fetched from disk. UndoBlocks are also now exported so that callers will be able to access the new Serialize() and Deserialize() methods.
- Loading branch information
1 parent
fc7a3c4
commit dca867c
Showing
3 changed files
with
204 additions
and
7 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