public static final class LightningApi.ChannelAcceptRequest extends com.google.protobuf.GeneratedMessageV3 implements LightningApi.ChannelAcceptRequestOrBuilder
lnrpc.ChannelAcceptRequest
Modifier and Type | Class and Description |
---|---|
static class |
LightningApi.ChannelAcceptRequest.Builder
Protobuf type
lnrpc.ChannelAcceptRequest |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
CHAIN_HASH_FIELD_NUMBER |
static int |
CHANNEL_FLAGS_FIELD_NUMBER |
static int |
CHANNEL_RESERVE_FIELD_NUMBER |
static int |
COMMITMENT_TYPE_FIELD_NUMBER |
static int |
CSV_DELAY_FIELD_NUMBER |
static int |
DUST_LIMIT_FIELD_NUMBER |
static int |
FEE_PER_KW_FIELD_NUMBER |
static int |
FUNDING_AMT_FIELD_NUMBER |
static int |
MAX_ACCEPTED_HTLCS_FIELD_NUMBER |
static int |
MAX_VALUE_IN_FLIGHT_FIELD_NUMBER |
static int |
MIN_HTLC_FIELD_NUMBER |
static int |
NODE_PUBKEY_FIELD_NUMBER |
static int |
PENDING_CHAN_ID_FIELD_NUMBER |
static int |
PUSH_AMT_FIELD_NUMBER |
static int |
WANTS_SCID_ALIAS_FIELD_NUMBER |
static int |
WANTS_ZERO_CONF_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
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.
|
static LightningApi.ChannelAcceptRequest |
getDefaultInstance() |
LightningApi.ChannelAcceptRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.Parser<LightningApi.ChannelAcceptRequest> |
getParserForType() |
com.google.protobuf.ByteString |
getPendingChanId()
The pending channel id.
|
long |
getPushAmt()
The push amount of the proposed channel in millisatoshis.
|
int |
getSerializedSize() |
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.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LightningApi.ChannelAcceptRequest.Builder |
newBuilder() |
static LightningApi.ChannelAcceptRequest.Builder |
newBuilder(LightningApi.ChannelAcceptRequest prototype) |
LightningApi.ChannelAcceptRequest.Builder |
newBuilderForType() |
protected LightningApi.ChannelAcceptRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static LightningApi.ChannelAcceptRequest |
parseDelimitedFrom(java.io.InputStream input) |
static LightningApi.ChannelAcceptRequest |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.ChannelAcceptRequest |
parseFrom(byte[] data) |
static LightningApi.ChannelAcceptRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.ChannelAcceptRequest |
parseFrom(java.nio.ByteBuffer data) |
static LightningApi.ChannelAcceptRequest |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.ChannelAcceptRequest |
parseFrom(com.google.protobuf.ByteString data) |
static LightningApi.ChannelAcceptRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.ChannelAcceptRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LightningApi.ChannelAcceptRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.ChannelAcceptRequest |
parseFrom(java.io.InputStream input) |
static LightningApi.ChannelAcceptRequest |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LightningApi.ChannelAcceptRequest> |
parser() |
LightningApi.ChannelAcceptRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int NODE_PUBKEY_FIELD_NUMBER
public static final int CHAIN_HASH_FIELD_NUMBER
public static final int PENDING_CHAN_ID_FIELD_NUMBER
public static final int FUNDING_AMT_FIELD_NUMBER
public static final int PUSH_AMT_FIELD_NUMBER
public static final int DUST_LIMIT_FIELD_NUMBER
public static final int MAX_VALUE_IN_FLIGHT_FIELD_NUMBER
public static final int CHANNEL_RESERVE_FIELD_NUMBER
public static final int MIN_HTLC_FIELD_NUMBER
public static final int FEE_PER_KW_FIELD_NUMBER
public static final int CSV_DELAY_FIELD_NUMBER
public static final int MAX_ACCEPTED_HTLCS_FIELD_NUMBER
public static final int CHANNEL_FLAGS_FIELD_NUMBER
public static final int COMMITMENT_TYPE_FIELD_NUMBER
public static final int WANTS_ZERO_CONF_FIELD_NUMBER
public static final int WANTS_SCID_ALIAS_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public com.google.protobuf.ByteString getNodePubkey()
The pubkey of the node that wishes to open an inbound channel.
bytes node_pubkey = 1;
getNodePubkey
in interface LightningApi.ChannelAcceptRequestOrBuilder
public com.google.protobuf.ByteString getChainHash()
The hash of the genesis block that the proposed channel resides in.
bytes chain_hash = 2;
getChainHash
in interface LightningApi.ChannelAcceptRequestOrBuilder
public com.google.protobuf.ByteString getPendingChanId()
The pending channel id.
bytes pending_chan_id = 3;
getPendingChanId
in interface LightningApi.ChannelAcceptRequestOrBuilder
public long getFundingAmt()
The funding amount in satoshis that initiator wishes to use in the channel.
uint64 funding_amt = 4;
getFundingAmt
in interface LightningApi.ChannelAcceptRequestOrBuilder
public long getPushAmt()
The push amount of the proposed channel in millisatoshis.
uint64 push_amt = 5;
getPushAmt
in interface LightningApi.ChannelAcceptRequestOrBuilder
public long getDustLimit()
The dust limit of the initiator's commitment tx.
uint64 dust_limit = 6;
getDustLimit
in interface LightningApi.ChannelAcceptRequestOrBuilder
public long getMaxValueInFlight()
The maximum amount of coins in millisatoshis that can be pending in this channel.
uint64 max_value_in_flight = 7;
getMaxValueInFlight
in interface LightningApi.ChannelAcceptRequestOrBuilder
public long getChannelReserve()
The minimum amount of satoshis the initiator requires us to have at all times.
uint64 channel_reserve = 8;
getChannelReserve
in interface LightningApi.ChannelAcceptRequestOrBuilder
public long getMinHtlc()
The smallest HTLC in millisatoshis that the initiator will accept.
uint64 min_htlc = 9;
getMinHtlc
in interface LightningApi.ChannelAcceptRequestOrBuilder
public long getFeePerKw()
The initial fee rate that the initiator suggests for both commitment transactions.
uint64 fee_per_kw = 10;
getFeePerKw
in interface LightningApi.ChannelAcceptRequestOrBuilder
public 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;
getCsvDelay
in interface LightningApi.ChannelAcceptRequestOrBuilder
public int getMaxAcceptedHtlcs()
The total number of incoming HTLC's that the initiator will accept.
uint32 max_accepted_htlcs = 12;
getMaxAcceptedHtlcs
in interface LightningApi.ChannelAcceptRequestOrBuilder
public int getChannelFlags()
A bit-field which the initiator uses to specify proposed channel behavior.
uint32 channel_flags = 13;
getChannelFlags
in interface LightningApi.ChannelAcceptRequestOrBuilder
public int getCommitmentTypeValue()
The commitment type the initiator wishes to use for the proposed channel.
.lnrpc.CommitmentType commitment_type = 14;
getCommitmentTypeValue
in interface LightningApi.ChannelAcceptRequestOrBuilder
public LightningApi.CommitmentType getCommitmentType()
The commitment type the initiator wishes to use for the proposed channel.
.lnrpc.CommitmentType commitment_type = 14;
getCommitmentType
in interface LightningApi.ChannelAcceptRequestOrBuilder
public boolean getWantsZeroConf()
Whether the initiator wants to open a zero-conf channel via the channel type.
bool wants_zero_conf = 15;
getWantsZeroConf
in interface LightningApi.ChannelAcceptRequestOrBuilder
public 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;
getWantsScidAlias
in interface LightningApi.ChannelAcceptRequestOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static LightningApi.ChannelAcceptRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.ChannelAcceptRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.ChannelAcceptRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.ChannelAcceptRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.ChannelAcceptRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.ChannelAcceptRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.ChannelAcceptRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static LightningApi.ChannelAcceptRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LightningApi.ChannelAcceptRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static LightningApi.ChannelAcceptRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LightningApi.ChannelAcceptRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static LightningApi.ChannelAcceptRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public LightningApi.ChannelAcceptRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static LightningApi.ChannelAcceptRequest.Builder newBuilder()
public static LightningApi.ChannelAcceptRequest.Builder newBuilder(LightningApi.ChannelAcceptRequest prototype)
public LightningApi.ChannelAcceptRequest.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected LightningApi.ChannelAcceptRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static LightningApi.ChannelAcceptRequest getDefaultInstance()
public static com.google.protobuf.Parser<LightningApi.ChannelAcceptRequest> parser()
public com.google.protobuf.Parser<LightningApi.ChannelAcceptRequest> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public LightningApi.ChannelAcceptRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder