mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
generate-wire.py: generalize, move to tools.
We're going to want to use this for inter-daemon comms, so generalize it. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#define LIGHTNING_DAEMON_P2P_ANNOUNCE_H
|
||||
#include "config.h"
|
||||
#include "lightningd.h"
|
||||
#include "wire/gen_wire.h"
|
||||
#include "wire/gen_peer_wire.h"
|
||||
|
||||
void setup_p2p_announce(struct lightningd_state *dstate);
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#include "netaddr.h"
|
||||
#include "protobuf_convert.h"
|
||||
#include "state.h"
|
||||
#include "wire/gen_wire.h"
|
||||
#include "wire/gen_peer_wire.h"
|
||||
#include <ccan/crypto/sha256/sha256.h>
|
||||
#include <ccan/crypto/shachain/shachain.h>
|
||||
#include <ccan/list/list.h>
|
||||
|
||||
Reference in New Issue
Block a user