public static interface LightningApi.BatchOpenChannelOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
long |
getBaseFee()
The base fee charged regardless of the number of milli-satoshis sent.
|
java.lang.String |
getCloseAddress()
Close address is an optional address which specifies the address to which
funds should be paid out to upon cooperative close.
|
com.google.protobuf.ByteString |
getCloseAddressBytes()
Close address is an optional address which specifies the address to which
funds should be paid out to upon cooperative close.
|
LightningApi.CommitmentType |
getCommitmentType()
The explicit commitment type to use.
|
int |
getCommitmentTypeValue()
The explicit commitment type to use.
|
long |
getFeeRate()
The fee rate in ppm (parts per million) that will be charged in
proportion of the value of each forwarded HTLC.
|
long |
getLocalFundingAmount()
The number of satoshis the wallet should commit to the channel.
|
int |
getMaxLocalCsv()
Max local csv is the maximum csv delay we will allow for our own commitment
transaction.
|
java.lang.String |
getMemo()
An optional note-to-self to go along with the channel containing some
useful information.
|
com.google.protobuf.ByteString |
getMemoBytes()
An optional note-to-self to go along with the channel containing some
useful information.
|
long |
getMinHtlcMsat()
The minimum value in millisatoshi we will require for incoming HTLCs on
the channel.
|
com.google.protobuf.ByteString |
getNodePubkey()
The pubkey of the node to open a channel with.
|
com.google.protobuf.ByteString |
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.
|
boolean |
getPrivate()
Whether this channel should be private, not announced to the greater
network.
|
long |
getPushSat()
The number of satoshis to push to the remote side as part of the initial
commitment state.
|
long |
getRemoteChanReserveSat()
The number of satoshis we require the remote peer to reserve.
|
int |
getRemoteCsvDelay()
The delay we require on the remote's commitment transaction.
|
int |
getRemoteMaxHtlcs()
The maximum number of concurrent HTLCs we will allow the remote party to add
to the commitment transaction.
|
long |
getRemoteMaxValueInFlightMsat()
The maximum amount of coins in millisatoshi that can be pending within
the channel.
|
boolean |
getScidAlias()
If this is true, then an option-scid-alias channel-type open will be
attempted.
|
boolean |
getUseBaseFee()
If use_base_fee is true the open channel announcement will update the
channel base fee with the value specified in base_fee.
|
boolean |
getUseFeeRate()
If use_fee_rate is true the open channel announcement will update the
channel fee rate with the value specified in fee_rate.
|
boolean |
getZeroConf()
If this is true, then a zero-conf channel open will be attempted.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
com.google.protobuf.ByteString getNodePubkey()
The pubkey of the node to open a channel with. When using REST, this field must be encoded as base64.
bytes node_pubkey = 1;
long getLocalFundingAmount()
The number of satoshis the wallet should commit to the channel.
int64 local_funding_amount = 2;
long getPushSat()
The number of satoshis to push to the remote side as part of the initial commitment state.
int64 push_sat = 3;
boolean getPrivate()
Whether this channel should be private, not announced to the greater network.
bool private = 4;
long getMinHtlcMsat()
The minimum value in millisatoshi we will require for incoming HTLCs on the channel.
int64 min_htlc_msat = 5;
int 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.
uint32 remote_csv_delay = 6;
java.lang.String 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.
string close_address = 7;
com.google.protobuf.ByteString getCloseAddressBytes()
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.
string close_address = 7;
com.google.protobuf.ByteString 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.
bytes pending_chan_id = 8;
int getCommitmentTypeValue()
The explicit commitment type to use. Note this field will only be used if the remote peer supports explicit channel negotiation.
.lnrpc.CommitmentType commitment_type = 9;
LightningApi.CommitmentType getCommitmentType()
The explicit commitment type to use. Note this field will only be used if the remote peer supports explicit channel negotiation.
.lnrpc.CommitmentType commitment_type = 9;
long getRemoteMaxValueInFlightMsat()
The maximum amount of coins in millisatoshi that can be pending within the channel. It only applies to the remote party.
uint64 remote_max_value_in_flight_msat = 10;
int getRemoteMaxHtlcs()
The maximum number of concurrent HTLCs we will allow the remote party to add to the commitment transaction.
uint32 remote_max_htlcs = 11;
int getMaxLocalCsv()
Max local csv is the maximum csv delay we will allow for our own commitment transaction.
uint32 max_local_csv = 12;
boolean getZeroConf()
If this is true, then a zero-conf channel open will be attempted.
bool zero_conf = 13;
boolean getScidAlias()
If this is true, then an option-scid-alias channel-type open will be attempted.
bool scid_alias = 14;
long getBaseFee()
The base fee charged regardless of the number of milli-satoshis sent.
uint64 base_fee = 15;
long getFeeRate()
The fee rate in ppm (parts per million) that will be charged in proportion of the value of each forwarded HTLC.
uint64 fee_rate = 16;
boolean getUseBaseFee()
If use_base_fee is true the open channel announcement will update the channel base fee with the value specified in base_fee. In the case of a base_fee of 0 use_base_fee is needed downstream to distinguish whether to use the default base fee value specified in the config or 0.
bool use_base_fee = 17;
boolean getUseFeeRate()
If use_fee_rate is true the open channel announcement will update the channel fee rate with the value specified in fee_rate. In the case of a fee_rate of 0 use_fee_rate is needed downstream to distinguish whether to use the default fee rate value specified in the config or 0.
bool use_fee_rate = 18;
long getRemoteChanReserveSat()
The number of satoshis we require the remote peer to reserve. This value, if specified, must be above the dust limit and below 20% of the channel capacity.
uint64 remote_chan_reserve_sat = 19;
java.lang.String getMemo()
An optional note-to-self to go along with the channel containing some useful information. This is only ever stored locally and in no way impacts the channel's operation.
string memo = 20;
com.google.protobuf.ByteString getMemoBytes()
An optional note-to-self to go along with the channel containing some useful information. This is only ever stored locally and in no way impacts the channel's operation.
string memo = 20;