diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-08-21 16:05:34 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-08-21 16:05:47 +0200 |
| commit | 93ed3d9b4e92addfa56108d8b6e21490bd3c059e (patch) | |
| tree | d46aeac13eb9e92e242ce677adebae8a4bf43d48 /src/miner.cpp | |
| parent | Merge pull request #4706 (diff) | |
| parent | Remove all other print() methods (diff) | |
| download | discoin-93ed3d9b4e92addfa56108d8b6e21490bd3c059e.tar.xz discoin-93ed3d9b4e92addfa56108d8b6e21490bd3c059e.zip | |
Merge pull request #4735
3802224 Remove all other print() methods (Wladimir J. van der Laan)
9b6d4c5 Move strprintf define to tinyformat.h (Wladimir J. van der Laan)
8121258 Remove print() from core functions (Wladimir J. van der Laan)
Diffstat (limited to 'src/miner.cpp')
| -rw-r--r-- | src/miner.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/miner.cpp b/src/miner.cpp index 9408d2c5a..06acff1c3 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -42,14 +42,6 @@ public: COrphan(const CTransaction* ptxIn) : ptx(ptxIn), feeRate(0), dPriority(0) { } - - void print() const - { - LogPrintf("COrphan(hash=%s, dPriority=%.1f, fee=%s)\n", - ptx->GetHash().ToString(), dPriority, feeRate.ToString()); - BOOST_FOREACH(uint256 hash, setDependsOn) - LogPrintf(" setDependsOn %s\n", hash.ToString()); - } }; uint64_t nLastBlockTx = 0; @@ -404,7 +396,7 @@ CBlockTemplate* CreateNewBlockWithKey(CReserveKey& reservekey) bool ProcessBlockFound(CBlock* pblock, CWallet& wallet, CReserveKey& reservekey) { - pblock->print(); + LogPrintf("%s\n", pblock->ToString()); LogPrintf("generated %s\n", FormatMoney(pblock->vtx[0].vout[0].nValue)); // Found a solution |