Package org.ldk.structs
Class WriteableEcdsaChannelSigner
- java.lang.Object
-
- org.ldk.structs.WriteableEcdsaChannelSigner
-
public class WriteableEcdsaChannelSigner extends Object
A writeable signer. There will always be two instances of a signer per channel, one occupied by the [`ChannelManager`] and another by the channel's [`ChannelMonitor`]. [`ChannelManager`]: crate::ln::channelmanager::ChannelManager [`ChannelMonitor`]: crate::chain::channelmonitor::ChannelMonitor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
WriteableEcdsaChannelSigner.WriteableEcdsaChannelSignerInterface
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WriteableEcdsaChannelSigner
clone()
Creates a copy of a WriteableEcdsaChannelSignervoid
destroy()
Destroys the object, freeing associated resources.protected void
finalize()
ChannelSigner
get_channel_signer()
Gets the underlying ChannelSigner.EcdsaChannelSigner
get_ecdsa_channel_signer()
Gets the underlying EcdsaChannelSigner.static WriteableEcdsaChannelSigner
new_impl(WriteableEcdsaChannelSigner.WriteableEcdsaChannelSignerInterface arg, EcdsaChannelSigner.EcdsaChannelSignerInterface EcdsaChannelSigner_impl, ChannelSigner.ChannelSignerInterface ChannelSigner_impl, ChannelPublicKeys pubkeys)
byte[]
write()
Serialize the object into a byte array
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
destroy
public void destroy()
Destroys the object, freeing associated resources. After this call, any access to this object may result in a SEGFAULT or worse. You should generally NEVER call this method. You should let the garbage collector do this for you when it finalizes objects. However, it may be useful for types which represent locks and should be closed immediately to avoid holding locks until the GC runs.
-
new_impl
public static WriteableEcdsaChannelSigner new_impl(WriteableEcdsaChannelSigner.WriteableEcdsaChannelSignerInterface arg, EcdsaChannelSigner.EcdsaChannelSignerInterface EcdsaChannelSigner_impl, ChannelSigner.ChannelSignerInterface ChannelSigner_impl, ChannelPublicKeys pubkeys)
-
get_ecdsa_channel_signer
public EcdsaChannelSigner get_ecdsa_channel_signer()
Gets the underlying EcdsaChannelSigner.
-
get_channel_signer
public ChannelSigner get_channel_signer()
Gets the underlying ChannelSigner.
-
write
public byte[] write()
Serialize the object into a byte array
-
clone
public WriteableEcdsaChannelSigner clone()
Creates a copy of a WriteableEcdsaChannelSigner
-
-