70 Commits (9f519afc5dbe86dcb82ba4688d35ed9c2c614768)

Author SHA1 Message Date
Rusty Russell a38c619486 gossipd: keep index of node and channel announcements. 6 years ago
Rusty Russell 803e4f8895 gossipd: announce nodes after channel announcement. 6 years ago
Rusty Russell c2cc3823db gossipd: announce own node only after channel announcement actually broadcast. 6 years ago
Rusty Russell c546b1bbb6 gossipd: specify origin of updates in errors. 7 years ago
Rusty Russell 177a1fc88e gossipd: handle local channel creation separately from update. 7 years ago
Rusty Russell 540c68d7ca gossipd/gossip_constants.h: Single place for BOLT constants. 7 years ago
Rusty Russell cca791d1cb routing: clean up channel public/active states. 7 years ago
Rusty Russell 9d1e496b11 gossipd: use a real update in local_add_channel. 7 years ago
Rusty Russell c71e16f784 broadcast: invert ownership of messages. 7 years ago
Rusty Russell 8940528bdb gossipd: don't include private announcements into broadcast map. 7 years ago
Rusty Russell d40d22b68e gossipd: don't try to connect to non-routable addresses. 7 years ago
Christian Decker 7497f972f1 moveonly: Move handle_local_add_channel to routing.h 7 years ago
Rusty Russell abbbfac8e2 gossipd: return bool from message announce routines. 7 years ago
ZmnSCPxj 86290b54d4 routing: Use 64-bit msatoshi for messages to and from routing. 7 years ago
Christian Decker 0e0ad1aa4d gossip: Check that we have a node before applying changes 7 years ago
Christian Decker c4ea79cc5c Revert gossip: Track whether we read a message from store or peer 7 years ago
Christian Decker 96ad0e7044 gossip: Extract network changes into their own functions 7 years ago
Christian Decker a571bf9d3a gossip: Track whether we read a message from store or peer 7 years ago
Christian Decker 5c14f24bb3 gossip: Add gossip_store to the routing_state 7 years ago
practicalswift a4059ef83e Use expected LIGHTNING_DIR_FILE_H define 7 years ago
Rusty Russell 0a6e3d1e13 utils: remove tal_tmpctx altogether, use global. 7 years ago
Rusty Russell 1f443df428 gossipd: use the broadcast structure to hold gossip messages. 7 years ago
Rusty Russell 1dccbb30f9 gossip: send error messages on grossly malformed channel_update. 7 years ago
Rusty Russell 5d77183c94 gossip: send error messages on grossly malformed channel_announcement. 7 years ago
Rusty Russell 6d72550707 gossip: send error messages on grossly malformed node_announcement. 7 years ago
Christian Decker 2abf72e7df gossip: Store channel capacity in the routing table 7 years ago
Rusty Russell dace9bfdcf gossipd: the great renaming. 7 years ago
Rusty Russell 61bcb054e0 routing: remove redundant fields from struct node_connection. 7 years ago
Rusty Russell 172af04247 gossip: remove short_channel_id from struct node_connection. 7 years ago
Rusty Russell 56349ab008 routing: work with struct routing_channel not struct node_connection. 7 years ago
Rusty Russell fd9c0c8543 routing: move struct node_connection into struct routing_channel. 7 years ago
Rusty Russell be14b52423 routing: connections are now never null; simplify. 7 years ago
Rusty Russell 00194b6130 handle_disable_channel: don't use get_connection_by_scid. 7 years ago
Rusty Russell 74ee448bda routing: expose setter for struct node_connection fields. 7 years ago
Rusty Russell 33726b0a08 gossip: instead of refresh interval, have routing know prune_timeout. 7 years ago
Rusty Russell b7ec2c8c9c node_connection: move channel_announcement field into struct routing_channel. 7 years ago
Rusty Russell 942d04ba87 gossipd: simplify channel_announce handling. 7 years ago
Rusty Russell 9b900138d0 gossip: put 'routing_channel' in charge of 'node_connection'. 7 years ago
Rusty Russell f8426600a6 gossipd: don't create a routing_channel while we're waiting. 7 years ago
Rusty Russell ca4603455b short_channel_id: remove short_channel_id_to_uint accessor. 7 years ago
Rusty Russell affc1be4d6 gossipd: get_channel() wrapper for channel lookup. 7 years ago
Rusty Russell a073c201e0 gossip: expose and use get_node() helper. 7 years ago
Rusty Russell 76ff52b601 routing: remove unused txout_state field in struct routing_channel. 7 years ago
ZmnSCPxj 6767434ea9 routing: Use siphash24 for route randomization 7 years ago
ZmnSCPxj aff52ce5a8 gossipd: Implement improved randomization of routes. 7 years ago
ZmnSCPxj 0d0ef2c733 gossipd: Implement gossip_mark_channel_unroutable. 7 years ago
Wladimir J. van der Laan b2abe0d250 gossipd: Move include of time.h to routing.h 7 years ago
Christian Decker f6c9c4fc3a gossipd: Use channels map to lookup pending cannouncements 7 years ago
Christian Decker 0790d9b52f gossip: Add a map for pending node_announcements 7 years ago
Christian Decker 35b44d5294 gossip: Remember which broadcast index the node_announcement had 7 years ago