Zebra/zebra-consensus/src
idky137 4579722833
change(chain): Remove `Copy` trait impl from `Network` (#8354)
* removed derive copy from network, address and ledgerstate

* changed is_max_block_time_enforced to accept ref

* changed NetworkUpgrade::Current to accept ref

* changed NetworkUpgrade::Next to accept ref

* changed NetworkUpgrade::IsActivationHeight to accept ref

* changed NetworkUpgrade::TargetSpacingForHeight to accept ref

* changed NetworkUpgrade::TargetSpacings to accept ref

* changed NetworkUpgrade::MinimumDifficultySpacing_forHeight to accept ref

* changed NetworkUpgrade::IsTestnetMinDifficultyBlock to accept ref

* changed NetworkUpgrade::AveragingWindowTimespanForHeight to accept ref

* changed NetworkUpgrade::ActivationHeight to accept ref

* changed sapling_activation_height to accept ref

* fixed lifetime for target_spacings

* fixed sapling_activation_height

* changed transaction_to_fake_v5 and fake_v5_transactions_for_network to accept ref to network

* changed Input::vec_strategy to accept ref to network

* changed functions in zebra-chain/src/primitives/zcash_history.rs to accept ref to network

* changed functions in zebra-chain/src/history_tree.rs to accept ref to network

* changed functions in zebra-chain/src/history_tree.rs to accept ref to network

* changed functions in zebra-chain/src/primitives/address.rs to accept ref to network

* changed functions in zebra-chain/src/primitives/viewing_key* to accept ref to network

* changed functions in zebra-chain/src/transparent/address.rs to accept ref to network

* changed functions in zebra-chain/src/primitives/zcash_primitives.rs to accept ref to network

* changed functions in zebra-chain/src/primitives/zcash_note_encryption.rs to accept ref to network

* changed functions in zebra-chain/src/primitives/history_tree* to accept ref to network

* changed functions in zebra-chain/src/block* to accept ref to network

* fixed errors in zebra-chain::parameters::network

* fixed errors in zebra-chain::parameters::network

* fixed errors in zebra-chain

* changed NonEmptyHistoryTree and InnerHistoryTree to hold value instead of ref

* changed NonEmptyHistoryTree and InnerHistoryTree to hold value instead of ref

* fixed errors in zebra-chain/src/block/arbitrary.rs

* finished fixing errors in zebra-chain - all crate tests pass

* changed functions in zebra-state::service::finalized_state to accept &Network

* changed functions in zebra-state::service::non_finalized_state to accept &Network

* zebra-state tests run but fail with overflow error

* zebra-state tests all pass

* converted zebra-network -- all crate tests pass

* applied all requested changes from review

* converted zebra-consensus -- all crate tests pass

* converted zebra-scan -- all crate tests pass

* converted zebra-rpc -- all crate tests pass

* converted zebra-grpc -- all crate tests pass

* converted zebrad -- all crate tests pass

* applied all requested changes from review

* fixed all clippy errors

* fixed build error in zebrad/src/components/mempool/crawler.rs
2024-03-19 20:45:27 +00:00
..
block change(chain): Remove `Copy` trait impl from `Network` (#8354) 2024-03-19 20:45:27 +00:00
checkpoint change(chain): Remove `Copy` trait impl from `Network` (#8354) 2024-03-19 20:45:27 +00:00
parameters change(chain): Remove `Copy` trait impl from `Network` (#8354) 2024-03-19 20:45:27 +00:00
primitives chore: allow crater runs (#8171) 2024-02-23 12:47:10 +00:00
router change(chain): Remove `Copy` trait impl from `Network` (#8354) 2024-03-19 20:45:27 +00:00
transaction change(chain): Remove `Copy` trait impl from `Network` (#8354) 2024-03-19 20:45:27 +00:00
block.rs change(chain): Remove `Copy` trait impl from `Network` (#8354) 2024-03-19 20:45:27 +00:00
checkpoint.rs change(chain): Remove `Copy` trait impl from `Network` (#8354) 2024-03-19 20:45:27 +00:00
config.rs change(scan): Create a scanner storage database, but don't use it yet (#8031) 2023-11-30 12:59:15 +00:00
error.rs feat(mempool): add ZIP-317 rules to mempool (#6556) 2023-05-02 00:13:33 +00:00
lib.rs change(consensus): Refactor production code for network consensus rules to `Network` methods (#8340) 2024-03-12 21:41:44 +00:00
parameters.rs Remove duplicate and redundant consensus parameter code (#4760) 2022-07-22 16:33:26 +00:00
primitives.rs cleanup(consensus): Avoid blocking threads by awaiting proof verification results from rayon in async context (#6887) 2023-07-12 21:30:07 +00:00
router.rs change(chain): Remove `Copy` trait impl from `Network` (#8354) 2024-03-19 20:45:27 +00:00
script.rs refactor: address comments from #3415: Prepare for changes in ZIP-244 (#3446) 2022-02-01 06:24:08 +00:00
transaction.rs change(chain): Remove `Copy` trait impl from `Network` (#8354) 2024-03-19 20:45:27 +00:00