Browse Source

wallet: Move txfilter into wallet

Transaction filters are strongly related to the wallet, this move just
makes it a bit more explicit.

Signed-off-by: Christian Decker <decker.christian@gmail.com>
ppa-0.6.1
Christian Decker 7 years ago
parent
commit
2680e6d9ff
  1. 1
      lightningd/Makefile
  2. 2
      lightningd/lightningd.h
  3. 1
      wallet/Makefile
  4. 0
      wallet/txfilter.c
  5. 0
      wallet/txfilter.h

1
lightningd/Makefile

@ -73,7 +73,6 @@ LIGHTNINGD_SRC := \
lightningd/peer_control.c \
lightningd/peer_htlcs.c \
lightningd/subd.c \
lightningd/txfilter.c \
lightningd/watch.c
# Source files without corresponding headers

2
lightningd/lightningd.h

@ -7,8 +7,8 @@
#include <ccan/time/time.h>
#include <ccan/timer/timer.h>
#include <lightningd/htlc_end.h>
#include <lightningd/txfilter.h>
#include <stdio.h>
#include <wallet/txfilter.h>
#include <wallet/wallet.h>
/* BOLT #1:

1
wallet/Makefile

@ -7,6 +7,7 @@ wallet-wrongdir:
WALLET_LIB_SRC := \
wallet/db.c \
wallet/invoices.c \
wallet/txfilter.c \
wallet/wallet.c \
wallet/walletrpc.c

0
lightningd/txfilter.c → wallet/txfilter.c

0
lightningd/txfilter.h → wallet/txfilter.h

Loading…
Cancel
Save