Package net.osslabz.lnd.dto
Class LnrpcFundingPsbtVerify
java.lang.Object
net.osslabz.lnd.dto.LnrpcFundingPsbtVerify
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-07T12:03:34.958542131Z[Etc/UTC]")
public class LnrpcFundingPsbtVerify
extends Object
LnrpcFundingPsbtVerify
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfundedPsbt(byte[] fundedPsbt) byte[]The funded but not yet signed PSBT that sends the exact channel capacity amount to the PK script returned in the open channel message in a previous step.byte[]The pending channel ID of the channel to get the PSBT for.Can only be used if the no_publish flag was set to true in the OpenChannel call meaning that the caller is solely responsible for publishing the final funding transaction.inthashCode()pendingChanId(byte[] pendingChanId) voidsetFundedPsbt(byte[] fundedPsbt) voidsetPendingChanId(byte[] pendingChanId) voidsetSkipFinalize(Boolean skipFinalize) skipFinalize(Boolean skipFinalize) toString()
-
Field Details
-
SERIALIZED_NAME_FUNDED_PSBT
- See Also:
-
SERIALIZED_NAME_PENDING_CHAN_ID
- See Also:
-
SERIALIZED_NAME_SKIP_FINALIZE
- See Also:
-
-
Constructor Details
-
LnrpcFundingPsbtVerify
public LnrpcFundingPsbtVerify()
-
-
Method Details
-
fundedPsbt
-
getFundedPsbt
@Nullable public byte[] getFundedPsbt()The funded but not yet signed PSBT that sends the exact channel capacity amount to the PK script returned in the open channel message in a previous step.- Returns:
- fundedPsbt
-
setFundedPsbt
public void setFundedPsbt(byte[] fundedPsbt) -
pendingChanId
-
getPendingChanId
@Nullable public byte[] getPendingChanId()The pending channel ID of the channel to get the PSBT for.- Returns:
- pendingChanId
-
setPendingChanId
public void setPendingChanId(byte[] pendingChanId) -
skipFinalize
-
getSkipFinalize
Can only be used if the no_publish flag was set to true in the OpenChannel call meaning that the caller is solely responsible for publishing the final funding transaction. If skip_finalize is set to true then lnd will not wait for a FundingPsbtFinalize state step and instead assumes that a transaction with the same TXID as the passed in PSBT will eventually confirm. IT IS ABSOLUTELY IMPERATIVE that the TXID of the transaction that is eventually published does have the _same TXID_ as the verified PSBT. That means no inputs or outputs can change, only signatures can be added. If the TXID changes between this call and the publish step then the channel will never be created and the funds will be in limbo.- Returns:
- skipFinalize
-
setSkipFinalize
-
equals
-
hashCode
public int hashCode() -
toString
-