mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
parent
3e6014484e
commit
83059beff5
12 changed files with 99 additions and 227 deletions
|
|
@ -580,17 +580,17 @@ static RPCHelpMan getnetworkinfo()
|
|||
{RPCResult::Type::NUM, "version", "the server version"},
|
||||
{RPCResult::Type::STR, "subversion", "the server subversion string"},
|
||||
{RPCResult::Type::NUM, "protocolversion", "the protocol version"},
|
||||
{RPCResult::Type::STR_HEX, "localservices", /*optional=*/true, "the services we offer to the network"},
|
||||
{RPCResult::Type::ARR, "localservicesnames", /*optional=*/true, "the services we offer to the network, in human-readable form",
|
||||
{RPCResult::Type::STR_HEX, "localservices", "the services we offer to the network"},
|
||||
{RPCResult::Type::ARR, "localservicesnames", "the services we offer to the network, in human-readable form",
|
||||
{
|
||||
{RPCResult::Type::STR, "SERVICE_NAME", "the service name"},
|
||||
}},
|
||||
{RPCResult::Type::BOOL, "localrelay", /*optional=*/true, "true if transaction relay is requested from peers"},
|
||||
{RPCResult::Type::BOOL, "localrelay", "true if transaction relay is requested from peers"},
|
||||
{RPCResult::Type::NUM, "timeoffset", "the time offset"},
|
||||
{RPCResult::Type::NUM, "connections", /*optional=*/true, "the total number of connections"},
|
||||
{RPCResult::Type::NUM, "connections_in", /*optional=*/true, "the number of inbound connections"},
|
||||
{RPCResult::Type::NUM, "connections_out", /*optional=*/true, "the number of outbound connections"},
|
||||
{RPCResult::Type::BOOL, "networkactive", /*optional=*/true, "whether p2p networking is enabled"},
|
||||
{RPCResult::Type::NUM, "connections", "the total number of connections"},
|
||||
{RPCResult::Type::NUM, "connections_in", "the number of inbound connections"},
|
||||
{RPCResult::Type::NUM, "connections_out", "the number of outbound connections"},
|
||||
{RPCResult::Type::BOOL, "networkactive", "whether p2p networking is enabled"},
|
||||
{RPCResult::Type::ARR, "networks", "information per network",
|
||||
{
|
||||
{RPCResult::Type::OBJ, "", "",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue