|
|
|
@ -1501,14 +1501,6 @@ bool static Reorganize(CTxDB& txdb, CBlockIndex* pindexNew)
@@ -1501,14 +1501,6 @@ bool static Reorganize(CTxDB& txdb, CBlockIndex* pindexNew)
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static void |
|
|
|
|
runCommand(std::string strCommand) |
|
|
|
|
{ |
|
|
|
|
int nErr = ::system(strCommand.c_str()); |
|
|
|
|
if (nErr) |
|
|
|
|
printf("runCommand error: system(%s) returned %d\n", strCommand.c_str(), nErr); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Called from inside SetBestChain: attaches a block to the new best chain being built
|
|
|
|
|
bool CBlock::SetBestChainInner(CTxDB& txdb, CBlockIndex *pindexNew) |
|
|
|
|
{ |
|
|
|
|