Class LnrpcChannelAcceptRequest

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

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

  • Constructor Details

    • LnrpcChannelAcceptRequest

      public LnrpcChannelAcceptRequest()
  • Method Details

    • nodePubkey

      public LnrpcChannelAcceptRequest nodePubkey(byte[] nodePubkey)
    • getNodePubkey

      @Nullable public byte[] getNodePubkey()
      The pubkey of the node that wishes to open an inbound channel.
      Returns:
      nodePubkey
    • setNodePubkey

      public void setNodePubkey(byte[] nodePubkey)
    • chainHash

      public LnrpcChannelAcceptRequest chainHash(byte[] chainHash)
    • getChainHash

      @Nullable public byte[] getChainHash()
      The hash of the genesis block that the proposed channel resides in.
      Returns:
      chainHash
    • setChainHash

      public void setChainHash(byte[] chainHash)
    • pendingChanId

      public LnrpcChannelAcceptRequest pendingChanId(byte[] pendingChanId)
    • getPendingChanId

      @Nullable public byte[] getPendingChanId()
      The pending channel id.
      Returns:
      pendingChanId
    • setPendingChanId

      public void setPendingChanId(byte[] pendingChanId)
    • fundingAmt

      public LnrpcChannelAcceptRequest fundingAmt(String fundingAmt)
    • getFundingAmt

      @Nullable public String getFundingAmt()
      The funding amount in satoshis that initiator wishes to use in the channel.
      Returns:
      fundingAmt
    • setFundingAmt

      public void setFundingAmt(String fundingAmt)
    • pushAmt

      public LnrpcChannelAcceptRequest pushAmt(String pushAmt)
    • getPushAmt

      @Nullable public String getPushAmt()
      The push amount of the proposed channel in millisatoshis.
      Returns:
      pushAmt
    • setPushAmt

      public void setPushAmt(String pushAmt)
    • dustLimit

      public LnrpcChannelAcceptRequest dustLimit(String dustLimit)
    • getDustLimit

      @Nullable public String getDustLimit()
      The dust limit of the initiator's commitment tx.
      Returns:
      dustLimit
    • setDustLimit

      public void setDustLimit(String dustLimit)
    • maxValueInFlight

      public LnrpcChannelAcceptRequest maxValueInFlight(String maxValueInFlight)
    • getMaxValueInFlight

      @Nullable public String getMaxValueInFlight()
      The maximum amount of coins in millisatoshis that can be pending in this channel.
      Returns:
      maxValueInFlight
    • setMaxValueInFlight

      public void setMaxValueInFlight(String maxValueInFlight)
    • channelReserve

      public LnrpcChannelAcceptRequest channelReserve(String channelReserve)
    • getChannelReserve

      @Nullable public String getChannelReserve()
      The minimum amount of satoshis the initiator requires us to have at all times.
      Returns:
      channelReserve
    • setChannelReserve

      public void setChannelReserve(String channelReserve)
    • minHtlc

      public LnrpcChannelAcceptRequest minHtlc(String minHtlc)
    • getMinHtlc

      @Nullable public String getMinHtlc()
      The smallest HTLC in millisatoshis that the initiator will accept.
      Returns:
      minHtlc
    • setMinHtlc

      public void setMinHtlc(String minHtlc)
    • feePerKw

      public LnrpcChannelAcceptRequest feePerKw(String feePerKw)
    • getFeePerKw

      @Nullable public String getFeePerKw()
      The initial fee rate that the initiator suggests for both commitment transactions.
      Returns:
      feePerKw
    • setFeePerKw

      public void setFeePerKw(String feePerKw)
    • csvDelay

      public LnrpcChannelAcceptRequest csvDelay(Long csvDelay)
    • getCsvDelay

      @Nullable public Long getCsvDelay()
      The number of blocks to use for the relative time lock in the pay-to-self output of both commitment transactions.
      Returns:
      csvDelay
    • setCsvDelay

      public void setCsvDelay(Long csvDelay)
    • maxAcceptedHtlcs

      public LnrpcChannelAcceptRequest maxAcceptedHtlcs(Long maxAcceptedHtlcs)
    • getMaxAcceptedHtlcs

      @Nullable public Long getMaxAcceptedHtlcs()
      The total number of incoming HTLC's that the initiator will accept.
      Returns:
      maxAcceptedHtlcs
    • setMaxAcceptedHtlcs

      public void setMaxAcceptedHtlcs(Long maxAcceptedHtlcs)
    • channelFlags

      public LnrpcChannelAcceptRequest channelFlags(Long channelFlags)
    • getChannelFlags

      @Nullable public Long getChannelFlags()
      A bit-field which the initiator uses to specify proposed channel behavior.
      Returns:
      channelFlags
    • setChannelFlags

      public void setChannelFlags(Long channelFlags)
    • commitmentType

      public LnrpcChannelAcceptRequest commitmentType(LnrpcCommitmentType commitmentType)
    • getCommitmentType

      @Nullable public LnrpcCommitmentType getCommitmentType()
      Get commitmentType
      Returns:
      commitmentType
    • setCommitmentType

      public void setCommitmentType(LnrpcCommitmentType commitmentType)
    • wantsZeroConf

      public LnrpcChannelAcceptRequest wantsZeroConf(Boolean wantsZeroConf)
    • getWantsZeroConf

      @Nullable public Boolean getWantsZeroConf()
      Whether the initiator wants to open a zero-conf channel via the channel type.
      Returns:
      wantsZeroConf
    • setWantsZeroConf

      public void setWantsZeroConf(Boolean wantsZeroConf)
    • wantsScidAlias

      public LnrpcChannelAcceptRequest wantsScidAlias(Boolean wantsScidAlias)
    • getWantsScidAlias

      @Nullable public Boolean getWantsScidAlias()
      Whether the initiator wants to use the scid-alias channel type. This is separate from the feature bit.
      Returns:
      wantsScidAlias
    • setWantsScidAlias

      public void setWantsScidAlias(Boolean wantsScidAlias)
    • 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