Package org.ldk.structs
Class APIError.IncompatibleShutdownScript
- java.lang.Object
-
- org.ldk.structs.APIError
-
- org.ldk.structs.APIError.IncompatibleShutdownScript
-
- Enclosing class:
- APIError
public static final class APIError.IncompatibleShutdownScript extends APIError
[`SignerProvider::get_shutdown_scriptpubkey`] returned a shutdown scriptpubkey incompatible with the channel counterparty as negotiated in [`InitFeatures`]. Using a SegWit v0 script should resolve this issue. If you cannot, you won't be able to open a channel or cooperatively close one with this peer (and will have to force-close instead). [`SignerProvider::get_shutdown_scriptpubkey`]: crate::chain::keysinterface::SignerProvider::get_shutdown_scriptpubkey [`InitFeatures`]: crate::ln::features::InitFeatures
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ldk.structs.APIError
APIError.APIMisuseError, APIError.ChannelUnavailable, APIError.FeeRateTooHigh, APIError.IncompatibleShutdownScript, APIError.InvalidRoute, APIError.MonitorUpdateInProgress
-
-
Field Summary
Fields Modifier and Type Field Description ShutdownScript
script
The incompatible shutdown script.
-
Method Summary
-
Methods inherited from class org.ldk.structs.APIError
apimisuse_error, channel_unavailable, clone, eq, equals, fee_rate_too_high, finalize, incompatible_shutdown_script, invalid_route, monitor_update_in_progress, write
-
-
-
-
Field Detail
-
script
public final ShutdownScript script
The incompatible shutdown script.
-
-