zebra/zebrad/tests/common
Arya 988dd55e48
change(network-params): Configurable Testnet funding streams (#8718)
* Addresses clippy lints

* checks network magic and returns early from `is_regtest()`

* Moves  `subsidy.rs` to `zebra-chain`, refactors funding streams into structs, splits them into pre/post NU6 funding streams, and adds them as a field on `testnet::Parameters`

* Replaces Vec with HashMap, adds `ConfiguredFundingStreams` type and conversion logic with constraints.

Minor refactors

* Empties recipients list

* Adds a comment on num_addresses calculation being invalid for configured Testnets, but that being okay since configured testnet parameters are checked when they're being built

* Documentation fixes, minor cleanup, renames a test, adds TODOs, and fixes test logic

* Removes unnecessary `ParameterSubsidy` impl for &Network, adds docs and TODOs

---------

Co-authored-by: Pili Guerra <mpguerra@users.noreply.github.com>
2024-07-29 16:15:09 +00:00
..
configs change(network-params): Configurable Testnet funding streams (#8718) 2024-07-29 16:15:09 +00:00
get_block_template_rpcs change(rpc): Adds a TrustedChainSync struct for keeping up with Zebra's non-finalized best chain from a separate process (#8596) 2024-07-09 14:15:47 +00:00
lightwalletd Addresses clippy lints (#8723) 2024-07-26 14:29:35 +00:00
cached_state.rs change(chain): Remove `Copy` trait impl from `Network` (#8354) 2024-03-19 20:45:27 +00:00
check.rs
checkpoints.rs add(consensus/network): Add an empty `Parameters` struct in `Network::Testnet` (#8368) 2024-04-17 02:20:34 +00:00
config.rs Addresses clippy lints (#8723) 2024-07-26 14:29:35 +00:00
failure_messages.rs change(docs): update docs for new lightwalletd version used in Zebra (#7427) 2023-08-30 22:30:20 +00:00
get_block_template_rpcs.rs change(rpc): Add getpeerinfo RPC method (#5951) 2023-01-17 07:09:07 +00:00
launch.rs fix(beta-toolchain): Warnings (#8404) 2024-04-18 01:45:22 +00:00
lightwalletd.rs fix(beta-toolchain): Warnings (#8404) 2024-04-18 01:45:22 +00:00
mod.rs tests(scanner): Move zebra scanner tests to binary (#8659) 2024-07-15 21:15:04 +00:00
regtest.rs add(network-params): Allow configuring NU6 activation height on Regtest (#8700) 2024-07-22 11:36:35 +00:00
sync.rs fix(beta-toolchain): Warnings (#8404) 2024-04-18 01:45:22 +00:00
test_type.rs change(chain): Remove `Copy` trait impl from `Network` (#8354) 2024-03-19 20:45:27 +00:00