Zebra/zebra-state/src/service/finalized_state/zebra_db
teor 188d06e7a1
change(state): Add state requests and support code for the `z_getsubtreesbyindex` RPC (#7408)
* Make NoteCommitmentSubtreeIndex compatible with serde-based RPCs

* Add a stub for z_getsubtreesbyindex

* Define a GetSubtrees RPC response type

* Reject invalid shielded pool names

* Make limit optional

* Define state request and response types for subtrees

* Implement FromDisk for NoteCommitmentSubtreeIndex and add a round-trip test

* Make subtrees compatible with round-trip proptests

* Add finalized state subtree list methods and delete unused methods

* Remove Arc from subtrees in zebra-chain

* Remove Arc from subtrees in zebra-state and use BTreeMap

* Implement subtree list lookups in the non-finalized state and delete unused methods

* Implement consistent concurrent subtree read requests

* Implement ToHex for sapling::Node

* Implement ToHex for orchard::Node

* Implement z_get_subtrees_by_index RPC

* Check for the start_index from the non-finalized state

* Remove an unused mut

* Fix missing doc links

* Fix RPC comments

* Temporarily remove the z_get_subtrees_by_index RPC method
2023-09-03 22:18:41 +00:00
..
block change(state): Deduplicate note commitment trees stored in the finalized state (#7312) 2023-08-17 00:41:11 +00:00
arbitrary.rs change(state): Deduplicate note commitment trees stored in the finalized state (#7312) 2023-08-17 00:41:11 +00:00
block.rs fix(docs): docs after new rust version (#7375) 2023-08-24 11:31:10 +00:00
chain.rs change(state): Refactor the structure of finalizable blocks (#7035) 2023-06-27 08:58:14 +00:00
metrics.rs fix(rust): Make Zebra build with the latest nightly Rust (#5738) 2022-11-30 07:03:24 +00:00
shielded.rs change(state): Add state requests and support code for the `z_getsubtreesbyindex` RPC (#7408) 2023-09-03 22:18:41 +00:00
transparent.rs change(state): Deduplicate note commitment trees stored in the finalized state (#7312) 2023-08-17 00:41:11 +00:00