Zebra/zebra-state/src
teor 9452487c61
fix(state): Fix minute-long delays in block verification after a chain fork (#6122)
* Split Chain fields into sections

* Replace Chain.sprout_note_commitment_tree with a lookup method

* Add TODOs

* Show full debug info when tests fail because chains aren't equal

* Print sprout and sapling tree Nodes as hex when debugging

* Correctly revert temporary finalized tip trees and anchors

* Fix tests

* Refactor removal functions

* Replace the Chain.sapling_note_commitment_tree field with a lookup method

* Replace the Chain.orchard_note_commitment_tree field with a lookup method

* Replace the Chain.history_tree field with a lookup method and remove redundant code

* Update comments

* Ignore clippy::unwrap_in_result

* Remove redundant fork() Result

* Put conditional code in blocks

* fastmod history_tree_at_tip history_block_commitment_tree zebra-state
2023-02-13 21:44:31 +00:00
..
service fix(state): Fix minute-long delays in block verification after a chain fork (#6122) 2023-02-13 21:44:31 +00:00
tests 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
arbitrary.rs change(mempool) reject transactions with spent outpoints or nullifiers (#5434) 2022-10-24 19:48:45 +00:00
config.rs feat(state): delete old database directories (#4586) 2022-06-21 00:59:51 +00:00
constants.rs Increase legacy chain limit to 100,000 (#6053) 2023-01-31 20:36:59 +00:00
error.rs change(mempool): Contextually validates mempool transactions in best chain (#5716) 2022-11-30 04:40:15 +00:00
lib.rs feat(rpc): populate some getblocktemplate RPC block header fields using the state best chain tip (#5659) 2022-11-28 09:06:32 +00:00
request.rs add(rpc): Add extra `getblock` RPC fields used by some mining pools (#6097) 2023-02-07 01:25:34 +00:00
response.rs fix(consensus): Verify the lock times of mempool transactions (#6027) 2023-01-27 21:46:51 +00:00
service.rs corrects panic/timer msg for CheckBestChainTipNullifiersAndAnchors request (#6135) 2023-02-10 09:54:11 +00:00
tests.rs fix(diagnostics): Hex-encode debug format of commitments, nonces, and nullifiers (#5960) 2023-01-17 13:57:22 +00:00