Zebra/zebra-chain/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
..
amount build(deps): bump insta from 1.15.0 to 1.17.1 (#4884) 2022-08-04 15:44:44 +00:00
block change(state): Deduplicate note commitment trees stored in the finalized state (#7312) 2023-08-17 00:41:11 +00:00
chain_sync_status fix(test): Move test-only code to test-only modules (#5777) 2022-12-08 01:06:11 +00:00
chain_tip change(chain): Refactor the handling of height differences (#6330) 2023-03-29 23:06:31 +00:00
diagnostic fix(panic): Stop panicking on async task cancellation on shutdown in network and state futures (#7219) 2023-07-18 04:53:26 +00:00
fmt cleanup(clippy): Use inline format strings (#5489) 2022-10-27 13:25:18 +00:00
history_tree refactor(anchorSapling): Change type to force consensus rule validation (#3544) 2022-02-17 03:20:22 +00:00
orchard 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
parallel 0. Add note commitment subtree types to zebra-chain (#7371) 2023-08-28 00:48:16 +00:00
parameters refactor(app): De-duplicate and fix version handling code (#6996) 2023-06-20 02:42:06 +00:00
primitives cleanup(rust): Fix new nightly clippy warnings (#7135) 2023-07-05 07:11:27 +00:00
sapling 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
serialization cleanup(deps): Bump sha2 and secp256k1 to remove duplicate dependencies (#7238) 2023-07-18 07:13:40 +00:00
sprout Avoid expensive cryptographic tree root recalculations in eq() (#7386) 2023-08-26 01:45:46 +00:00
transaction 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
transparent cleanup(deps): Bump sha2 and secp256k1 to remove duplicate dependencies (#7238) 2023-07-18 07:13:40 +00:00
value_balance cleanup(rust): Fix new nightly clippy warnings (#7135) 2023-07-05 07:11:27 +00:00
work cleanup(rust): Fix new nightly clippy warnings (#7135) 2023-07-05 07:11:27 +00:00
amount.rs feat(rpc): Implement the `getblocksubsidy` RPC (#6032) 2023-01-31 20:41:34 +00:00
block.rs fix(build): add elasticsearch feature to block serialize (#6709) 2023-06-14 19:01:39 +00:00
chain_sync_status.rs fix(test): Move test-only code to test-only modules (#5777) 2022-12-08 01:06:11 +00:00
chain_tip.rs change(chain): Refactor the handling of height differences (#6330) 2023-03-29 23:06:31 +00:00
diagnostic.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
error.rs fix(errors): Handle randomness generation and invalid random values as errors in cryptographic code (#6385) 2023-04-20 17:49:21 +00:00
fmt.rs cleanup(test): Make test debugging output more readable (#7027) 2023-06-21 15:02:05 +00:00
history_tree.rs cleanup(clippy): Use inline format strings (#5489) 2022-10-27 13:25:18 +00:00
lib.rs 0. Add note commitment subtree types to zebra-chain (#7371) 2023-08-28 00:48:16 +00:00
orchard.rs cleanup(cryptography): Remove unused shielded key and address code (#5476) 2022-10-29 20:59:55 +00:00
parallel.rs 1. fix(perf): Run CPU-intensive state updates in parallel rayon threads (#4802) 2022-07-22 12:19:11 -04:00
parameters.rs Cleanup a few arbitrary impls (#2222) 2021-05-28 09:49:28 -03:00
primitives.rs change(rpc): add validateaddress method (#6086) 2023-02-03 02:26:58 +00:00
sapling.rs cleanup(cryptography): Remove unused shielded key and address code (#5476) 2022-10-29 20:59:55 +00:00
serialization.rs Halborn 2023 02 20 (#6297) 2023-03-13 18:10:15 +00:00
shutdown.rs Fix shutdown panics (#1637) 2021-02-03 19:03:28 +10:00
sprout.rs cleanup(cryptography): Remove unused shielded key and address code (#5476) 2022-10-29 20:59:55 +00:00
subtree.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
transaction.rs fix(build): add elasticsearch feature to block serialize (#6709) 2023-06-14 19:01:39 +00:00
transparent.rs fix(build): add elasticsearch feature to block serialize (#6709) 2023-06-14 19:01:39 +00:00
value_balance.rs 5. change(rpc): Implement coinbase conversion to RPC `TransactionTemplate` type (#5554) 2022-11-07 17:37:50 +00:00
work.rs Replace primitives_types with uint (#2350) 2021-06-18 15:35:05 -03:00