Package net.osslabz.lnd.dto
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchainHash(byte[] chainHash) channelFlags(Long channelFlags) channelReserve(String channelReserve) commitmentType(LnrpcCommitmentType commitmentType) booleanfundingAmt(String fundingAmt) byte[]The hash of the genesis block that the proposed channel resides in.A bit-field which the initiator uses to specify proposed channel behavior.The minimum amount of satoshis the initiator requires us to have at all times.Get commitmentTypeThe number of blocks to use for the relative time lock in the pay-to-self output of both commitment transactions.The dust limit of the initiator's commitment tx.The initial fee rate that the initiator suggests for both commitment transactions.The funding amount in satoshis that initiator wishes to use in the channel.The total number of incoming HTLC's that the initiator will accept.The maximum amount of coins in millisatoshis that can be pending in this channel.The smallest HTLC in millisatoshis that the initiator will accept.byte[]The pubkey of the node that wishes to open an inbound channel.byte[]The pending channel id.The push amount of the proposed channel in millisatoshis.Whether the initiator wants to use the scid-alias channel type.Whether the initiator wants to open a zero-conf channel via the channel type.inthashCode()maxAcceptedHtlcs(Long maxAcceptedHtlcs) maxValueInFlight(String maxValueInFlight) nodePubkey(byte[] nodePubkey) pendingChanId(byte[] pendingChanId) voidsetChainHash(byte[] chainHash) voidsetChannelFlags(Long channelFlags) voidsetChannelReserve(String channelReserve) voidsetCommitmentType(LnrpcCommitmentType commitmentType) voidsetCsvDelay(Long csvDelay) voidsetDustLimit(String dustLimit) voidsetFeePerKw(String feePerKw) voidsetFundingAmt(String fundingAmt) voidsetMaxAcceptedHtlcs(Long maxAcceptedHtlcs) voidsetMaxValueInFlight(String maxValueInFlight) voidsetMinHtlc(String minHtlc) voidsetNodePubkey(byte[] nodePubkey) voidsetPendingChanId(byte[] pendingChanId) voidsetPushAmt(String pushAmt) voidsetWantsScidAlias(Boolean wantsScidAlias) voidsetWantsZeroConf(Boolean wantsZeroConf) toString()wantsScidAlias(Boolean wantsScidAlias) wantsZeroConf(Boolean wantsZeroConf)
-
Field Details
-
SERIALIZED_NAME_NODE_PUBKEY
- See Also:
-
SERIALIZED_NAME_CHAIN_HASH
- See Also:
-
SERIALIZED_NAME_PENDING_CHAN_ID
- See Also:
-
SERIALIZED_NAME_FUNDING_AMT
- See Also:
-
SERIALIZED_NAME_PUSH_AMT
- See Also:
-
SERIALIZED_NAME_DUST_LIMIT
- See Also:
-
SERIALIZED_NAME_MAX_VALUE_IN_FLIGHT
- See Also:
-
SERIALIZED_NAME_CHANNEL_RESERVE
- See Also:
-
SERIALIZED_NAME_MIN_HTLC
- See Also:
-
SERIALIZED_NAME_FEE_PER_KW
- See Also:
-
SERIALIZED_NAME_CSV_DELAY
- See Also:
-
SERIALIZED_NAME_MAX_ACCEPTED_HTLCS
- See Also:
-
SERIALIZED_NAME_CHANNEL_FLAGS
- See Also:
-
SERIALIZED_NAME_COMMITMENT_TYPE
- See Also:
-
SERIALIZED_NAME_WANTS_ZERO_CONF
- See Also:
-
SERIALIZED_NAME_WANTS_SCID_ALIAS
- See Also:
-
-
Constructor Details
-
LnrpcChannelAcceptRequest
public LnrpcChannelAcceptRequest()
-
-
Method Details
-
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
-
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
-
getPendingChanId
@Nullable public byte[] getPendingChanId()The pending channel id.- Returns:
- pendingChanId
-
setPendingChanId
public void setPendingChanId(byte[] pendingChanId) -
fundingAmt
-
getFundingAmt
The funding amount in satoshis that initiator wishes to use in the channel.- Returns:
- fundingAmt
-
setFundingAmt
-
pushAmt
-
getPushAmt
The push amount of the proposed channel in millisatoshis.- Returns:
- pushAmt
-
setPushAmt
-
dustLimit
-
getDustLimit
The dust limit of the initiator's commitment tx.- Returns:
- dustLimit
-
setDustLimit
-
maxValueInFlight
-
getMaxValueInFlight
The maximum amount of coins in millisatoshis that can be pending in this channel.- Returns:
- maxValueInFlight
-
setMaxValueInFlight
-
channelReserve
-
getChannelReserve
The minimum amount of satoshis the initiator requires us to have at all times.- Returns:
- channelReserve
-
setChannelReserve
-
minHtlc
-
getMinHtlc
The smallest HTLC in millisatoshis that the initiator will accept.- Returns:
- minHtlc
-
setMinHtlc
-
feePerKw
-
getFeePerKw
The initial fee rate that the initiator suggests for both commitment transactions.- Returns:
- feePerKw
-
setFeePerKw
-
csvDelay
-
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
-
maxAcceptedHtlcs
-
getMaxAcceptedHtlcs
The total number of incoming HTLC's that the initiator will accept.- Returns:
- maxAcceptedHtlcs
-
setMaxAcceptedHtlcs
-
channelFlags
-
getChannelFlags
A bit-field which the initiator uses to specify proposed channel behavior.- Returns:
- channelFlags
-
setChannelFlags
-
commitmentType
-
getCommitmentType
Get commitmentType- Returns:
- commitmentType
-
setCommitmentType
-
wantsZeroConf
-
getWantsZeroConf
Whether the initiator wants to open a zero-conf channel via the channel type.- Returns:
- wantsZeroConf
-
setWantsZeroConf
-
wantsScidAlias
-
getWantsScidAlias
Whether the initiator wants to use the scid-alias channel type. This is separate from the feature bit.- Returns:
- wantsScidAlias
-
setWantsScidAlias
-
equals
-
hashCode
public int hashCode() -
toString
-