125 Commits (dc25e3a6dfca3b8dc353660247896765c6f6d919)

Author SHA1 Message Date
Christian Decker 0e0ad1aa4d gossip: Check that we have a node before applying changes 7 years ago
practicalswift 7e9750ffee Reduce variable scopes 7 years ago
Christian Decker c4ea79cc5c Revert gossip: Track whether we read a message from store or peer 7 years ago
Christian Decker 3826518bd6 gossip: Wrap node_announcements in gossip_store messages 7 years ago
Christian Decker db13c7e851 gossip: Wrap channel_updates in the gossip_store as well 7 years ago
Christian Decker 6e01f38d7d gossip: Use the custom gossip wire msg to wrap channel_announcements 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 03fd5afbc5 gossip: Store incoming gossip messages to gossip_store 7 years ago
Christian Decker 5c14f24bb3 gossip: Add gossip_store to the routing_state 7 years ago
practicalswift 98f49c0837 Remove include in file foo.c that is already included in foo.h 7 years ago
Rusty Russell 0a6e3d1e13 utils: remove tal_tmpctx altogether, use global. 7 years ago
Rusty Russell ccc9414356 status: remove trc context now we have tmpctx. 7 years ago
Rusty Russell 46cc7c281e features: more general accessor functions. 7 years ago
Rusty Russell 1f443df428 gossipd: use the broadcast structure to hold gossip messages. 7 years ago
Rusty Russell 1290f305a2 gossipd: remove tag. 7 years ago
Rusty Russell 882f9f258f gossipd: remove type from broadcast. 7 years ago
Rusty Russell 640ff4b4b9 gossipd: cleanups due to feedback from cdecker. 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 8091e0679d gossipd: do all malformdness checks on node_announcement before queueing. 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 21b2f37dfb routing: return entire routing_channel array from find_route. 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 d7b5882f61 routing: don't free a single nc on prune, only entire channel. 7 years ago
Rusty Russell d0f68ffb15 routing: free entire channel, not just node_connection on PERM error. 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 1e4959af1f gossipd: fix case where we get an update on a pruned channel. 7 years ago
Rusty Russell 961321a6d8 gossipd: move route pruning to routing.c. 7 years ago
Rusty Russell 33726b0a08 gossip: instead of refresh interval, have routing know prune_timeout. 7 years ago
Rusty Russell b7bf414ac4 gossipd: prune announced-but-not-updated channels eventually. 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 6dec2ed1c1 gossipd: hoist new_node_connection above new_routing_channel. 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 c5d41a23d7 short_channel_id: just use structeq. 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 5970890fae gossipd: use status levels for unusual reporting. 7 years ago
Rusty Russell 04eb101aa6 routing: handle pending replies which are missing. 7 years ago
Rusty Russell 60e20b502e gossipd: simplify pruning code. 7 years ago