Package org.ldk.structs
Class DirectedChannelTransactionParameters
- java.lang.Object
-
- org.ldk.structs.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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChannelPublicKeys
broadcaster_pubkeys()
Get the channel pubkeys for the broadcastershort
contest_delay()
Get the contest delay applicable to the transactions.ChannelPublicKeys
countersignatory_pubkeys()
Get the channel pubkeys for the countersignatoryprotected void
finalize()
OutPoint
funding_outpoint()
The funding outpointboolean
is_outbound()
Whether the channel is outbound from the broadcaster.
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
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
-
-