zebra/zebrad/src/components/sync
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
..
recent_sync_lengths Provide recent syncer response lengths as a watch channel (#2602) 2021-08-19 23:16:16 +00:00
status fix(test): Move test-only code to test-only modules (#5777) 2022-12-08 01:06:11 +00:00
tests cleanup(clippy): Remove unnecessary `try_into()` with `cargo clippy --fix` (#7940) 2023-11-14 20:31:49 +00:00
downloads.rs build(deps): bump the prod group with 6 updates (#8125) 2024-01-02 01:26:54 +00:00
end_of_support.rs chore: Release v1.6.0 (#8319) 2024-02-23 23:28:44 +00:00
gossip.rs cleanup(gossip): Use a separate named constant for the gossip interval (#6704) 2023-05-22 19:21:53 +00:00
progress.rs change(consensus): Refactor production code for network consensus rules to `Network` methods (#8340) 2024-03-12 21:41:44 +00:00
recent_sync_lengths.rs fix(rpc): Wait for 3 minutes to check Zebra is synced to the tip, rather than 2 (#5840) 2022-12-12 23:20:03 +00:00
status.rs fix(test): Move test-only code to test-only modules (#5777) 2022-12-08 01:06:11 +00:00
tests.rs Fix syncer download order and add sync tests (#3168) 2022-01-11 14:11:35 -03:00