Browse Source

gossip: Bump `gossip_getnodes_reply` result count to be u32 as well

Otherwise we'll just have the same issue once we reach 65k nodes.

Signed-off-by: Christian Decker <decker.christian@gmail.com>
issue-2504
Christian Decker 6 years ago
parent
commit
22dc67f70b
No known key found for this signature in database GPG Key ID: 1416D83DC4F0E86D
  1. 2
      gossipd/gossip_wire.csv

2
gossipd/gossip_wire.csv

@ -21,7 +21,7 @@ gossip_getnodes_request,,id,?struct pubkey
#include <lightningd/gossip_msg.h> #include <lightningd/gossip_msg.h>
gossip_getnodes_reply,3105 gossip_getnodes_reply,3105
gossip_getnodes_reply,,num_nodes,u16 gossip_getnodes_reply,,num_nodes,u32
gossip_getnodes_reply,,nodes,num_nodes*struct gossip_getnodes_entry gossip_getnodes_reply,,nodes,num_nodes*struct gossip_getnodes_entry
# Pass JSON-RPC getroute call through # Pass JSON-RPC getroute call through

Can't render this file because it has a wrong number of fields in line 6.
Loading…
Cancel
Save