zebra/zebra-state/src/service
teor 5324e5afd2
add(tests): Add snapshot tests for sprout database formats (#7057)
* Add methods for loading entire column families from the database

* Add a method that loads all the sprout trees from the database

* Add snapshot tests for sprout note commitment trees

* Add round-trip proptests for tree root database serialization

* Add a manual sprout note commitment tree database serialization snapshot test

* Add tests for 1,2,4,8 note commitments in a tree

* Remove redundant "rand" package rename in dependencies

* Randomly cache roots rather than only caching even roots

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-06-27 15:32:30 +00:00
..
chain_tip Only fetch block headers from the database to answer headers requests (#4792) 2022-07-22 09:15:22 +10:00
check rename(state): Rename state verifiers and related code (#6762) 2023-06-01 12:29:03 +00:00
finalized_state add(tests): Add snapshot tests for sprout database formats (#7057) 2023-06-27 15:32:30 +00:00
non_finalized_state change(state): Refactor the structure of finalizable blocks (#7035) 2023-06-27 08:58:14 +00:00
queued_blocks rename(state): do additional renaming for clarification purposes (#6967) 2023-06-15 05:12:45 +00:00
read security(state): Limit the number of non-finalized chains tracked by Zebra (#6447) 2023-04-04 01:05:21 +00:00
arbitrary.rs rename(state): Rename state verifiers and related code (#6762) 2023-06-01 12:29:03 +00:00
block_iter.rs change(state): Write non-finalized blocks to the state in a separate thread, to avoid network and RPC hangs (#5257) 2022-10-11 19:25:45 +00:00
chain_tip.rs change(state): Refactor the structure of verified blocks (#7025) 2023-06-21 16:58:11 +00:00
check.rs Replace a chain length assertion with a NotReadyToBeCommitted error (#7072) 2023-06-27 06:50:35 +00:00
finalized_state.rs change(state): Refactor the structure of finalizable blocks (#7035) 2023-06-27 08:58:14 +00:00
non_finalized_state.rs change(state): Refactor the structure of finalizable blocks (#7035) 2023-06-27 08:58:14 +00:00
pending_utxos.rs Use `OrderedUtxo` in `CheckpointVerifiedBlock` (#6971) 2023-06-19 22:48:59 +00:00
queued_blocks.rs Use `OrderedUtxo` in `CheckpointVerifiedBlock` (#6971) 2023-06-19 22:48:59 +00:00
read.rs change(rpc): Add confirmations to getrawtransaction method response (#6287) 2023-03-26 23:53:44 +00:00
tests.rs Use `OrderedUtxo` in `CheckpointVerifiedBlock` (#6971) 2023-06-19 22:48:59 +00:00
watch_receiver.rs change(rpc): Return from long polling immediately when the chain tip changes (#5862) 2022-12-15 15:33:00 +00:00
write.rs rename(state): do additional renaming for clarification purposes (#6967) 2023-06-15 05:12:45 +00:00