mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
add member to rpc response indicating weither or not a peer is a service node
This commit is contained in:
parent
142b631301
commit
372bc40032
1 changed files with 1 additions and 0 deletions
|
@ -237,6 +237,7 @@ namespace llarp
|
|||
[&](const ILinkSession* session, bool outbound) {
|
||||
resp.emplace_back(
|
||||
Response{{"ident", RouterID(session->GetPubKey()).ToString()},
|
||||
{"svcnode", session->GetRemoteRC().IsPublicRouter()},
|
||||
{"addr", session->GetRemoteEndpoint().ToString()},
|
||||
{"outbound", outbound}});
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue