mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-08 00:24:28 +01:00
gossip: Moving to intmap-based broadcast for the legacy daemon
Moved the broadcast functionality to broadcast.[ch]. So far this includes only the enqueuing side of broadcasts, the dequeuing and actual push to the peer is daemon dependent. This also adds the broadcast_state to the routing_state and the last broadcast index to the peer for the legacy daemon.
This commit is contained in:
committed by
Rusty Russell
parent
3aa45a6d0b
commit
76e2c980e1
@@ -19,6 +19,7 @@ DAEMON_LIB_OBJS := $(DAEMON_LIB_SRC:.c=.o)
|
||||
|
||||
DAEMON_SRC := \
|
||||
daemon/bitcoind.c \
|
||||
daemon/broadcast.c \
|
||||
daemon/chaintopology.c \
|
||||
daemon/channel.c \
|
||||
daemon/commit_tx.c \
|
||||
@@ -66,6 +67,7 @@ DAEMON_GEN_HEADERS := \
|
||||
|
||||
DAEMON_HEADERS := \
|
||||
daemon/bitcoind.h \
|
||||
daemon/broadcast.h \
|
||||
daemon/chaintopology.h \
|
||||
daemon/channel.h \
|
||||
daemon/commit_tx.h \
|
||||
|
||||
Reference in New Issue
Block a user