mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
build: prune BOOST_CPPFLAGS from libbitcoin_zmq
Rather than including validation.h, which ultimately means needing boost via txmempool.h, include primitives/block.h for CBlock, and remove validation.h, as we can get cs_main from node/blockstorage.h.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
#include <zmq.h>
|
||||
|
||||
#include <validation.h>
|
||||
#include <primitives/block.h>
|
||||
#include <util/system.h>
|
||||
|
||||
CZMQNotificationInterface::CZMQNotificationInterface() : pcontext(nullptr)
|
||||
|
||||
Reference in New Issue
Block a user