70 Commits (c2cc3823db7b79d097b583b422580a1b7774ff69)

Author SHA1 Message Date
Rusty Russell 8ee60e2d8e testing: make sure we don't see gossip in bad order. 7 years ago
Rusty Russell 177a1fc88e gossipd: handle local channel creation separately from update. 7 years ago
Rusty Russell cca791d1cb routing: clean up channel public/active states. 7 years ago
Rusty Russell 9d1e496b11 gossipd: use a real update in local_add_channel. 7 years ago
Rusty Russell c71e16f784 broadcast: invert ownership of messages. 7 years ago
Rusty Russell d40d22b68e gossipd: don't try to connect to non-routable addresses. 7 years ago
Rusty Russell 73cd009a4c gossipd/lightningd: use wireaddr_internal. 7 years ago
practicalswift 5db73c6e27 Avoid static analyzer warnings about potentially uninitialized values 7 years ago
practicalswift abf510740d Force the use of the POSIX C locale for all commands and their subprocesses 7 years ago
Christian Decker 64fbea1528 gossip_store: Save local_add_channel messages and replay them 7 years ago
Christian Decker 7497f972f1 moveonly: Move handle_local_add_channel to routing.h 7 years ago
Rusty Russell b0c2e3cd5c gossipd: use a separate CSV file for the gossip_store types. 7 years ago
Rusty Russell 2b8293c9f6 gossipd: don't use pwrite, better error messaging on init. 7 years ago
Christian Decker 63f22d70b5 gossip: Store channel deletions so we don't re-add them on restart 7 years ago
Christian Decker 3826518bd6 gossip: Wrap node_announcements in gossip_store messages 7 years ago
Christian Decker db13c7e851 gossip: Wrap channel_updates in the gossip_store as well 7 years ago
Christian Decker 6e01f38d7d gossip: Use the custom gossip wire msg to wrap channel_announcements 7 years ago
Christian Decker 5c14f24bb3 gossip: Add gossip_store to the routing_state 7 years ago
practicalswift d4aadd5e26 tests: Use correct privkey when calculating pubkey used in new_routing_state(...) call 7 years ago
practicalswift 03e2e404f2 Mark unused parameters as such (using "UNUSED") 7 years ago
practicalswift 20ae038080 Remove redundant declaration 7 years ago
Rusty Russell 0a6e3d1e13 utils: remove tal_tmpctx altogether, use global. 7 years ago
Rusty Russell 46cc7c281e features: more general accessor functions. 7 years ago
Rusty Russell 1290f305a2 gossipd: remove tag. 7 years ago
Rusty Russell 882f9f258f gossipd: remove type from broadcast. 7 years ago
Rusty Russell 8091e0679d gossipd: do all malformdness checks on node_announcement before queueing. 7 years ago
Rusty Russell 6d72550707 gossip: send error messages on grossly malformed node_announcement. 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 21b2f37dfb routing: return entire routing_channel array from find_route. 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 33726b0a08 gossip: instead of refresh interval, have routing know prune_timeout. 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
ZmnSCPxj 6767434ea9 routing: Use siphash24 for route randomization 7 years ago
ZmnSCPxj aff52ce5a8 gossipd: Implement improved randomization of routes. 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 26617d1d64 gossipd/test: update mocks. 7 years ago
Rusty Russell fd498be7ca status: generate messages rather than marshal/unmarshal manually. 7 years ago
Rusty Russell 84bf60f934 status: add multiple levels of logging. 7 years ago
Christian Decker 26b5588656 gossip: Use replace_broadcast when enqueuing a channel_announcement 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
ZmnSCPxj a2877232af gossipd: Check features in `node_announcement` and `channel_announcement`. 7 years ago
practicalswift d50fb131b6 Avoid passing uninitialized value dummy with uninitialized field addrlen to {initiator,responder}_handshake_ 7 years ago
Rusty Russell 047a2ea043 gossip: don't use assert around code with side effects. 7 years ago
Christian Decker 83caf1fdab routing: Add tracking of eviction for broadcasts 7 years ago
Christian Decker 1b28220b64 Revert "broadcast: don't reorder channel_announce when we get the real one." 7 years ago