308 Commits (90667a24b610e0978f028a1caf681ea414f7df6c)

Author SHA1 Message Date
Christian Decker 552ddb8dfd gossip: Pass broadcast_state to gossip_store 7 years ago
Rusty Russell da55d3c0ff gossipd: handle node_announcement when channel_announcement removed. 7 years ago
Rusty Russell a38c619486 gossipd: keep index of node and channel announcements. 7 years ago
Rusty Russell 5ec454c7b2 gossipd: don't queue node_announce unless we've queued channel_announce. 7 years ago
Rusty Russell 97bb6c5a28 gossipd: ensure incoming timestamps are reasonable. 7 years ago
Rusty Russell 7a32637b5f gossipd: add timestamp to each broadcast message. 7 years ago
Rusty Russell 803e4f8895 gossipd: announce nodes after channel announcement. 7 years ago
Rusty Russell c2cc3823db gossipd: announce own node only after channel announcement actually broadcast. 7 years ago
Rusty Russell c2189229ca gossipd: only broadcast channel_announcement once we have a channel_update. 7 years ago
Rusty Russell 2431742285 gossipd: don't publish private updates after channel_announce. 7 years ago
Rusty Russell 88053bd1ca gossipd: remove too-loose timestamp workaround. 7 years ago
Rusty Russell adbe02c6be gossip: temporarily allow replacement of updates with same timestamp. 7 years ago
Rusty Russell c546b1bbb6 gossipd: specify origin of updates in errors. 7 years ago
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 b965ef7d1d routing: make sure we fail if we can't unmarshal announcements. 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 8940528bdb gossipd: don't include private announcements into broadcast map. 7 years ago
Rusty Russell d40d22b68e gossipd: don't try to connect to non-routable addresses. 7 years ago
Christian Decker 9cfd09dc4a gossip: HalfChans are public if we have an update and the Chan is 7 years ago
Christian Decker b028a363d8 gossip: Make sure we never add a channel twice 7 years ago
Rusty Russell 8a16963f22 channeld: get told when announce depth already reached. 7 years ago
Christian Decker 7497f972f1 moveonly: Move handle_local_add_channel to routing.h 7 years ago
conanoc 7170521895 change spaces to tabs, align function parameters 7 years ago
conanoc 0733770559 Adjust indents 7 years ago
Rusty Russell 3e1b584e73 gossipd: always add message internally before store. 7 years ago
Rusty Russell abbbfac8e2 gossipd: return bool from message announce routines. 7 years ago
Rusty Russell e8a052eb6d routing: add more debugging to announcement replaced fail. 7 years ago
Rusty Russell 30c1ab424f gossipd: reorder handle_node_announcement 7 years ago
Rusty Russell 4aca909acb routing: don't store node_announce unannounced nodes. 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
practicalswift 7e9750ffee Reduce variable scopes 7 years ago
Christian Decker c4ea79cc5c Revert gossip: Track whether we read a message from store or peer 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 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 03fd5afbc5 gossip: Store incoming gossip messages to gossip_store 7 years ago
Christian Decker 5c14f24bb3 gossip: Add gossip_store to the routing_state 7 years ago
practicalswift 98f49c0837 Remove include in file foo.c that is already included in foo.h 7 years ago
Rusty Russell 0a6e3d1e13 utils: remove tal_tmpctx altogether, use global. 7 years ago
Rusty Russell ccc9414356 status: remove trc context now we have tmpctx. 7 years ago
Rusty Russell 46cc7c281e features: more general accessor functions. 7 years ago
Rusty Russell 1f443df428 gossipd: use the broadcast structure to hold gossip messages. 7 years ago
Rusty Russell 1290f305a2 gossipd: remove tag. 7 years ago
Rusty Russell 882f9f258f gossipd: remove type from broadcast. 7 years ago