zebra/book/src
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
..
dev change(state): Upgrade db format to support new fields in RPC outputs (#9539) 2025-06-03 20:49:53 +00:00
user chore: Release v2.3.0 (#9475) 2025-05-06 14:47:47 +00:00
CONTRIBUTING.md Reorganize the book. (#843) 2020-08-06 15:39:54 -07:00
README.md Reorganize the book. (#843) 2020-08-06 15:39:54 -07:00
SUMMARY.md docs: complete the Treestate RFC documentation (#9340) 2025-04-07 17:59:19 +00:00
api.md Fix docs links (#8160) 2024-01-17 11:43:43 +00:00
dev.md Fix docs links (#8160) 2024-01-17 11:43:43 +00:00
user.md Add issue and PR templates, document RFC process 2020-08-31 00:58:50 -04:00

README.md

{{#include ../../README.md}}