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:
fanquake
2022-09-14 09:30:07 +01:00
parent 13fd9ee5c2
commit a10df7cf35
3 changed files with 2 additions and 3 deletions

View File

@@ -8,7 +8,7 @@
#include <zmq.h>
#include <validation.h>
#include <primitives/block.h>
#include <util/system.h>
CZMQNotificationInterface::CZMQNotificationInterface() : pcontext(nullptr)