c77ca2b161
* WIP starting to wire up the kademlia CLI tool * WIP wiring up kad cli tools * WIP starting to wire up the kademlia CLI tool * WIP wiring up kad cli tools * Got everything wired up * WIP starting to wire up the kademlia CLI tool * WIP wiring up kad cli tools * merge in upstream * WIP wiring up kad cli tools * Got everything wired up * WIP trying to get CLI to connect * Inspector connects to overlay now * Some refactoring * Linter fixes * Linter fixes * Switch to pkg/process instead of using rootCmd.Execute
21 lines
416 B
Protocol Buffer
21 lines
416 B
Protocol Buffer
// Copyright (C) 2018 Storj Labs, Inc.
|
|
// See LICENSE for copying information.
|
|
|
|
syntax = "proto3";
|
|
option go_package = "pb";
|
|
|
|
package kadcli;
|
|
|
|
service KadCli {
|
|
// CountNodes returns the number of nodes in the cache and in the routing table
|
|
rpc CountNodes(CountNodesRequest) returns (CountNodesResponse);
|
|
}
|
|
|
|
message CountNodesResponse {
|
|
int64 kademlia = 1;
|
|
int64 overlay = 2;
|
|
}
|
|
|
|
message CountNodesRequest {
|
|
}
|