core-lightning/gossipd
Christian Decker 6e01f38d7d gossip: Use the custom gossip wire msg to wrap channel_announcements
This stores and reads the channel_announcements in the wrapping message which
allows us to store associated data with the raw channel_announcements.

The gossip_store applies channel_announcements directly but it also returns it,
and it gets discarded as a duplicate. In the next commit we'll have gossip_store
apply all changes, bypassing verification, so the duplication is only temporary.

Signed-off-by: Christian Decker <decker.christian@gmail.com>
2018-03-25 23:56:59 +00:00
..
test gossip: Use the custom gossip wire msg to wrap channel_announcements 2018-03-25 23:56:59 +00:00
broadcast.c gossipd: make struct queued_message private. 2018-03-14 02:19:37 +00:00
broadcast.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00
gossip_store.c gossip: Use the custom gossip wire msg to wrap channel_announcements 2018-03-25 23:56:59 +00:00
gossip_store.h gossip: Use the custom gossip wire msg to wrap channel_announcements 2018-03-25 23:56:59 +00:00
gossip_wire.csv gossip: Add message types to store gossip msgs and associate data 2018-03-25 23:56:59 +00:00
gossip.c gossip: Use the custom gossip wire msg to wrap channel_announcements 2018-03-25 23:56:59 +00:00
handshake.c status: remove trc context now we have tmpctx. 2018-03-16 00:16:10 +00:00
handshake.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00
Makefile gossip: Added gossip store primitives 2018-03-25 23:56:59 +00:00
routing.c gossip: Use the custom gossip wire msg to wrap channel_announcements 2018-03-25 23:56:59 +00:00
routing.h gossip: Extract network changes into their own functions 2018-03-25 23:56:59 +00:00