Merge pull request #2571 from davidcaseria/htlc-descriptor-writeable
[rust-lightning] / lightning / src / chain / mod.rs
index abd888b3cf28bc12847e149f0dae1d59a2d4aecb..236b10a7b19d1288b5d74f784d066c2a8bacc169 100644 (file)
@@ -389,3 +389,9 @@ where
                self.1.block_disconnected(header, height);
        }
 }
+
+/// A unique identifier to track each pending output claim within a [`ChannelMonitor`].
+///
+/// This is not exported to bindings users as we just use [u8; 32] directly.
+#[derive(Copy, Clone, Debug, Hash, PartialEq, Eq)]
+pub struct ClaimId(pub [u8; 32]);