Package net.osslabz.lnd.dto
Class LnrpcBatchOpenChannel
java.lang.Object
net.osslabz.lnd.dto.LnrpcBatchOpenChannel
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-07T12:03:34.958542131Z[Etc/UTC]")
public class LnrpcBatchOpenChannel
extends Object
LnrpcBatchOpenChannel
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncloseAddress(String closeAddress) commitmentType(LnrpcCommitmentType commitmentType) booleanClose address is an optional address which specifies the address to which funds should be paid out to upon cooperative close.Get commitmentTypeThe number of satoshis the wallet should commit to the channel.The minimum value in millisatoshi we will require for incoming HTLCs on the channel.byte[]The pubkey of the node to open a channel with.byte[]An optional, unique identifier of 32 random bytes that will be used as the pending channel ID to identify the channel while it is in the pre-pending state.Whether this channel should be private, not announced to the greater network.The number of satoshis to push to the remote side as part of the initial commitment state.The delay we require on the remote's commitment transaction.inthashCode()localFundingAmount(String localFundingAmount) minHtlcMsat(String minHtlcMsat) nodePubkey(byte[] nodePubkey) pendingChanId(byte[] pendingChanId) remoteCsvDelay(Long remoteCsvDelay) voidsetCloseAddress(String closeAddress) voidsetCommitmentType(LnrpcCommitmentType commitmentType) voidsetLocalFundingAmount(String localFundingAmount) voidsetMinHtlcMsat(String minHtlcMsat) voidsetNodePubkey(byte[] nodePubkey) voidsetPendingChanId(byte[] pendingChanId) voidsetPrivate(Boolean _private) voidsetPushSat(String pushSat) voidsetRemoteCsvDelay(Long remoteCsvDelay) toString()
-
Field Details
-
SERIALIZED_NAME_NODE_PUBKEY
- See Also:
-
SERIALIZED_NAME_LOCAL_FUNDING_AMOUNT
- See Also:
-
SERIALIZED_NAME_PUSH_SAT
- See Also:
-
SERIALIZED_NAME_PRIVATE
- See Also:
-
SERIALIZED_NAME_MIN_HTLC_MSAT
- See Also:
-
SERIALIZED_NAME_REMOTE_CSV_DELAY
- See Also:
-
SERIALIZED_NAME_CLOSE_ADDRESS
- See Also:
-
SERIALIZED_NAME_PENDING_CHAN_ID
- See Also:
-
SERIALIZED_NAME_COMMITMENT_TYPE
- See Also:
-
-
Constructor Details
-
LnrpcBatchOpenChannel
public LnrpcBatchOpenChannel()
-
-
Method Details
-
nodePubkey
-
getNodePubkey
@Nullable public byte[] getNodePubkey()The pubkey of the node to open a channel with. When using REST, this field must be encoded as base64.- Returns:
- nodePubkey
-
setNodePubkey
public void setNodePubkey(byte[] nodePubkey) -
localFundingAmount
-
getLocalFundingAmount
The number of satoshis the wallet should commit to the channel.- Returns:
- localFundingAmount
-
setLocalFundingAmount
-
pushSat
-
getPushSat
The number of satoshis to push to the remote side as part of the initial commitment state.- Returns:
- pushSat
-
setPushSat
-
_private
-
getPrivate
Whether this channel should be private, not announced to the greater network.- Returns:
- _private
-
setPrivate
-
minHtlcMsat
-
getMinHtlcMsat
The minimum value in millisatoshi we will require for incoming HTLCs on the channel.- Returns:
- minHtlcMsat
-
setMinHtlcMsat
-
remoteCsvDelay
-
getRemoteCsvDelay
The delay we require on the remote's commitment transaction. If this is not set, it will be scaled automatically with the channel size.- Returns:
- remoteCsvDelay
-
setRemoteCsvDelay
-
closeAddress
-
getCloseAddress
Close address is an optional address which specifies the address to which funds should be paid out to upon cooperative close. This field may only be set if the peer supports the option upfront feature bit (call listpeers to check). The remote peer will only accept cooperative closes to this address if it is set. Note: If this value is set on channel creation, you will *not* be able to cooperatively close out to a different address.- Returns:
- closeAddress
-
setCloseAddress
-
pendingChanId
-
getPendingChanId
@Nullable public byte[] getPendingChanId()An optional, unique identifier of 32 random bytes that will be used as the pending channel ID to identify the channel while it is in the pre-pending state.- Returns:
- pendingChanId
-
setPendingChanId
public void setPendingChanId(byte[] pendingChanId) -
commitmentType
-
getCommitmentType
Get commitmentType- Returns:
- commitmentType
-
setCommitmentType
-
equals
-
hashCode
public int hashCode() -
toString
-