mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-03-15 15:39:09 +01:00
Do not export new anchors structs in events.rs
without anchors
This avoids adding unused, effectively-dummy public structs in `events.rs`.
This commit is contained in:
parent
a257906743
commit
a834a04e5c
1 changed files with 2 additions and 0 deletions
|
@ -205,6 +205,7 @@ impl_writeable_tlv_based_enum_upgradable!(HTLCDestination,
|
|||
}
|
||||
);
|
||||
|
||||
#[cfg(anchors)]
|
||||
/// A descriptor used to sign for a commitment transaction's anchor output.
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct AnchorDescriptor {
|
||||
|
@ -224,6 +225,7 @@ pub struct AnchorDescriptor {
|
|||
pub outpoint: OutPoint,
|
||||
}
|
||||
|
||||
#[cfg(anchors)]
|
||||
/// Represents the different types of transactions, originating from LDK, to be bumped.
|
||||
#[derive(Clone, Debug)]
|
||||
pub enum BumpTransactionEvent {
|
||||
|
|
Loading…
Add table
Reference in a new issue