diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2012-11-26 16:30:54 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2012-11-26 16:30:54 +0000 |
commit | 2646080e3dc1a1da5be2c066329eb80e1ca0ef7b (patch) | |
tree | d81f6ae8d0e73b6dd7ea75b66808bfc35a981af4 | |
parent | 3ed1ccb0898b22353e9fcc942b43df98c9a3bf4c (diff) |
Allow -printpriority without -debug
-rw-r--r-- | src/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 4c2115688a..bf42593d0f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3731,6 +3731,7 @@ CBlock* CreateNewBlock(CReserveKey& reservekey) // Priority order to process transactions list<COrphan> vOrphan; // list memory doesn't move map<uint256, vector<COrphan*> > mapDependers; + bool fPrintPriority = GetBoolArg("-printpriority"); // This vector will be sorted into a priority queue: vector<TxPriority> vecPriority; @@ -3877,7 +3878,7 @@ CBlock* CreateNewBlock(CReserveKey& reservekey) nBlockSigOps += nTxSigOps; nFees += nTxFees; - if (fDebug && GetBoolArg("-printpriority")) + if (fPrintPriority) { printf("priority %.1f feeperkb %.1f txid %s\n", dPriority, dFeePerKb, tx.GetHash().ToString().c_str()); |