Skip to content

Commit

Permalink
Change requerments for host known name
Browse files Browse the repository at this point in the history
  • Loading branch information
o-aleksandrov-topl committed Nov 13, 2023
1 parent 8e084d4 commit 8cc8289
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions proto/node/models/p2p.proto
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ message CurrentKnownHostsReq {


message KnownHost {
string host = 1 [(validate.rules).string = {min_len: 7, max_len: 64}];
string host = 1 [(validate.rules).string = {min_len: 1, max_len: 255}];
uint32 port = 2;
}

// Response type for CurrentKnownHosts
message CurrentKnownHostsRes {
// A list of Transaction IDs that are currently in the node's mempool
repeated KnownHost hotHosts = 1;
repeated KnownHost warmHosts = 2;
repeated KnownHost coldHosts = 3;
Expand Down

0 comments on commit 8cc8289

Please sign in to comment.