Skip to content

Commit

Permalink
Added remote nodeID to KnownHost message
Browse files Browse the repository at this point in the history
  • Loading branch information
o-aleksandrov-topl committed Nov 28, 2023
1 parent 8cc8289 commit 8cabefd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions proto/node/models/p2p.proto
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ message CurrentKnownHostsReq {


message KnownHost {
string host = 1 [(validate.rules).string = {min_len: 1, max_len: 255}];
uint32 port = 2;
bytes id = 1 [(validate.rules).bytes.len = 32];
string host = 2 [(validate.rules).string = {min_len: 1, max_len: 255}];
uint32 port = 3;
}

// Response type for CurrentKnownHosts
Expand Down

0 comments on commit 8cabefd

Please sign in to comment.