public static interface LightningApi.GetInfoResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsFeatures(int key)
Features that our node has advertised in our init message, node
announcements and invoices.
|
java.lang.String |
getAlias()
If applicable, the alias of the current node, e.g.
|
com.google.protobuf.ByteString |
getAliasBytes()
If applicable, the alias of the current node, e.g.
|
long |
getBestHeaderTimestamp()
Timestamp of the block best known to the wallet
|
java.lang.String |
getBlockHash()
The node's current view of the hash of the best block
|
com.google.protobuf.ByteString |
getBlockHashBytes()
The node's current view of the hash of the best block
|
int |
getBlockHeight()
The node's current view of the height of the best block
|
LightningApi.Chain |
getChains(int index)
A list of active chains the node is connected to
|
int |
getChainsCount()
A list of active chains the node is connected to
|
java.util.List<LightningApi.Chain> |
getChainsList()
A list of active chains the node is connected to
|
LightningApi.ChainOrBuilder |
getChainsOrBuilder(int index)
A list of active chains the node is connected to
|
java.util.List<? extends LightningApi.ChainOrBuilder> |
getChainsOrBuilderList()
A list of active chains the node is connected to
|
java.lang.String |
getColor()
The color of the current node in hex code format
|
com.google.protobuf.ByteString |
getColorBytes()
The color of the current node in hex code format
|
java.lang.String |
getCommitHash()
The SHA1 commit hash that the daemon is compiled with.
|
com.google.protobuf.ByteString |
getCommitHashBytes()
The SHA1 commit hash that the daemon is compiled with.
|
java.util.Map<java.lang.Integer,LightningApi.Feature> |
getFeatures()
Deprecated.
|
int |
getFeaturesCount()
Features that our node has advertised in our init message, node
announcements and invoices.
|
java.util.Map<java.lang.Integer,LightningApi.Feature> |
getFeaturesMap()
Features that our node has advertised in our init message, node
announcements and invoices.
|
LightningApi.Feature |
getFeaturesOrDefault(int key,
LightningApi.Feature defaultValue)
Features that our node has advertised in our init message, node
announcements and invoices.
|
LightningApi.Feature |
getFeaturesOrThrow(int key)
Features that our node has advertised in our init message, node
announcements and invoices.
|
java.lang.String |
getIdentityPubkey()
The identity pubkey of the current node.
|
com.google.protobuf.ByteString |
getIdentityPubkeyBytes()
The identity pubkey of the current node.
|
int |
getNumActiveChannels()
Number of active channels
|
int |
getNumInactiveChannels()
Number of inactive channels
|
int |
getNumPeers()
Number of peers
|
int |
getNumPendingChannels()
Number of pending channels
|
boolean |
getRequireHtlcInterceptor()
Indicates whether the HTLC interceptor API is in always-on mode.
|
boolean |
getStoreFinalHtlcResolutions()
Indicates whether final htlc resolutions are stored on disk.
|
boolean |
getSyncedToChain()
Whether the wallet's view is synced to the main chain
|
boolean |
getSyncedToGraph()
Whether we consider ourselves synced with the public channel graph.
|
boolean |
getTestnet()
Deprecated.
lnrpc.GetInfoResponse.testnet is deprecated.
See lightning.api.proto;l=1936
|
java.lang.String |
getUris(int index)
The URIs of the current node.
|
com.google.protobuf.ByteString |
getUrisBytes(int index)
The URIs of the current node.
|
int |
getUrisCount()
The URIs of the current node.
|
java.util.List<java.lang.String> |
getUrisList()
The URIs of the current node.
|
java.lang.String |
getVersion()
The version of the LND software that the node is running.
|
com.google.protobuf.ByteString |
getVersionBytes()
The version of the LND software that the node is running.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
java.lang.String getVersion()
The version of the LND software that the node is running.
string version = 14;
com.google.protobuf.ByteString getVersionBytes()
The version of the LND software that the node is running.
string version = 14;
java.lang.String getCommitHash()
The SHA1 commit hash that the daemon is compiled with.
string commit_hash = 20;
com.google.protobuf.ByteString getCommitHashBytes()
The SHA1 commit hash that the daemon is compiled with.
string commit_hash = 20;
java.lang.String getIdentityPubkey()
The identity pubkey of the current node.
string identity_pubkey = 1;
com.google.protobuf.ByteString getIdentityPubkeyBytes()
The identity pubkey of the current node.
string identity_pubkey = 1;
java.lang.String getAlias()
If applicable, the alias of the current node, e.g. "bob"
string alias = 2;
com.google.protobuf.ByteString getAliasBytes()
If applicable, the alias of the current node, e.g. "bob"
string alias = 2;
java.lang.String getColor()
The color of the current node in hex code format
string color = 17;
com.google.protobuf.ByteString getColorBytes()
The color of the current node in hex code format
string color = 17;
int getNumPendingChannels()
Number of pending channels
uint32 num_pending_channels = 3;
int getNumActiveChannels()
Number of active channels
uint32 num_active_channels = 4;
int getNumInactiveChannels()
Number of inactive channels
uint32 num_inactive_channels = 15;
int getNumPeers()
Number of peers
uint32 num_peers = 5;
int getBlockHeight()
The node's current view of the height of the best block
uint32 block_height = 6;
java.lang.String getBlockHash()
The node's current view of the hash of the best block
string block_hash = 8;
com.google.protobuf.ByteString getBlockHashBytes()
The node's current view of the hash of the best block
string block_hash = 8;
long getBestHeaderTimestamp()
Timestamp of the block best known to the wallet
int64 best_header_timestamp = 13;
boolean getSyncedToChain()
Whether the wallet's view is synced to the main chain
bool synced_to_chain = 9;
boolean getSyncedToGraph()
Whether we consider ourselves synced with the public channel graph.
bool synced_to_graph = 18;
@Deprecated boolean getTestnet()
Whether the current node is connected to testnet. This field is deprecated and the network field should be used instead
bool testnet = 10 [deprecated = true];
java.util.List<LightningApi.Chain> getChainsList()
A list of active chains the node is connected to
repeated .lnrpc.Chain chains = 16;
LightningApi.Chain getChains(int index)
A list of active chains the node is connected to
repeated .lnrpc.Chain chains = 16;
int getChainsCount()
A list of active chains the node is connected to
repeated .lnrpc.Chain chains = 16;
java.util.List<? extends LightningApi.ChainOrBuilder> getChainsOrBuilderList()
A list of active chains the node is connected to
repeated .lnrpc.Chain chains = 16;
LightningApi.ChainOrBuilder getChainsOrBuilder(int index)
A list of active chains the node is connected to
repeated .lnrpc.Chain chains = 16;
java.util.List<java.lang.String> getUrisList()
The URIs of the current node.
repeated string uris = 12;
int getUrisCount()
The URIs of the current node.
repeated string uris = 12;
java.lang.String getUris(int index)
The URIs of the current node.
repeated string uris = 12;
index
- The index of the element to return.com.google.protobuf.ByteString getUrisBytes(int index)
The URIs of the current node.
repeated string uris = 12;
index
- The index of the value to return.int getFeaturesCount()
Features that our node has advertised in our init message, node announcements and invoices.
map<uint32, .lnrpc.Feature> features = 19;
boolean containsFeatures(int key)
Features that our node has advertised in our init message, node announcements and invoices.
map<uint32, .lnrpc.Feature> features = 19;
@Deprecated java.util.Map<java.lang.Integer,LightningApi.Feature> getFeatures()
getFeaturesMap()
instead.java.util.Map<java.lang.Integer,LightningApi.Feature> getFeaturesMap()
Features that our node has advertised in our init message, node announcements and invoices.
map<uint32, .lnrpc.Feature> features = 19;
LightningApi.Feature getFeaturesOrDefault(int key, LightningApi.Feature defaultValue)
Features that our node has advertised in our init message, node announcements and invoices.
map<uint32, .lnrpc.Feature> features = 19;
LightningApi.Feature getFeaturesOrThrow(int key)
Features that our node has advertised in our init message, node announcements and invoices.
map<uint32, .lnrpc.Feature> features = 19;
boolean getRequireHtlcInterceptor()
Indicates whether the HTLC interceptor API is in always-on mode.
bool require_htlc_interceptor = 21;
boolean getStoreFinalHtlcResolutions()
Indicates whether final htlc resolutions are stored on disk.
bool store_final_htlc_resolutions = 22;