Alfredo Garcia
1685611592
Store orchard nullifiers into the state ( #2185 )
...
* add nullifier methods to orchard
* store orchard nullifiers
* bump database version
* update `IntoDisk`
* support V5 in `UpdateWith`
* add a test for finalized state
* Use the latest network upgrade in state proptests
2021-06-01 17:53:13 +10:00
Deirdre Connolly
f5206af470
Rename all Orchard spec references to nu5.pdf
2021-04-30 00:48:23 -04:00
Deirdre Connolly
39b8e9859f
Do not derive Hash for orchard::Nullifier as pallas::Base doesn't have it
...
If we need Hash, we may need to replace the inner type with bytes.
2021-04-30 00:48:23 -04:00
Deirdre Connolly
70bf4f80fb
Add TODO for Poseidon hash implementation
2021-04-30 00:48:23 -04:00
Deirdre Connolly
376603d4c0
Flesh out Orchard note and nullifier derivation
2021-04-30 00:48:23 -04:00
Deirdre Connolly
e4fe8bb320
Update zebra-chain/src/orchard/note/nullifiers.rs
...
Co-authored-by: teor <teor@riseup.net>
2021-04-30 00:48:23 -04:00
Deirdre Connolly
73e0f4f98a
Orchard: fix some tests, etc
2021-04-30 00:48:23 -04:00
Deirdre Connolly
5ede33b231
Orchard: update nullifiers
2021-04-30 00:48:23 -04:00
Deirdre Connolly
f3501333b7
Orchard: tidy
2021-04-30 00:48:23 -04:00
Deirdre Connolly
d3f0b226e6
Orchard: tidy nullifiers
2021-04-30 00:48:23 -04:00
Deirdre Connolly
df1ecc72b1
Most things are filled in, including a guess at Pallas-based Mixing Pedersen Hash
2021-04-30 00:48:23 -04:00
Deirdre Connolly
c3e40d73cf
Bunch more work implementing orchard, porting from sapling where applicable
2021-04-30 00:48:23 -04:00
Deirdre Connolly
40383b2741
Partway done with typing out Orchard chain types
2021-04-30 00:48:23 -04:00