Expose existing PackageID to API and rename to ClaimId
[rust-lightning] / lightning / src / chain / mod.rs
index abd888b3cf28bc12847e149f0dae1d59a2d4aecb..a32bcb29901fc1182c21b8e3e02ce9c6f92b3bb7 100644 (file)
@@ -389,3 +389,7 @@ where
                self.1.block_disconnected(header, height);
        }
 }
+
+/// A unique identifier to track each pending output claim within a [`ChannelMonitor`].
+#[derive(Copy, Clone, Debug, Hash, PartialEq, Eq)]
+pub struct ClaimId(pub [u8; 32]);