From: Matt Corallo Date: Sun, 4 Jul 2021 14:51:21 +0000 (+0000) Subject: Add standard derives for ConfirmationTarget X-Git-Tag: v0.0.100~3^2~8 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=29b43ba1654261ce5ce6ee1c637dec47116439a4;p=rust-lightning Add standard derives for ConfirmationTarget --- diff --git a/lightning/src/chain/chaininterface.rs b/lightning/src/chain/chaininterface.rs index 83fee4d67..8ccfb9455 100644 --- a/lightning/src/chain/chaininterface.rs +++ b/lightning/src/chain/chaininterface.rs @@ -23,6 +23,7 @@ pub trait BroadcasterInterface { /// An enum that represents the speed at which we want a transaction to confirm used for feerate /// estimation. +#[derive(Clone, Copy, PartialEq, Eq)] pub enum ConfirmationTarget { /// We are happy with this transaction confirming slowly when feerate drops some. Background,