per-peer-daemons: tie in gossip filter.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2019-09-06 15:39:36 +09:30
committed by Christian Decker
parent 5292f11818
commit c99906a9a9
13 changed files with 33 additions and 3 deletions

View File

@@ -20,6 +20,8 @@ struct per_peer_state {
struct crypto_state cs;
/* NULL if it's not initialized yet */
struct gossip_state *gs;
/* Cache of msgs we have received, to avoid re-xmitting from store */
struct gossip_rcvd_filter *grf;
#if DEVELOPER
/* Normally 60000, but adjustable for dev mode */
u32 dev_gossip_broadcast_msec;