public static interface LightningApi.ChannelAcceptRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.ByteString |
getChainHash()
The hash of the genesis block that the proposed channel resides in.
|
int |
getChannelFlags()
A bit-field which the initiator uses to specify proposed channel
behavior.
|
long |
getChannelReserve()
The minimum amount of satoshis the initiator requires us to have at all
times.
|
LightningApi.CommitmentType |
getCommitmentType()
The commitment type the initiator wishes to use for the proposed channel.
|
int |
getCommitmentTypeValue()
The commitment type the initiator wishes to use for the proposed channel.
|
int |
getCsvDelay()
The number of blocks to use for the relative time lock in the pay-to-self
output of both commitment transactions.
|
long |
getDustLimit()
The dust limit of the initiator's commitment tx.
|
long |
getFeePerKw()
The initial fee rate that the initiator suggests for both commitment
transactions.
|
long |
getFundingAmt()
The funding amount in satoshis that initiator wishes to use in the
channel.
|
int |
getMaxAcceptedHtlcs()
The total number of incoming HTLC's that the initiator will accept.
|
long |
getMaxValueInFlight()
The maximum amount of coins in millisatoshis that can be pending in this
channel.
|
long |
getMinHtlc()
The smallest HTLC in millisatoshis that the initiator will accept.
|
com.google.protobuf.ByteString |
getNodePubkey()
The pubkey of the node that wishes to open an inbound channel.
|
com.google.protobuf.ByteString |
getPendingChanId()
The pending channel id.
|
long |
getPushAmt()
The push amount of the proposed channel in millisatoshis.
|
boolean |
getWantsScidAlias()
Whether the initiator wants to use the scid-alias channel type.
|
boolean |
getWantsZeroConf()
Whether the initiator wants to open a zero-conf channel via the channel
type.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
com.google.protobuf.ByteString getNodePubkey()
The pubkey of the node that wishes to open an inbound channel.
bytes node_pubkey = 1;
com.google.protobuf.ByteString getChainHash()
The hash of the genesis block that the proposed channel resides in.
bytes chain_hash = 2;
com.google.protobuf.ByteString getPendingChanId()
The pending channel id.
bytes pending_chan_id = 3;
long getFundingAmt()
The funding amount in satoshis that initiator wishes to use in the channel.
uint64 funding_amt = 4;
long getPushAmt()
The push amount of the proposed channel in millisatoshis.
uint64 push_amt = 5;
long getDustLimit()
The dust limit of the initiator's commitment tx.
uint64 dust_limit = 6;
long getMaxValueInFlight()
The maximum amount of coins in millisatoshis that can be pending in this channel.
uint64 max_value_in_flight = 7;
long getChannelReserve()
The minimum amount of satoshis the initiator requires us to have at all times.
uint64 channel_reserve = 8;
long getMinHtlc()
The smallest HTLC in millisatoshis that the initiator will accept.
uint64 min_htlc = 9;
long getFeePerKw()
The initial fee rate that the initiator suggests for both commitment transactions.
uint64 fee_per_kw = 10;
int getCsvDelay()
The number of blocks to use for the relative time lock in the pay-to-self output of both commitment transactions.
uint32 csv_delay = 11;
int getMaxAcceptedHtlcs()
The total number of incoming HTLC's that the initiator will accept.
uint32 max_accepted_htlcs = 12;
int getChannelFlags()
A bit-field which the initiator uses to specify proposed channel behavior.
uint32 channel_flags = 13;
int getCommitmentTypeValue()
The commitment type the initiator wishes to use for the proposed channel.
.lnrpc.CommitmentType commitment_type = 14;
LightningApi.CommitmentType getCommitmentType()
The commitment type the initiator wishes to use for the proposed channel.
.lnrpc.CommitmentType commitment_type = 14;
boolean getWantsZeroConf()
Whether the initiator wants to open a zero-conf channel via the channel type.
bool wants_zero_conf = 15;
boolean getWantsScidAlias()
Whether the initiator wants to use the scid-alias channel type. This is separate from the feature bit.
bool wants_scid_alias = 16;