projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9d8d24f
)
Add standard derives for ConfirmationTarget
author
Matt Corallo
<git@bluematt.me>
Sun, 4 Jul 2021 14:51:21 +0000
(14:51 +0000)
committer
Matt Corallo
<git@bluematt.me>
Tue, 10 Aug 2021 22:26:13 +0000
(22:26 +0000)
lightning/src/chain/chaininterface.rs
patch
|
blob
|
history
diff --git
a/lightning/src/chain/chaininterface.rs
b/lightning/src/chain/chaininterface.rs
index 83fee4d674d1611e82dccee1e1c674e8fb94f9aa..8ccfb945543ada51199c6db6874c1507cb96cb36 100644
(file)
--- 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.
/// 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,
pub enum ConfirmationTarget {
/// We are happy with this transaction confirming slowly when feerate drops some.
Background,