(De)Serialize NoteCommitmentTree
s using supported serialization format instead of bincode
#7383
Labels
A-rust
Area: Updates to Rust code
A-state
Area: State / database changes
C-tech-debt
Category: Code maintainability issues
Scheduling
This ticket is blocked by the #7392 state bug fix.
Motivation
Apparently (@teor2345 mentioned me this, came up in conversations with @upbqdn), if we replace
bincode
with the supported serialization format in for example sprout, sapling and orchard implementations the resulting database might be smaller. And it will be easier to maintain the code.We might need to add
as_bytes()
andfrom_bytes()
methods tosprout::NoteCommitmentTree
,sapling::NoteCommitmentTree
andorchard::NoteCommitmentTree
to do this, using:write_frontier_v1()
, andread_frontier_v1()
Suggested Solution
zcashd
.Optional
The text was updated successfully, but these errors were encountered: