154 Commits (82c49db841c838648a31bb71f1a66f550b06c34d)

Author SHA1 Message Date
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
Christian Decker a88076b1b0 gossip: Adding locally added channels to channels map 7 years ago
Christian Decker 26b5588656 gossip: Use replace_broadcast when enqueuing a channel_announcement 7 years ago
Christian Decker 0bc2f8714d gossip: Added uintmap based channels map, indexed by scids 7 years ago
ZmnSCPxj a57a2dcb86 routing: Only mark channel unroutable for a short time. 7 years ago
ZmnSCPxj 67e2275383 gossipd: Add handling of channel_update to routing failures. 7 years ago
ZmnSCPxj b255d82ae2 gossipd: Implement `gossip_routing_failure` for master to report routing failures. 7 years ago
Rusty Russell db30411ba5 gossipd: look up short_channel_id when we see a channel_announcement. 7 years ago
Rusty Russell 810abb6b21 bitcoin: create new wrapper type bitcoin_blkid, log backward endianness. 7 years ago
Rusty Russell 32cee8620b routing: re-expose half_add_connection. 7 years ago
Rusty Russell 589cb673ce routing: remove negative fee support. 7 years ago
Rusty Russell 745c7b223a gossipd/routing: make local functions static. 7 years ago
Rusty Russell 8832925122 gossipd: don't hand length to route code, it's implied. 7 years ago
Christian Decker ba45ccffd8 routing: Return boolean from handle_channel_announcement 7 years ago
Christian Decker 19c030ea1f routing: Make routing_state aware of its own ID 7 years ago
Rusty Russell 68dae5648d gossipd: route correctly using final CLTV value. 7 years ago
Rusty Russell 78cd25d620 ipaddr: rename to wireaddr. 7 years ago