Class Event.SpendableOutputs

  • Enclosing class:
    Event

    public static final class Event.SpendableOutputs
    extends Event
    Used to indicate that an output which you should know how to spend was confirmed on chain and is now spendable. Such an output will *not* ever be spent by rust-lightning, and are not at risk of your counterparty spending them due to some kind of timeout. Thus, you need to store them somewhere and spend them when you create on-chain transactions.
    • Field Detail

      • channel_id

        public final Option_ThirtyTwoBytesZ channel_id
        The `channel_id` indicating which channel the spendable outputs belong to. This will always be `Some` for events generated by LDK versions 0.0.117 and above.