2021-11-24 07:45:55 +00:00
|
|
|
# Discovery v5 json-rpc calls
|
|
|
|
proc discv5_routingTableInfo(): RoutingTableInfo
|
2021-12-03 08:51:25 +00:00
|
|
|
proc discv5_nodeInfo(): NodeInfo
|
|
|
|
proc discv5_updateNodeInfo(kvPairs: seq[(string, string)]): RoutingTableInfo
|
|
|
|
|
2022-02-02 21:48:33 +00:00
|
|
|
proc discv5_addEnrs(enrs: seq[Record]): bool
|
2021-12-03 08:51:25 +00:00
|
|
|
proc discv5_getEnr(nodeId: NodeId): Record
|
|
|
|
proc discv5_deleteEnr(nodeId: NodeId): bool
|
|
|
|
proc discv5_lookupEnr(nodeId: NodeId): Record
|
|
|
|
|
|
|
|
proc discv5_ping(nodeId: Record): PongResponse
|
2022-02-02 21:48:33 +00:00
|
|
|
proc discv5_findNode(nodeId: Record, distances: seq[uint16]): seq[Record]
|
|
|
|
proc discv5_talkReq(nodeId: Record, protocol, payload: string): string
|
2021-12-03 08:51:25 +00:00
|
|
|
|
|
|
|
proc discv5_recursiveFindNodes(): seq[Record]
|