Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/httpserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
#include <signal.h>
#include <future>


#include <deque>
#include <event2/thread.h>
#include <event2/buffer.h>
#include <event2/bufferevent.h>
Expand Down
6 changes: 3 additions & 3 deletions src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1628,13 +1628,13 @@ bool AppInitMain()
// Either install a handler to notify us when genesis activates, or set fHaveGenesis directly.
// No locking, as this happens before any background thread is started.
if (chainActive.Tip() == nullptr) {
uiInterface.NotifyBlockTip.connect(BlockNotifyGenesisWait);
uiInterface.NotifyBlockTip.connect(&BlockNotifyGenesisWait);
} else {
fHaveGenesis = true;
}

if (gArgs.IsArgSet("-blocknotify"))
uiInterface.NotifyBlockTip.connect(BlockNotifyCallback);
uiInterface.NotifyBlockTip.connect(&BlockNotifyCallback);

std::vector<fs::path> vImportFiles;
for (const std::string& strFile : gArgs.GetArgs("-loadblock")) {
Expand All @@ -1652,7 +1652,7 @@ bool AppInitMain()
while (!fHaveGenesis && !ShutdownRequested()) {
condvar_GenesisWait.wait_for(lock, std::chrono::milliseconds(500));
}
uiInterface.NotifyBlockTip.disconnect(BlockNotifyGenesisWait);
uiInterface.NotifyBlockTip.disconnect(&BlockNotifyGenesisWait);
}

if (ShutdownRequested()) {
Expand Down
2 changes: 1 addition & 1 deletion src/net_processing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include <util.h>
#include <utilmoneystr.h>
#include <utilstrencodings.h>

#include <array>
#include <memory>

#if defined(NDEBUG)
Expand Down
2 changes: 1 addition & 1 deletion src/support/lockedpool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include <support/lockedpool.h>
#include <support/cleanse.h>

#include <stdexcept>
#if defined(HAVE_CONFIG_H)
#include <config/bitcoin-config.h>
#endif
Expand Down
1 change: 1 addition & 0 deletions src/test/cuckoocache_tests.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright (c) 2012-2017 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <deque>
#include <boost/test/unit_test.hpp>
#include <cuckoocache.h>
#include <script/sigcache.h>
Expand Down
4 changes: 2 additions & 2 deletions src/validation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#include <validation.h>

#include <boost/bind.hpp>
#include <arith_uint256.h>
#include <chain.h>
#include <chainparams.h>
Expand Down Expand Up @@ -4730,4 +4730,4 @@ class CMainCleanup
delete (*it1).second;
mapBlockIndex.clear();
}
} instance_of_cmaincleanup;
} instance_of_cmaincleanup;
2 changes: 1 addition & 1 deletion src/validationinterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#include <validationinterface.h>

#include <boost/bind.hpp>
#include <init.h>
#include <primitives/block.h>
#include <scheduler.h>
Expand Down