106 Commits (d701e52c81dd3f028c5255cc05b7fc94e9a44dda)

Author SHA1 Message Date
John Barboza 30b290cb8f Explicit error message when disconnect fails 7 years ago
John Barboza 0a1351fd51 gossipd: command to disconnect from a gossiping peer 7 years ago
Rusty Russell dace9bfdcf gossipd: the great renaming. 7 years ago
Rusty Russell 172af04247 gossip: remove short_channel_id from 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 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 942d04ba87 gossipd: simplify channel_announce handling. 7 years ago
Rusty Russell fc410eff60 resolve_channel_req: use get_channel. 7 years ago
Rusty Russell a79879637a gossipd: local_add_channel can just use get_channel() 7 years ago
Rusty Russell 6bc634badf gossip: handle_get_update can just use get_channel. 7 years ago
Rusty Russell a9b1d73148 getchannels_req: iterate over channel map rather than nodes. 7 years ago
Rusty Russell 5f5d0b3e25 gossip_local_add_channel: remove unused flags field. 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 2ec38ec687 gossip: factor out appending code in getchannels_req(). 7 years ago
John Barboza b50912d8b1 Print node alias when listing peers 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 be5d945e97 gossip: only send out gossip to non-local peers when we're supposed to. 7 years ago
Rusty Russell c8390ca403 gossipd: fix obsolete comments. 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 60e20b502e gossipd: simplify pruning code. 7 years ago
Rusty Russell cf3f19524e gossip: formalize passing of siphash_seed. 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 216c52940d gossipd: Add fuzz and seed to getroute request. 7 years ago
Christian Decker d499c34db2 fixup! options: Add `--offline` to disable listening and auto-reconnection 7 years ago
Christian Decker 6f6176a91e options: Add `--offline` to disable listening and auto-reconnection 7 years ago
Rusty Russell b8c636514b pong: embed version string into ping replies if DEVELOPER=1. 7 years ago
practicalswift 91a9c2923f Mark intentionally unused parameters as such (with "UNUSED") 7 years ago
Rusty Russell e92b710406 tools/generate-wire.py: remove length argument from fromwire_ routines. 7 years ago
Rusty Russell e76a0b4ddc gossipd: fix race where we can handoff peer with bad cryptostate. 7 years ago
practicalswift fe670b9aaa Improve log message when receiving unknown message type 7 years ago
Rusty Russell d5effcb961 test_lightning: fix race on testing, esp. test_closing_different_fees. 7 years ago
Rusty Russell 526d3a232e tools/generate_wire.py: generate varlen arrays properly. 7 years ago
ZmnSCPxj 0d0ef2c733 gossipd: Implement gossip_mark_channel_unroutable. 7 years ago
Christian Decker f6c9c4fc3a gossipd: Use channels map to lookup pending cannouncements 7 years ago
Christian Decker a88076b1b0 gossip: Adding locally added channels to channels map 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 6daa770b0e Minor whitespace/comment spelling fixes. 7 years ago
Christian Decker acc6afc8de gossip: Directly return an error if we don't know a node's address 7 years ago
Christian Decker 932dbd8c2c gossip: Give up connecting after 10 attempts 7 years ago
Christian Decker f5147f27c9 gossip: Added message for unsuccessful connection attempts 7 years ago