gossip: Adding announcement handling to the gossip subdaemon.

We now have all the pieces to wire in the handling functionality to
the new gossip subdaemon.
This commit is contained in:
Christian Decker
2017-02-01 15:49:01 +01:00
committed by Rusty Russell
parent 9de880dce7
commit fb814a7a9e
3 changed files with 55 additions and 6 deletions

View File

@@ -4,6 +4,7 @@
#include "packets.h"
#include "pseudorand.h"
#include "routing.h"
#include "wire/gen_peer_wire.h"
#include <arpa/inet.h>
#include <ccan/array_size/array_size.h>
#include <ccan/crypto/siphash24/siphash24.h>
@@ -11,7 +12,6 @@
#include <ccan/structeq/structeq.h>
#include <ccan/tal/str/str.h>
#include <inttypes.h>
#include "wire/gen_peer_wire.h"
/* 365.25 * 24 * 60 / 10 */
#define BLOCKS_PER_YEAR 52596