mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 07:09:15 +01:00
kernel: Move BlockInfo to a kernel file
This should avoid having to include interfaces/chain.h from a kernel module. interfaces/chain.h in turn includes a bunch of non-kernel headers, that break the desired library topology and might introduce entanglement regressions.
This commit is contained in:
@@ -2,9 +2,10 @@
|
||||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <chain.h>
|
||||
#include <interfaces/chain.h>
|
||||
#include <kernel/chain.h>
|
||||
|
||||
#include <chain.h>
|
||||
#include <kernel/cs_main.h>
|
||||
#include <kernel/types.h>
|
||||
#include <sync.h>
|
||||
#include <uint256.h>
|
||||
|
||||
Reference in New Issue
Block a user