utreexo
utreexo copied to clipboard
Use Varint serialization
trafficstars
Things done:
- Commit
accumulator: Use varints for serializationimports thewirepackage and uses the varint serialization functions for batchproof. - Commit
accumulator/undo: Add serialization for undoblocksadds undoblock serialization/deserialization (uses varint) and exportsUndoBlockto expose the serialization functions. - Commit
go.mod, go.sum: Switch to the btcd++ branch in utcdnow imports utcd instead of btcd. However, it only imports the btcd++ branch as that branch doesn't have any utreexo specific packages, therefore not creating any dependency cycles.
This PR doesn't produce backwards compatible proofs as the serialization is different.