zebra/zebrad/src
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
..
bin/zebrad fix(zebrad): accept default subcommand arguments and print consistent usage information for top-level 'help' subcommand (#6801) 2023-06-07 06:03:42 +00:00
commands add(scan): Start scanner gRPC server with `zebrad` (#8241) 2024-02-07 22:36:01 +00:00
components change(consensus): Refactor production code for network consensus rules to `Network` methods (#8340) 2024-03-12 21:41:44 +00:00
application.rs feat(mine): Add an internal Zcash miner to Zebra (#8136) 2024-01-11 14:41:01 +00:00
commands.rs fix(ci): Skip GCP CI jobs on PRs from external contributors, let mergify test them after approval (#7956) 2023-11-22 19:43:29 +00:00
components.rs feat(mine): Add an internal Zcash miner to Zebra (#8136) 2024-01-11 14:41:01 +00:00
config.rs add(docs): Note default path to config in docs (#8143) 2024-01-10 06:53:32 +00:00
lib.rs change(doc): Refactor user & dev docs (#8145) 2024-01-12 22:36:04 +00:00
prelude.rs fix(zebrad): accept default subcommand arguments and print consistent usage information for top-level 'help' subcommand (#6801) 2023-06-07 06:03:42 +00:00
sentry.rs Standardise clippy lints and require docs (#2238) 2021-06-04 08:48:40 +10:00