]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Add standard derives for ConfirmationTarget
authorMatt Corallo <git@bluematt.me>
Sun, 4 Jul 2021 14:51:21 +0000 (14:51 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 10 Aug 2021 22:26:13 +0000 (22:26 +0000)
lightning/src/chain/chaininterface.rs

index 83fee4d674d1611e82dccee1e1c674e8fb94f9aa..8ccfb945543ada51199c6db6874c1507cb96cb36 100644 (file)
@@ -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,