// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
-#include "txdb.h"
+#include "txdb-leveldb.h"
#include "miner.h"
#include "kernel.h"
#include "kernel_worker.h"
double dPriority = 0;
int64_t nTotalIn = 0;
bool fMissingInputs = false;
- BOOST_FOREACH(const CTxIn& txin, tx.vin)
+ for (const CTxIn& txin : tx.vin)
{
// Read prev transaction
CTransaction txPrev;
uint256 hash = tx.GetHash();
if (mapDependers.count(hash))
{
- BOOST_FOREACH(COrphan* porphan, mapDependers[hash])
+ for (COrphan* porphan : mapDependers[hash])
{
if (!porphan->setDependsOn.empty())
{