public static interface LightningApi.ChannelAcceptResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
getAccept()
Whether or not the client accepts the channel.
|
int |
getCsvDelay()
The csv delay (in blocks) that we require for the remote party.
|
java.lang.String |
getError()
An optional error to send the initiating party to indicate why the channel
was rejected.
|
com.google.protobuf.ByteString |
getErrorBytes()
An optional error to send the initiating party to indicate why the channel
was rejected.
|
long |
getInFlightMaxMsat()
The maximum amount of funds in millisatoshis that we allow the remote peer
to have in outstanding htlcs.
|
int |
getMaxHtlcCount()
The maximum number of htlcs that the remote peer can offer us.
|
int |
getMinAcceptDepth()
The number of confirmations we require before we consider the channel open.
|
long |
getMinHtlcIn()
The minimum value in millisatoshis for incoming htlcs on the channel.
|
com.google.protobuf.ByteString |
getPendingChanId()
The pending channel id to which this response applies.
|
long |
getReserveSat()
The reserve amount in satoshis that we require the remote peer to adhere to.
|
java.lang.String |
getUpfrontShutdown()
The upfront shutdown address to use if the initiating peer supports option
upfront shutdown script (see ListPeers for the features supported).
|
com.google.protobuf.ByteString |
getUpfrontShutdownBytes()
The upfront shutdown address to use if the initiating peer supports option
upfront shutdown script (see ListPeers for the features supported).
|
boolean |
getZeroConf()
Whether the responder wants this to be a zero-conf channel.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean getAccept()
Whether or not the client accepts the channel.
bool accept = 1;
com.google.protobuf.ByteString getPendingChanId()
The pending channel id to which this response applies.
bytes pending_chan_id = 2;
java.lang.String getError()
An optional error to send the initiating party to indicate why the channel was rejected. This field *should not* contain sensitive information, it will be sent to the initiating party. This field should only be set if accept is false, the channel will be rejected if an error is set with accept=true because the meaning of this response is ambiguous. Limited to 500 characters.
string error = 3;
com.google.protobuf.ByteString getErrorBytes()
An optional error to send the initiating party to indicate why the channel was rejected. This field *should not* contain sensitive information, it will be sent to the initiating party. This field should only be set if accept is false, the channel will be rejected if an error is set with accept=true because the meaning of this response is ambiguous. Limited to 500 characters.
string error = 3;
java.lang.String getUpfrontShutdown()
The upfront shutdown address to use if the initiating peer supports option upfront shutdown script (see ListPeers for the features supported). Note that the channel open will fail if this value is set for a peer that does not support this feature bit.
string upfront_shutdown = 4;
com.google.protobuf.ByteString getUpfrontShutdownBytes()
The upfront shutdown address to use if the initiating peer supports option upfront shutdown script (see ListPeers for the features supported). Note that the channel open will fail if this value is set for a peer that does not support this feature bit.
string upfront_shutdown = 4;
int getCsvDelay()
The csv delay (in blocks) that we require for the remote party.
uint32 csv_delay = 5;
long getReserveSat()
The reserve amount in satoshis that we require the remote peer to adhere to. We require that the remote peer always have some reserve amount allocated to them so that there is always a disincentive to broadcast old state (if they hold 0 sats on their side of the channel, there is nothing to lose).
uint64 reserve_sat = 6;
long getInFlightMaxMsat()
The maximum amount of funds in millisatoshis that we allow the remote peer to have in outstanding htlcs.
uint64 in_flight_max_msat = 7;
int getMaxHtlcCount()
The maximum number of htlcs that the remote peer can offer us.
uint32 max_htlc_count = 8;
long getMinHtlcIn()
The minimum value in millisatoshis for incoming htlcs on the channel.
uint64 min_htlc_in = 9;
int getMinAcceptDepth()
The number of confirmations we require before we consider the channel open.
uint32 min_accept_depth = 10;
boolean getZeroConf()
Whether the responder wants this to be a zero-conf channel. This will fail if either side does not have the scid-alias feature bit set. The minimum depth field must be zero if this is true.
bool zero_conf = 11;