public static final class LightningApi.ChannelCloseSummary extends com.google.protobuf.GeneratedMessageV3 implements LightningApi.ChannelCloseSummaryOrBuilder
lnrpc.ChannelCloseSummary| Modifier and Type | Class and Description |
|---|---|
static class |
LightningApi.ChannelCloseSummary.Builder
Protobuf type
lnrpc.ChannelCloseSummary |
static class |
LightningApi.ChannelCloseSummary.ClosureType
Protobuf enum
lnrpc.ChannelCloseSummary.ClosureType |
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 |
ALIAS_SCIDS_FIELD_NUMBER |
static int |
CAPACITY_FIELD_NUMBER |
static int |
CHAIN_HASH_FIELD_NUMBER |
static int |
CHAN_ID_FIELD_NUMBER |
static int |
CHANNEL_POINT_FIELD_NUMBER |
static int |
CLOSE_HEIGHT_FIELD_NUMBER |
static int |
CLOSE_INITIATOR_FIELD_NUMBER |
static int |
CLOSE_TYPE_FIELD_NUMBER |
static int |
CLOSING_TX_HASH_FIELD_NUMBER |
static int |
OPEN_INITIATOR_FIELD_NUMBER |
static int |
REMOTE_PUBKEY_FIELD_NUMBER |
static int |
RESOLUTIONS_FIELD_NUMBER |
static int |
SETTLED_BALANCE_FIELD_NUMBER |
static int |
TIME_LOCKED_BALANCE_FIELD_NUMBER |
static int |
ZERO_CONF_CONFIRMED_SCID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
long |
getAliasScids(int index)
This lists out the set of alias short channel ids that existed for the
closed channel.
|
int |
getAliasScidsCount()
This lists out the set of alias short channel ids that existed for the
closed channel.
|
java.util.List<java.lang.Long> |
getAliasScidsList()
This lists out the set of alias short channel ids that existed for the
closed channel.
|
long |
getCapacity()
Total capacity of the channel.
|
java.lang.String |
getChainHash()
The hash of the genesis block that this channel resides within.
|
com.google.protobuf.ByteString |
getChainHashBytes()
The hash of the genesis block that this channel resides within.
|
long |
getChanId()
The unique channel ID for the channel.
|
java.lang.String |
getChannelPoint()
The outpoint (txid:index) of the funding transaction.
|
com.google.protobuf.ByteString |
getChannelPointBytes()
The outpoint (txid:index) of the funding transaction.
|
int |
getCloseHeight()
Height at which the funding transaction was spent.
|
LightningApi.Initiator |
getCloseInitiator()
Close initiator indicates which party initiated the close.
|
int |
getCloseInitiatorValue()
Close initiator indicates which party initiated the close.
|
LightningApi.ChannelCloseSummary.ClosureType |
getCloseType()
Details on how the channel was closed.
|
int |
getCloseTypeValue()
Details on how the channel was closed.
|
java.lang.String |
getClosingTxHash()
The txid of the transaction which ultimately closed this channel.
|
com.google.protobuf.ByteString |
getClosingTxHashBytes()
The txid of the transaction which ultimately closed this channel.
|
static LightningApi.ChannelCloseSummary |
getDefaultInstance() |
LightningApi.ChannelCloseSummary |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
LightningApi.Initiator |
getOpenInitiator()
Open initiator is the party that initiated opening the channel.
|
int |
getOpenInitiatorValue()
Open initiator is the party that initiated opening the channel.
|
com.google.protobuf.Parser<LightningApi.ChannelCloseSummary> |
getParserForType() |
java.lang.String |
getRemotePubkey()
Public key of the remote peer that we formerly had a channel with.
|
com.google.protobuf.ByteString |
getRemotePubkeyBytes()
Public key of the remote peer that we formerly had a channel with.
|
LightningApi.Resolution |
getResolutions(int index)
repeated .lnrpc.Resolution resolutions = 13; |
int |
getResolutionsCount()
repeated .lnrpc.Resolution resolutions = 13; |
java.util.List<LightningApi.Resolution> |
getResolutionsList()
repeated .lnrpc.Resolution resolutions = 13; |
LightningApi.ResolutionOrBuilder |
getResolutionsOrBuilder(int index)
repeated .lnrpc.Resolution resolutions = 13; |
java.util.List<? extends LightningApi.ResolutionOrBuilder> |
getResolutionsOrBuilderList()
repeated .lnrpc.Resolution resolutions = 13; |
int |
getSerializedSize() |
long |
getSettledBalance()
Settled balance at the time of channel closure
|
long |
getTimeLockedBalance()
The sum of all the time-locked outputs at the time of channel closure
|
long |
getZeroConfConfirmedScid()
The confirmed SCID for a zero-conf channel.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LightningApi.ChannelCloseSummary.Builder |
newBuilder() |
static LightningApi.ChannelCloseSummary.Builder |
newBuilder(LightningApi.ChannelCloseSummary prototype) |
LightningApi.ChannelCloseSummary.Builder |
newBuilderForType() |
protected LightningApi.ChannelCloseSummary.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static LightningApi.ChannelCloseSummary |
parseDelimitedFrom(java.io.InputStream input) |
static LightningApi.ChannelCloseSummary |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.ChannelCloseSummary |
parseFrom(byte[] data) |
static LightningApi.ChannelCloseSummary |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.ChannelCloseSummary |
parseFrom(java.nio.ByteBuffer data) |
static LightningApi.ChannelCloseSummary |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.ChannelCloseSummary |
parseFrom(com.google.protobuf.ByteString data) |
static LightningApi.ChannelCloseSummary |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.ChannelCloseSummary |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LightningApi.ChannelCloseSummary |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.ChannelCloseSummary |
parseFrom(java.io.InputStream input) |
static LightningApi.ChannelCloseSummary |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LightningApi.ChannelCloseSummary> |
parser() |
LightningApi.ChannelCloseSummary.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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CHANNEL_POINT_FIELD_NUMBER
public static final int CHAN_ID_FIELD_NUMBER
public static final int CHAIN_HASH_FIELD_NUMBER
public static final int CLOSING_TX_HASH_FIELD_NUMBER
public static final int REMOTE_PUBKEY_FIELD_NUMBER
public static final int CAPACITY_FIELD_NUMBER
public static final int CLOSE_HEIGHT_FIELD_NUMBER
public static final int SETTLED_BALANCE_FIELD_NUMBER
public static final int TIME_LOCKED_BALANCE_FIELD_NUMBER
public static final int CLOSE_TYPE_FIELD_NUMBER
public static final int OPEN_INITIATOR_FIELD_NUMBER
public static final int CLOSE_INITIATOR_FIELD_NUMBER
public static final int RESOLUTIONS_FIELD_NUMBER
public static final int ALIAS_SCIDS_FIELD_NUMBER
public static final int ZERO_CONF_CONFIRMED_SCID_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public java.lang.String getChannelPoint()
The outpoint (txid:index) of the funding transaction.
string channel_point = 1;getChannelPoint in interface LightningApi.ChannelCloseSummaryOrBuilderpublic com.google.protobuf.ByteString getChannelPointBytes()
The outpoint (txid:index) of the funding transaction.
string channel_point = 1;getChannelPointBytes in interface LightningApi.ChannelCloseSummaryOrBuilderpublic long getChanId()
The unique channel ID for the channel.
uint64 chan_id = 2 [jstype = JS_STRING];getChanId in interface LightningApi.ChannelCloseSummaryOrBuilderpublic java.lang.String getChainHash()
The hash of the genesis block that this channel resides within.
string chain_hash = 3;getChainHash in interface LightningApi.ChannelCloseSummaryOrBuilderpublic com.google.protobuf.ByteString getChainHashBytes()
The hash of the genesis block that this channel resides within.
string chain_hash = 3;getChainHashBytes in interface LightningApi.ChannelCloseSummaryOrBuilderpublic java.lang.String getClosingTxHash()
The txid of the transaction which ultimately closed this channel.
string closing_tx_hash = 4;getClosingTxHash in interface LightningApi.ChannelCloseSummaryOrBuilderpublic com.google.protobuf.ByteString getClosingTxHashBytes()
The txid of the transaction which ultimately closed this channel.
string closing_tx_hash = 4;getClosingTxHashBytes in interface LightningApi.ChannelCloseSummaryOrBuilderpublic java.lang.String getRemotePubkey()
Public key of the remote peer that we formerly had a channel with.
string remote_pubkey = 5;getRemotePubkey in interface LightningApi.ChannelCloseSummaryOrBuilderpublic com.google.protobuf.ByteString getRemotePubkeyBytes()
Public key of the remote peer that we formerly had a channel with.
string remote_pubkey = 5;getRemotePubkeyBytes in interface LightningApi.ChannelCloseSummaryOrBuilderpublic long getCapacity()
Total capacity of the channel.
int64 capacity = 6;getCapacity in interface LightningApi.ChannelCloseSummaryOrBuilderpublic int getCloseHeight()
Height at which the funding transaction was spent.
uint32 close_height = 7;getCloseHeight in interface LightningApi.ChannelCloseSummaryOrBuilderpublic long getSettledBalance()
Settled balance at the time of channel closure
int64 settled_balance = 8;getSettledBalance in interface LightningApi.ChannelCloseSummaryOrBuilderpublic long getTimeLockedBalance()
The sum of all the time-locked outputs at the time of channel closure
int64 time_locked_balance = 9;getTimeLockedBalance in interface LightningApi.ChannelCloseSummaryOrBuilderpublic int getCloseTypeValue()
Details on how the channel was closed.
.lnrpc.ChannelCloseSummary.ClosureType close_type = 10;getCloseTypeValue in interface LightningApi.ChannelCloseSummaryOrBuilderpublic LightningApi.ChannelCloseSummary.ClosureType getCloseType()
Details on how the channel was closed.
.lnrpc.ChannelCloseSummary.ClosureType close_type = 10;getCloseType in interface LightningApi.ChannelCloseSummaryOrBuilderpublic int getOpenInitiatorValue()
Open initiator is the party that initiated opening the channel. Note that this value may be unknown if the channel was closed before we migrated to store open channel information after close.
.lnrpc.Initiator open_initiator = 11;getOpenInitiatorValue in interface LightningApi.ChannelCloseSummaryOrBuilderpublic LightningApi.Initiator getOpenInitiator()
Open initiator is the party that initiated opening the channel. Note that this value may be unknown if the channel was closed before we migrated to store open channel information after close.
.lnrpc.Initiator open_initiator = 11;getOpenInitiator in interface LightningApi.ChannelCloseSummaryOrBuilderpublic int getCloseInitiatorValue()
Close initiator indicates which party initiated the close. This value will be unknown for channels that were cooperatively closed before we started tracking cooperative close initiators. Note that this indicates which party initiated a close, and it is possible for both to initiate cooperative or force closes, although only one party's close will be confirmed on chain.
.lnrpc.Initiator close_initiator = 12;getCloseInitiatorValue in interface LightningApi.ChannelCloseSummaryOrBuilderpublic LightningApi.Initiator getCloseInitiator()
Close initiator indicates which party initiated the close. This value will be unknown for channels that were cooperatively closed before we started tracking cooperative close initiators. Note that this indicates which party initiated a close, and it is possible for both to initiate cooperative or force closes, although only one party's close will be confirmed on chain.
.lnrpc.Initiator close_initiator = 12;getCloseInitiator in interface LightningApi.ChannelCloseSummaryOrBuilderpublic java.util.List<LightningApi.Resolution> getResolutionsList()
repeated .lnrpc.Resolution resolutions = 13;getResolutionsList in interface LightningApi.ChannelCloseSummaryOrBuilderpublic java.util.List<? extends LightningApi.ResolutionOrBuilder> getResolutionsOrBuilderList()
repeated .lnrpc.Resolution resolutions = 13;getResolutionsOrBuilderList in interface LightningApi.ChannelCloseSummaryOrBuilderpublic int getResolutionsCount()
repeated .lnrpc.Resolution resolutions = 13;getResolutionsCount in interface LightningApi.ChannelCloseSummaryOrBuilderpublic LightningApi.Resolution getResolutions(int index)
repeated .lnrpc.Resolution resolutions = 13;getResolutions in interface LightningApi.ChannelCloseSummaryOrBuilderpublic LightningApi.ResolutionOrBuilder getResolutionsOrBuilder(int index)
repeated .lnrpc.Resolution resolutions = 13;getResolutionsOrBuilder in interface LightningApi.ChannelCloseSummaryOrBuilderpublic java.util.List<java.lang.Long> getAliasScidsList()
This lists out the set of alias short channel ids that existed for the closed channel. This may be empty.
repeated uint64 alias_scids = 14;getAliasScidsList in interface LightningApi.ChannelCloseSummaryOrBuilderpublic int getAliasScidsCount()
This lists out the set of alias short channel ids that existed for the closed channel. This may be empty.
repeated uint64 alias_scids = 14;getAliasScidsCount in interface LightningApi.ChannelCloseSummaryOrBuilderpublic long getAliasScids(int index)
This lists out the set of alias short channel ids that existed for the closed channel. This may be empty.
repeated uint64 alias_scids = 14;getAliasScids in interface LightningApi.ChannelCloseSummaryOrBuilderindex - The index of the element to return.public long getZeroConfConfirmedScid()
The confirmed SCID for a zero-conf channel.
uint64 zero_conf_confirmed_scid = 15 [jstype = JS_STRING];getZeroConfConfirmedScid in interface LightningApi.ChannelCloseSummaryOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static LightningApi.ChannelCloseSummary parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.ChannelCloseSummary parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.ChannelCloseSummary parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.ChannelCloseSummary parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.ChannelCloseSummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.ChannelCloseSummary parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.ChannelCloseSummary parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.ChannelCloseSummary parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.ChannelCloseSummary parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.ChannelCloseSummary parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.ChannelCloseSummary parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.ChannelCloseSummary parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic LightningApi.ChannelCloseSummary.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LightningApi.ChannelCloseSummary.Builder newBuilder()
public static LightningApi.ChannelCloseSummary.Builder newBuilder(LightningApi.ChannelCloseSummary prototype)
public LightningApi.ChannelCloseSummary.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LightningApi.ChannelCloseSummary.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LightningApi.ChannelCloseSummary getDefaultInstance()
public static com.google.protobuf.Parser<LightningApi.ChannelCloseSummary> parser()
public com.google.protobuf.Parser<LightningApi.ChannelCloseSummary> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LightningApi.ChannelCloseSummary getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder