mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-02 09:15:04 +02:00
Merge bitcoin/bitcoin#28200: refactor: Remove unused includes from wallet.cpp
fa6286891fRemove unused includes from wallet.cpp (MarcoFalke)fa8fdbe229Remove unused includes from blockfilter.h (MarcoFalke)fad8c36aa9move-only: Create src/kernel/mempool_removal_reason.h (MarcoFalke)fa57608800Remove unused includes from txmempool.h (MarcoFalke) Pull request description: This makes compilation of wallet.cpp use a few % less memory and time, locally. Created in the context of https://github.com/bitcoin/bitcoin/issues/28109, but I don't think it is enough to actually fix this problem. ACKs for top commit: hebasto: ACKfa6286891f, I have reviewed the code and it looks OK. Tree-SHA512: 06f1120af2a8ef3368dbd9ae747acda88ace2507bd261bcc10341d476a0b3d71c8485377ea6c108b47df3e4c13b7f75a15f486bafa6a8466303168dde16ebbc8
This commit is contained in:
@@ -7,8 +7,10 @@
|
||||
|
||||
#include <blockfilter.h>
|
||||
#include <core_io.h>
|
||||
#include <primitives/block.h>
|
||||
#include <serialize.h>
|
||||
#include <streams.h>
|
||||
#include <undo.h>
|
||||
#include <univalue.h>
|
||||
#include <util/strencodings.h>
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
#include <node/mini_miner.h>
|
||||
#include <random.h>
|
||||
#include <txmempool.h>
|
||||
#include <util/time.h>
|
||||
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
|
||||
#include <chainparams.h>
|
||||
#include <node/blockstorage.h>
|
||||
#include <primitives/block.h>
|
||||
#include <undo.h>
|
||||
#include <validation.h>
|
||||
|
||||
using node::BlockManager;
|
||||
|
||||
Reference in New Issue
Block a user