737 Commits (ba3c79e560d0401cd6755e9cdb7f251880687748)

Author SHA1 Message Date
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 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 affc1be4d6 gossipd: get_channel() wrapper for channel lookup. 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 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
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 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 91a9c2923f Mark intentionally unused parameters as such (with "UNUSED") 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
Rusty Russell 26617d1d64 gossipd/test: update mocks. 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
ZmnSCPxj fecfd55e06 routing: Suppress UNUSUAL log message for UPDATE failcodes from local. 7 years ago