Zebra/zebra-state/src/service
teor 64f777274c
fix(security): fix concurrency issues in tree key formats, and CPU usage in genesis tree roots (#7392)
* Add tree key format and cached root upgrades

* Document the changes in the upgrades

* Remove unnecessary clippy::unwrap_in_result

* Fix database type

* Bump state version

* Skip some checks if the database is empty

* Fix tests for a short state upgrade

* Disable format checks in some tests

* Document state performance issues

* Clarify upgrade behaviour

* Clarify panic messages

* Delete incorrect genesis trees write code

* Fix metrics handling for genesis

* Remove an unused import

* Explain why genesis anchors are ok

* Update snapshots

* Debug a failing test

* Fix some tests

* Fix missing imports

* Move the state check in a test

* Fix comment and doc typos

Co-authored-by: Marek <mail@marek.onl>
Co-authored-by: Arya <aryasolhi@gmail.com>

* Clarify what a long upgrade is

* Rename unused function arguments

Co-authored-by: Marek <mail@marek.onl>

* Add all_unordered log regex matching methods

* Fix timing issues with version upgrades and other logs

* Fix argument name in docs

Co-authored-by: Marek <mail@marek.onl>

* Explain match until first for all regexes behaviour better

---------

Co-authored-by: Marek <mail@marek.onl>
Co-authored-by: Arya <aryasolhi@gmail.com>
2023-10-19 14:50:46 +00:00
..
chain_tip fix(clippy): Fix clippy and rustfmt after last releases today (#7381) 2023-08-25 04:08:13 +00:00
check fix(security): fix concurrency issues in tree key formats, and CPU usage in genesis tree roots (#7392) 2023-10-19 14:50:46 +00:00
finalized_state fix(security): fix concurrency issues in tree key formats, and CPU usage in genesis tree roots (#7392) 2023-10-19 14:50:46 +00:00
non_finalized_state fix(state): Limit the retrieval of note commitment subtrees (#7734) 2023-10-12 20:00:43 +00:00
queued_blocks rename(state): do additional renaming for clarification purposes (#6967) 2023-06-15 05:12:45 +00:00
read fix(state): Limit the retrieval of note commitment subtrees (#7734) 2023-10-12 20:00:43 +00:00
arbitrary.rs fix(state): Remove workarounds for storing trees (#7218) 2023-07-18 04:54:22 +00:00
block_iter.rs fix(rpc): Fix bugs and performance of `getnetworksolps` & `getnetworkhashps` RPCs (#7647) 2023-10-11 02:02:51 +00:00
chain_tip.rs change(state): Refactor the structure of verified blocks (#7025) 2023-06-21 16:58:11 +00:00
check.rs docs(state): Use different terms for block verification and state queues (#7061) 2023-07-04 21:29:41 +00:00
finalized_state.rs fix(security): fix concurrency issues in tree key formats, and CPU usage in genesis tree roots (#7392) 2023-10-19 14:50:46 +00:00
non_finalized_state.rs fix(rpc): Fix bugs and performance of `getnetworksolps` & `getnetworkhashps` RPCs (#7647) 2023-10-11 02:02:51 +00:00
pending_utxos.rs Use `OrderedUtxo` in `CheckpointVerifiedBlock` (#6971) 2023-06-19 22:48:59 +00:00
queued_blocks.rs fix(state): Avoid temporary failures verifying the first non-finalized block or attempting to fork the chain before the final checkpoint (#6810) 2023-08-21 06:35:58 +00:00
read.rs change(state): Add state requests and support code for the `z_getsubtreesbyindex` RPC (#7408) 2023-09-03 22:18:41 +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 change(state): Insert only the first tree in each series of identical trees into finalized state (#7266) 2023-08-09 00:32:27 +00:00