191 Commits (6f7650e4713fd3307d7630dc9b2589ca3d21a34c)

Author SHA1 Message Date
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
Rusty Russell 792feb8532 gossip: Only do a single lookup in channel_update. 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
practicalswift 99ce580e20 Remove unused parameter rstate in routing_failure_on_nc(struct routing_state *rstate, ...) 7 years ago
practicalswift 0013caedfe Remove unused parameter rstate in get_out_node_connection_of(struct routing_state *rstate, ...) 7 years ago
practicalswift a3cd9495ef Remove unused parameter rstate in delete_connection(struct routing_state *rstate, ...) 7 years ago
practicalswift 3dbace3421 Remove redundant casts to same type 7 years ago
Rusty Russell e92b710406 tools/generate-wire.py: remove length argument from fromwire_ routines. 7 years ago
Rusty Russell 55d962046b Rename (almost) all destructors to destroy_<type>. 7 years ago
ZmnSCPxj fecfd55e06 routing: Suppress UNUSUAL log message for UPDATE failcodes from local. 7 years ago
Rusty Russell d5effcb961 test_lightning: fix race on testing, esp. test_closing_different_fees. 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 7dd19d5b93 gossipd: Cleanup and less verbose on deferred node_announcements 7 years ago
Christian Decker f6c9c4fc3a gossipd: Use channels map to lookup pending cannouncements 7 years ago
Christian Decker b09666c51c gossip: Remember the channel_update broadcast index 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 24d52ec23a gossip: Only replace with newer updates while txout check is pending 7 years ago
Christian Decker 739e78a8c7 gossip: Reduce verbosity 7 years ago
Christian Decker fa069d7d97 gossip: Use the channels map to look up by scid 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 60ab947a2f gossip: Add new channels to channels map 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 89663454c8 routing: Factor out function to determine if we can route through a channel. 7 years ago
ZmnSCPxj, ZmnSCPxj jxPCSmnZ ddf052982a routing: Correct the sense of "PERM bit is NOT set" 7 years ago
Rusty Russell 8fcb45c1b2 routing: use marshalled short_channel_id, not string as tag for channel_announce 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
Christian Decker 7a651c62fa gossip: Pull up the check for new channels before checking the txout 7 years ago
Christian Decker fa1806da61 gossip: Deduplicate short_channel_id checks 7 years ago