projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e55e0d5
)
Implement Hash for ConfirmationTarget
author
benthecarman
<benthecarman@live.com>
Fri, 4 Nov 2022 07:32:45 +0000
(
02:32
-0500)
committer
benthecarman
<benthecarman@live.com>
Fri, 4 Nov 2022 07:32:45 +0000
(
02:32
-0500)
lightning/src/chain/chaininterface.rs
patch
|
blob
|
history
diff --git
a/lightning/src/chain/chaininterface.rs
b/lightning/src/chain/chaininterface.rs
index cbf609485ce1984800fa991e22d952e33ab5db56..1a446249105c8772ead4b9f1c1167d3ea160219a 100644
(file)
--- a/
lightning/src/chain/chaininterface.rs
+++ b/
lightning/src/chain/chaininterface.rs
@@
-25,7
+25,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)]
+#[derive(Clone, Copy,
Hash,
PartialEq, Eq)]
pub enum ConfirmationTarget {
/// We are happy with this transaction confirming slowly when feerate drops some.
Background,