mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
gossipd: use htable, not linked list for peers.
This speeds up nodeid lookups, which is useful for the next simplification. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -272,7 +272,6 @@ get_channel(const struct routing_state *rstate,
|
||||
|
||||
struct routing_state *new_routing_state(const tal_t *ctx,
|
||||
const struct node_id *local_id,
|
||||
struct list_head *peers,
|
||||
struct timers *timers,
|
||||
const u32 *dev_gossip_time TAKES,
|
||||
bool dev_fast_gossip,
|
||||
|
||||
Reference in New Issue
Block a user