59 Commits (52917ff6c9922d636ab3ff6f9f68e41c4a5503bf)

Author SHA1 Message Date
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
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