Merge rust-bitcoin/rust-bitcoin#1216: consensus::Params should be non_exhaustive
445037fb70
consensus::Params should be non_exhaustive (hrouis) Pull request description: fixes: https://github.com/rust-bitcoin/rust-bitcoin/issues/1213 ACKs for top commit: apoelstra: ACK445037fb70
tcharding: ACK445037fb70
Kixunil: ACK445037fb70
Tree-SHA512: a68fef69c58790caff7fc76ec780e04cd044d8f0037ecb0b93bcc3c71f9a64b9cfbc66cee51944583a311b122c1a7a25f7f434a45232ba9928b53011180fa1bc
This commit is contained in:
commit
5548696521
|
@ -40,6 +40,7 @@ const MAX_BITS_REGTEST: Uint256 = Uint256([
|
|||
]);
|
||||
|
||||
/// Parameters that influence chain consensus.
|
||||
#[non_exhaustive]
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Params {
|
||||
/// Network for which parameters are valid.
|
||||
|
|
Loading…
Reference in New Issue