Class LnrpcPsbtShim

java.lang.Object
net.osslabz.lnd.dto.LnrpcPsbtShim

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-07T12:03:34.958542131Z[Etc/UTC]") public class LnrpcPsbtShim extends Object
LnrpcPsbtShim
  • Field Details

  • Constructor Details

    • LnrpcPsbtShim

      public LnrpcPsbtShim()
  • Method Details

    • pendingChanId

      public LnrpcPsbtShim pendingChanId(byte[] pendingChanId)
    • getPendingChanId

      @Nullable public byte[] getPendingChanId()
      A unique identifier of 32 random bytes that will be used as the pending channel ID to identify the PSBT state machine when interacting with it and on the wire protocol to initiate the funding request.
      Returns:
      pendingChanId
    • setPendingChanId

      public void setPendingChanId(byte[] pendingChanId)
    • basePsbt

      public LnrpcPsbtShim basePsbt(byte[] basePsbt)
    • getBasePsbt

      @Nullable public byte[] getBasePsbt()
      An optional base PSBT the new channel output will be added to. If this is non-empty, it must be a binary serialized PSBT.
      Returns:
      basePsbt
    • setBasePsbt

      public void setBasePsbt(byte[] basePsbt)
    • noPublish

      public LnrpcPsbtShim noPublish(Boolean noPublish)
    • getNoPublish

      @Nullable public Boolean getNoPublish()
      If a channel should be part of a batch (multiple channel openings in one transaction), it can be dangerous if the whole batch transaction is published too early before all channel opening negotiations are completed. This flag prevents this particular channel from broadcasting the transaction after the negotiation with the remote peer. In a batch of channel openings this flag should be set to true for every channel but the very last.
      Returns:
      noPublish
    • setNoPublish

      public void setNoPublish(Boolean noPublish)
    • 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