* Add Transaction::sprout_joinsplits() * Add Anchor variants to ValidateContextError * Make Chain anchor collections pub(crate) * tracing::instrument several methods in state * Add contains_*_anchors methods to FinalizedState * Add check::anchors module and function * Verify that anchors_refer_to_earlier_treestates in when updating chains in non-finalized state * Update zebra-state/src/service/check/anchors.rs Co-authored-by: teor <teor@riseup.net> * Add anchors() to sapling::ShieldedData * Add sapling_anchors() to Transaction * Use Transaction::sapling_anchors() in the anchors_refer_to_earlier_treestates() check * Whoops, itertools * Add a comment for improvement Co-authored-by: teor <teor@riseup.net> * Add & use a cfg(test) method on FinalizedState to prep test state with anchors to allow other tests to pass contextual checks * Allow test nullifier checks to pass by populating anchor sets, allowing test anchor checks to pass * Add mainnet block 419202 and its sapling note commitment tree root to test vectors * Test sapling anchor verification using the first few Sapling blocks data * Correct comment * assert_eq instead of assert(bool) Co-authored-by: Conrado Gouvea <conrado@zfnd.org> * Update zebra-state/src/service/non_finalized_state.rs Co-authored-by: teor <teor@riseup.net> Co-authored-by: teor <teor@riseup.net> Co-authored-by: Marek <mail@marek.onl> Co-authored-by: Conrado Gouvea <conrado@zfnd.org> |
||
|---|---|---|
| .. | ||
| proptest-regressions/service | ||
| src | ||
| tests | ||
| Cargo.toml | ||
| build.rs | ||