Parse Orchard data in Transaction Version 5 #1979
Labels
A-consensus
Area: Consensus rule updates
A-rust
Area: Updates to Rust code
C-enhancement
Category: This is an improvement
NU-5
Network Upgrade: NU5 specific tasks
Milestone
Is your feature request related to a problem?
Transaction version 5 contains Orchard data, which we need to parse:
Describe the solution you'd like
Implementation
Flags
Documentation
implementation:
orchard::Flags
orchard::Flags
according to the specTesting:
Arbitrary
orchard::Flags
orchard module types
Implement serialization and deserialization if required:
Action
Halo2Proof
redpallas::Signature<Binding>
AuthorizedAction
Documentation
Implementation:
orchard::AuthorizedAction
Action
, based on the size ofAuthorizedAction
TrustedPreallocate
impl forOutput
(V5) in https://github.com/oxarbitrage/zebra/pull/88/files#diff-f312291146990d763b96fd39ec0960937a0cb41678ff1ff3f5e9339011e1f376R195Output
withAuthorizedAction
OUTPUT_SIZE
withAUTHORIZED_ACTION_SIZE
OutputPrefixInTransactionV5
withAction
OUTPUT_PREFIX_SIZE
withACTION_SIZE
Testing:
Arbitrary
AuthorizedAction
trusted vector deserializationpreallocate.rs
tests for output in https://github.com/oxarbitrage/zebra/pull/88/files#diff-a25350cfb4ab267dc20751f438c040e91f665bacaee28afcfa46b653c311189aR127ShieldedData
Documentation
Implementation:
orchard::ShieldedData
rest
bytes fieldorchard::ShieldedData
according to the specTesting:
Arbitrary
orchard::ShieldedData
Transaction
Implementation:
orchard_nullifiers
Test round-trip serialization and deserialisation for:
Arbitrary
transaction v5Testing
High Priority
zcashd
(or test vectors that we create and share withzcashd
)Medium Priority
Arbitrary
Action
Action
proptest might already be implementedzebra_consensus::transaction::Verifier
Describe alternatives you've considered
This is a required change for
NU5
. Alternative designs were considered during the RFC process.Additional context
In #1829 we parsed the sapling data in transaction version 5.
The text was updated successfully, but these errors were encountered: