* Adds a `target_difficulty_limit` field on `testnet::Parameters` * updates test to increment block nonce until finding a block that's below the difficulty threshold * increment the nonce while the difficulty is invalid instead of while the difficulty threshold is invalid * Adds comments * moves network Magic type from zebra-network to zebra-chain * Adds `network_magic` field to `testnet::Parameters` and uses the regtest network magic from zcashd * Add a network magic config field for custom testnets * Adds/updates tests * Update zebra-chain/src/parameters/network/testnet.rs * Adds a link to the Regtest network magic in zcashd --------- Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com> |
||
---|---|---|
.. | ||
proptest-regressions | ||
src | ||
tests | ||
Cargo.toml | ||
LICENSE |