* Move peer address validation into its own module * Add a network parameter to AddressBook and some MetaAddr methods * Reject invalid initial peers, and connect to them in preferred order * Reject Flux/ZelCash and misconfigured Zcash peers * Prefer canonical Zcash ports * Make peer_preference into a struct method * Prefer peer addresses with canonical ports for outbound connections * Also ignore the Zcash regtest port * Document where field and variant order is required for correctness * Use the correct peer count Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| proptest-regressions | ||
| src | ||
| Cargo.toml | ||