Zebra/zebra-state/src
Arya 94d9155adb
change(state): Add note subtree index handling to zebra-state, but don't write them to the finalized state yet (#7334)
* zebra-chain changes from the subtree-boundaries branch

```sh
git checkout -b subtree-boundaries-zebra-chain main
git checkout origin/subtree-boundaries zebra-chain
git commit
```

* Temporarily populate new subtree fields with None - for revert

This temporary commit needs to be reverted in the next PR.

* Applies suggestions from code review

* removes from_repr_unchecked methods

* simplifies loop

* adds subtrees to zebra-state

* uses split_at, from_repr, & updates state-db-upgrades.md

* Update book/src/dev/state-db-upgrades.md

Co-authored-by: teor <teor@riseup.net>

* renames partial_subtree to subtree_data

* tests that subtree serialization format

* adds raw data format serialization round-trip test

* decrements minor version and skips inserting subtrees in db

---------

Co-authored-by: teor <teor@riseup.net>
2023-08-28 08:50:31 +00:00
..
service change(state): Add note subtree index handling to zebra-state, but don't write them to the finalized state yet (#7334) 2023-08-28 08:50:31 +00:00
tests 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
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): Insert only the first tree in each series of identical trees into finalized state (#7266) 2023-08-09 00:32:27 +00:00
error.rs Replace a chain length assertion with a NotReadyToBeCommitted error (#7072) 2023-06-27 06:50:35 +00:00
lib.rs fix(clippy): Fix clippy and rustfmt after last releases today (#7381) 2023-08-25 04:08:13 +00:00
request.rs change(state): Add note subtree index handling to zebra-state, but don't write them to the finalized state yet (#7334) 2023-08-28 08:50:31 +00:00
response.rs fix(docs): docs after new rust version (#7375) 2023-08-24 11:31:10 +00:00
service.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
tests.rs Fix the position of coinbase tx (#7217) 2023-07-15 16:24:51 +00:00