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 Details

  • Constructor Details

    • LnrpcFundingPsbtVerify

      public LnrpcFundingPsbtVerify()
  • Method Details

    • fundedPsbt

      public LnrpcFundingPsbtVerify fundedPsbt(byte[] 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

      public LnrpcFundingPsbtVerify pendingChanId(byte[] 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

      public LnrpcFundingPsbtVerify skipFinalize(Boolean skipFinalize)
    • getSkipFinalize

      @Nullable public Boolean 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

      public void setSkipFinalize(Boolean skipFinalize)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object