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 ShutdownScriptResult_ShutdownScriptDecodeErrorZ.Result_ShutdownScriptDecodeErrorZ_OK. resShutdownScriptResult_ShutdownScriptInvalidShutdownScriptZ.Result_ShutdownScriptInvalidShutdownScriptZ_OK. resShutdownScriptResult_ShutdownScriptNoneZ.Result_ShutdownScriptNoneZ_OK. resShutdownScriptAPIError.IncompatibleShutdownScript. scriptThe incompatible shutdown script.Methods in org.ldk.structs that return ShutdownScript Modifier and Type Method Description ShutdownScriptShutdownScript. clone()Creates a copy of the ShutdownScriptstatic ShutdownScriptShutdownScript. new_p2wpkh(byte[] pubkey_hash)Generates a P2WPKH script pubkey from the given [`WPubkeyHash`].static ShutdownScriptShutdownScript. 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 Result_NoneAPIErrorZChannelManager. close_channel_with_feerate_and_script(byte[] channel_id, byte[] counterparty_node_id, Option_u32Z target_feerate_sats_per_1000_weight, ShutdownScript shutdown_script)Begins the process of closing a channel.booleanShutdownScript. eq(ShutdownScript b)Checks if two ShutdownScripts contain equal inner contents.static APIErrorAPIError. incompatible_shutdown_script(ShutdownScript script)Utility method to constructs a new IncompatibleShutdownScript-variant APIErrorstatic Result_ShutdownScriptDecodeErrorZResult_ShutdownScriptDecodeErrorZ. ok(ShutdownScript o)Creates a new CResult_ShutdownScriptDecodeErrorZ in the success state.static Result_ShutdownScriptInvalidShutdownScriptZResult_ShutdownScriptInvalidShutdownScriptZ. ok(ShutdownScript o)Creates a new CResult_ShutdownScriptInvalidShutdownScriptZ in the success state.static Result_ShutdownScriptNoneZResult_ShutdownScriptNoneZ. ok(ShutdownScript o)Creates a new CResult_ShutdownScriptNoneZ in the success state.
-