Class DirectedChannelTransactionParameters


  • public class DirectedChannelTransactionParameters
    extends Object
    Static channel fields used to build transactions given per-commitment fields, organized by broadcaster/countersignatory. This is derived from the holder/counterparty-organized ChannelTransactionParameters via the as_holder_broadcastable and as_counterparty_broadcastable functions.
    • Method Detail

      • broadcaster_pubkeys

        public ChannelPublicKeys broadcaster_pubkeys()
        Get the channel pubkeys for the broadcaster
      • countersignatory_pubkeys

        public ChannelPublicKeys countersignatory_pubkeys()
        Get the channel pubkeys for the countersignatory
      • contest_delay

        public short contest_delay()
        Get the contest delay applicable to the transactions. Note that the contest delay was selected by the countersignatory.
      • is_outbound

        public boolean is_outbound()
        Whether the channel is outbound from the broadcaster. The boolean representing the side that initiated the channel is an input to the commitment number obscure factor computation.
      • funding_outpoint

        public OutPoint funding_outpoint()
        The funding outpoint
      • opt_anchors

        public boolean opt_anchors()
        Whether to use anchors for this channel