zebra/zebra-state/src/service
Za Wilcox 3bef54b764
change(consensus): Refactor production code for network consensus rules to `Network` methods (#8340)
* begin refactor suggested as "step 2": https://github.com/ZcashFoundation/zebra/issues/7968#issue-2003245309
Squashed from multiple commits to enable partial rebase

* break out more little traits

* add activation implementation leveraging From<Network> for lrz::cons::

* for transfer of ownership I cannot return a type that's owned by the method

* hrp_sapling_extended_full_viewing_key

* complete implementation of interface of Parameters on Network reuse Parameters on zcash Network where possible

* move doc-comments to trait declarations (from impls)

* Simplify/complete Parameters impl for Network

* Add checkpoint_list method, move documentation, etc

* move last match network to inside network method

* add back comment

* use zcash_address for parameter types in zebra-chain

* use inherent methods instead of big parameters passthrough

* revert to implementation of From on zcash_primitives::..::Network vs &zcash_prim...

* move match

* add test to block maximum time rule

* update changelog

* finish porting target_difficutly_limit

* remove obscelete code comment

* revert non-functional change

* finish migrating target_difficulty_limit, checkpoint_list

* update changelog

---------

Co-authored-by: Hazel OHearn <gygaxis@zingolabs.org>
2024-03-12 21:41:44 +00:00
..
chain_tip fix(clippy): Fix clippy and rustfmt after last releases today (#7381) 2023-08-25 04:08:13 +00:00
check change(consensus): Refactor production code for network consensus rules to `Network` methods (#8340) 2024-03-12 21:41:44 +00:00
finalized_state change(tests): Remove Matches on Network From Tests (#8295) 2024-03-05 09:12:25 -05:00
non_finalized_state change(tests): Remove Matches on Network From Tests (#8295) 2024-03-05 09:12:25 -05:00
queued_blocks rename(state): do additional renaming for clarification purposes (#6967) 2023-06-15 05:12:45 +00:00
read change(state): Allow opening the database in a read-only mode (#8079) 2023-12-13 21:54:00 +00:00
arbitrary.rs fix(state): Remove workarounds for storing trees (#7218) 2023-07-18 04:54:22 +00:00
block_iter.rs fix(rpc): Fix bugs and performance of `getnetworksolps` & `getnetworkhashps` RPCs (#7647) 2023-10-11 02:02:51 +00:00
chain_tip.rs Scan blocks with sapling keys and write the results to the database (#8040) 2023-12-03 21:58:48 +00:00
check.rs change(consensus): Refactor production code for network consensus rules to `Network` methods (#8340) 2024-03-12 21:41:44 +00:00
finalized_state.rs build(deps): bump the prod group with 6 updates (#8125) 2024-01-02 01:26:54 +00:00
non_finalized_state.rs refactor: remove obsolete clippy allows in non_finalized_state (#8140) 2024-01-09 01:06:26 +00:00
pending_utxos.rs Use `OrderedUtxo` in `CheckpointVerifiedBlock` (#6971) 2023-06-19 22:48:59 +00:00
queued_blocks.rs build(deps): bump the prod group with 6 updates (#8125) 2024-01-02 01:26:54 +00:00
read.rs chore(clippy): Cleanup nightly clippy warnings from 2023-10-30 (#7868) 2023-10-30 12:21:05 +00:00
tests.rs change(tests): Remove Matches on Network From Tests (#8295) 2024-03-05 09:12:25 -05:00
watch_receiver.rs feat(mine): Add an internal Zcash miner to Zebra (#8136) 2024-01-11 14:41:01 +00:00
write.rs build(deps): bump the prod group with 6 updates (#8125) 2024-01-02 01:26:54 +00:00