Uses of Class
org.ldk.structs.ShutdownScript
-
Packages that use ShutdownScript Package Description org.ldk.structs -
-
Uses of ShutdownScript in org.ldk.structs
Fields in org.ldk.structs declared as ShutdownScript Modifier and Type Field Description ShutdownScript
Result_ShutdownScriptDecodeErrorZ.Result_ShutdownScriptDecodeErrorZ_OK. res
ShutdownScript
Result_ShutdownScriptInvalidShutdownScriptZ.Result_ShutdownScriptInvalidShutdownScriptZ_OK. res
ShutdownScript
APIError.IncompatibleShutdownScript. script
The incompatible shutdown script.Methods in org.ldk.structs that return ShutdownScript Modifier and Type Method Description ShutdownScript
ShutdownScript. clone()
Creates a copy of the ShutdownScriptShutdownScript
KeysInterface. get_shutdown_scriptpubkey()
Get a script pubkey which we will send funds to when closing a channel.ShutdownScript
KeysInterface.KeysInterfaceInterface. get_shutdown_scriptpubkey()
Get a script pubkey which we will send funds to when closing a channel.static ShutdownScript
ShutdownScript. new_p2pkh(byte[] pubkey_hash)
Generates a P2PKH script pubkey from the given [`PubkeyHash`].static ShutdownScript
ShutdownScript. new_p2sh(byte[] script_hash)
Generates a P2SH script pubkey from the given [`ScriptHash`].static ShutdownScript
ShutdownScript. new_p2wpkh(byte[] pubkey_hash)
Generates a P2WPKH script pubkey from the given [`WPubkeyHash`].static ShutdownScript
ShutdownScript. new_p2wsh(byte[] script_hash)
Generates a P2WSH script pubkey from the given [`WScriptHash`].Methods in org.ldk.structs with parameters of type ShutdownScript Modifier and Type Method Description static APIError
APIError. incompatible_shutdown_script(ShutdownScript script)
Utility method to constructs a new IncompatibleShutdownScript-variant APIErrorstatic Result_ShutdownScriptDecodeErrorZ
Result_ShutdownScriptDecodeErrorZ. ok(ShutdownScript o)
Creates a new CResult_ShutdownScriptDecodeErrorZ in the success state.static Result_ShutdownScriptInvalidShutdownScriptZ
Result_ShutdownScriptInvalidShutdownScriptZ. ok(ShutdownScript o)
Creates a new CResult_ShutdownScriptInvalidShutdownScriptZ in the success state.
-