zebra/zebra-network/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
..
address_book security: Rate limit GetAddr responses (#7955) 2023-11-21 03:32:23 +00:00
address_book_peers change(rpc): Add getpeerinfo RPC method (#5951) 2023-01-17 07:09:07 +00:00
config feat(net): Cache a list of useful peers on disk (#6739) 2023-06-06 08:28:14 +00:00
isolated fix(log): Stop logging peer IP addresses, to protect user privacy (#6662) 2023-05-14 15:06:07 +00:00
meta_addr cleanup(net): Deleted unused NeverAttemptedAlternate peer state (#7982) 2023-11-28 00:30:13 +00:00
peer build(deps): bump the prod group with 6 updates (#8125) 2024-01-02 01:26:54 +00:00
peer_set build(deps): bump the prod group with 6 updates (#8125) 2024-01-02 01:26:54 +00:00
protocol change(consensus): Refactor production code for network consensus rules to `Network` methods (#8340) 2024-03-12 21:41:44 +00:00
address_book.rs build(deps): bump the prod group with 6 updates (#8125) 2024-01-02 01:26:54 +00:00
address_book_peers.rs change(rpc): Add getpeerinfo RPC method (#5951) 2023-01-17 07:09:07 +00:00
address_book_updater.rs cleanup(net): Deleted unused NeverAttemptedAlternate peer state (#7982) 2023-11-28 00:30:13 +00:00
config.rs build(deps): bump the prod group with 6 updates (#8125) 2024-01-02 01:26:54 +00:00
constants.rs security: Rate limit GetAddr responses (#7955) 2023-11-21 03:32:23 +00:00
isolated.rs fix(log): Stop logging peer IP addresses, to protect user privacy (#6662) 2023-05-14 15:06:07 +00:00
lib.rs Move history tree and value balance to typed column families (#8115) 2023-12-20 23:20:57 +00:00
meta_addr.rs cleanup(net): Deleted unused NeverAttemptedAlternate peer state (#7982) 2023-11-28 00:30:13 +00:00
peer.rs Fix new nightly clippy and rustc lints (#7860) 2023-10-27 19:35:57 +00:00
peer_cache_updater.rs fix(ci): Increase peer cache startup wait time and test time (#7169) 2023-07-07 03:35:41 +00:00
peer_set.rs 1. Create an API for a missing inventory registry, but don't register any missing inventory yet (#3255) 2022-02-06 23:05:52 +00:00
policies.rs Delete outdated `TODOs` refering to closed issues (#6732) 2023-05-23 03:33:14 +00:00
protocol.rs Refactor protocol into internal, external modules. 2019-11-27 05:06:01 -05:00