Zebra/zebra-state/src
Marek f9a5635105
fix(state): Remove workarounds for storing trees (#7218)
* Remove duplicate asserts

There are the same two asserts above the two removed ones.

* Remove workarounds for inserting trees into NFS

NFS = non finalized state

* Use correct height for constructing new chain

We were using the height of the last block instead of the initial block
to construct a new chain.

* Don't push the 0th block into a chain

* Don't commit two blocks at the same height

* Fix typo

* Generate chains with at least two blocks

---------

Co-authored-by: teor <teor@riseup.net>
2023-07-18 04:54:22 +00:00
..
service fix(state): Remove workarounds for storing trees (#7218) 2023-07-18 04:54:22 +00:00
tests rename(state): Rename state verifiers and related code (#6762) 2023-06-01 12:29:03 +00:00
arbitrary.rs change(state): Refactor the structure of verified blocks (#7025) 2023-06-21 16:58:11 +00:00
config.rs change(state): Prepare for in-place database format upgrades, but don't make any format changes yet (#7031) 2023-07-13 21:36:15 +00:00
constants.rs change(state): Prepare for in-place database format upgrades, but don't make any format changes yet (#7031) 2023-07-13 21:36:15 +00:00
error.rs Replace a chain length assertion with a NotReadyToBeCommitted error (#7072) 2023-06-27 06:50:35 +00:00
lib.rs change(state): Prepare for in-place database format upgrades, but don't make any format changes yet (#7031) 2023-07-13 21:36:15 +00:00
request.rs docs(state): Use different terms for block verification and state queues (#7061) 2023-07-04 21:29:41 +00:00
response.rs fix(panic): Stop panicking on async task cancellation on shutdown in network and state futures (#7219) 2023-07-18 04:53:26 +00:00
service.rs fix(panic): Stop panicking on async task cancellation on shutdown in network and state futures (#7219) 2023-07-18 04:53:26 +00:00
tests.rs Fix the position of coinbase tx (#7217) 2023-07-15 16:24:51 +00:00