zebra/book
Arya e14d1d8e40
change(state): Upgrade db format to support new fields in RPC outputs (#9539)
* updates book/../state-db-upgrades.md

* updates zebra-consensus with the changes from PR #9432 and minor test changes from #9295

* updates zebra-chain with the changes from PR #9432

* updates imports in zebra-rpc

* Merges and applies changes to zebra-state from PRs #9295 and #9432

* adds a TODO.

* minor update to zebra-rpc to use the new ReadResponse::AddressBalance type

* renames add_block_info db upgrade

* moves migration from `add_balance_received` to `block_info_and_address_received`

* replaces `write` with `write_batch`

* update disk format snapshots

* combines partial_transparent_balance_change() and partial_transparent_received_change()

* fixes typo

* Replaces redundant code with a call to `construct_column_families()`

* refactors `AddressBalanceLocation` and `AddressBalanceLocationChange` into a newtypes around a common inner type.

* fixes lints and doc compilation issue

* updates snapshots

* bumps the db format version to the next major version (27.0.0) instead of the next minor version (26.1.0)

* fixes clippy lint, minor cleanups

* fixes lint

* applies suggestions from code review

* fixes a mistake in `is_reusable_major_upgrade` where v26.0.0 is not a restorable db version

* Fixes an issue around marking an upgraded db format in the disk version file before completing migrations when reusing a previous major db format and restarting Zebrad before the migration is complete.

* Apply suggestions from code review

---------

Co-authored-by: Gustavo Valverde <gustavo@iterativo.do>
2025-06-03 20:49:53 +00:00
..
src change(state): Upgrade db format to support new fields in RPC outputs (#9539) 2025-06-03 20:49:53 +00:00
theme change(doc): Refactor user & dev docs (#8145) 2024-01-12 22:36:04 +00:00
.gitignore Add skeleton of eventual zebra book (#653) 2020-07-17 20:15:50 -07:00
book.toml change(docs): Update 'Design Overview' page of Zebra book (#5892) 2023-01-10 10:10:45 +00:00
mermaid-init.js fix(doc): add support for Mermaid to render graphs (#4359) 2022-05-09 20:29:49 +00:00
mermaid.min.js fix(doc): add support for Mermaid to render graphs (#4359) 2022-05-09 20:29:49 +00:00