Class LnrpcChanPointShim

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

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

  • Constructor Details

    • LnrpcChanPointShim

      public LnrpcChanPointShim()
  • Method Details

    • amt

      public LnrpcChanPointShim amt(String amt)
    • getAmt

      @Nullable public String getAmt()
      The size of the pre-crafted output to be used as the channel point for this channel funding.
      Returns:
      amt
    • setAmt

      public void setAmt(String amt)
    • chanPoint

      public LnrpcChanPointShim chanPoint(LnrpcChannelPoint chanPoint)
    • getChanPoint

      @Nullable public LnrpcChannelPoint getChanPoint()
      Get chanPoint
      Returns:
      chanPoint
    • setChanPoint

      public void setChanPoint(LnrpcChannelPoint chanPoint)
    • localKey

      public LnrpcChanPointShim localKey(LnrpcKeyDescriptor localKey)
    • getLocalKey

      @Nullable public LnrpcKeyDescriptor getLocalKey()
      Get localKey
      Returns:
      localKey
    • setLocalKey

      public void setLocalKey(LnrpcKeyDescriptor localKey)
    • remoteKey

      public LnrpcChanPointShim remoteKey(byte[] remoteKey)
    • getRemoteKey

      @Nullable public byte[] getRemoteKey()
      The key of the remote party to use when creating the multi-sig output.
      Returns:
      remoteKey
    • setRemoteKey

      public void setRemoteKey(byte[] remoteKey)
    • pendingChanId

      public LnrpcChanPointShim pendingChanId(byte[] pendingChanId)
    • getPendingChanId

      @Nullable public byte[] getPendingChanId()
      If non-zero, then this will be used as the pending channel ID on the wire protocol to initate the funding request. This is an optional field, and should only be set if the responder is already expecting a specific pending channel ID.
      Returns:
      pendingChanId
    • setPendingChanId

      public void setPendingChanId(byte[] pendingChanId)
    • thawHeight

      public LnrpcChanPointShim thawHeight(Long thawHeight)
    • getThawHeight

      @Nullable public Long getThawHeight()
      This uint32 indicates if this channel is to be considered 'frozen'. A frozen channel does not allow a cooperative channel close by the initiator. The thaw_height is the height that this restriction stops applying to the channel. The height can be interpreted in two ways: as a relative height if the value is less than 500,000, or as an absolute height otherwise.
      Returns:
      thawHeight
    • setThawHeight

      public void setThawHeight(Long thawHeight)
    • 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