public static interface LightningApi.NodeInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
LightningApi.ChannelEdge |
getChannels(int index)
A list of all public channels for the node.
|
int |
getChannelsCount()
A list of all public channels for the node.
|
java.util.List<LightningApi.ChannelEdge> |
getChannelsList()
A list of all public channels for the node.
|
LightningApi.ChannelEdgeOrBuilder |
getChannelsOrBuilder(int index)
A list of all public channels for the node.
|
java.util.List<? extends LightningApi.ChannelEdgeOrBuilder> |
getChannelsOrBuilderList()
A list of all public channels for the node.
|
LightningApi.LightningNode |
getNode()
An individual vertex/node within the channel graph.
|
LightningApi.LightningNodeOrBuilder |
getNodeOrBuilder()
An individual vertex/node within the channel graph.
|
int |
getNumChannels()
The total number of channels for the node.
|
long |
getTotalCapacity()
The sum of all channels capacity for the node, denominated in satoshis.
|
boolean |
hasNode()
An individual vertex/node within the channel graph.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasNode()
An individual vertex/node within the channel graph. A node is connected to other nodes by one or more channel edges emanating from it. As the graph is directed, a node will also have an incoming edge attached to it for each outgoing edge.
.lnrpc.LightningNode node = 1;
LightningApi.LightningNode getNode()
An individual vertex/node within the channel graph. A node is connected to other nodes by one or more channel edges emanating from it. As the graph is directed, a node will also have an incoming edge attached to it for each outgoing edge.
.lnrpc.LightningNode node = 1;
LightningApi.LightningNodeOrBuilder getNodeOrBuilder()
An individual vertex/node within the channel graph. A node is connected to other nodes by one or more channel edges emanating from it. As the graph is directed, a node will also have an incoming edge attached to it for each outgoing edge.
.lnrpc.LightningNode node = 1;
int getNumChannels()
The total number of channels for the node.
uint32 num_channels = 2;
long getTotalCapacity()
The sum of all channels capacity for the node, denominated in satoshis.
int64 total_capacity = 3;
java.util.List<LightningApi.ChannelEdge> getChannelsList()
A list of all public channels for the node.
repeated .lnrpc.ChannelEdge channels = 4;
LightningApi.ChannelEdge getChannels(int index)
A list of all public channels for the node.
repeated .lnrpc.ChannelEdge channels = 4;
int getChannelsCount()
A list of all public channels for the node.
repeated .lnrpc.ChannelEdge channels = 4;
java.util.List<? extends LightningApi.ChannelEdgeOrBuilder> getChannelsOrBuilderList()
A list of all public channels for the node.
repeated .lnrpc.ChannelEdge channels = 4;
LightningApi.ChannelEdgeOrBuilder getChannelsOrBuilder(int index)
A list of all public channels for the node.
repeated .lnrpc.ChannelEdge channels = 4;