From 95237de2d588a1e5059bc3b5adfa31773b874121 Mon Sep 17 00:00:00 2001 From: Christos Date: Wed, 15 Nov 2017 20:13:11 +0000 Subject: [PATCH 1/2] main.cpp: Commented out 2 Logprintf to prevent spamming debug.log build_detect_platform: chmod +x --- src/leveldb/build_detect_platform | 0 src/main.cpp | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 src/leveldb/build_detect_platform diff --git a/src/leveldb/build_detect_platform b/src/leveldb/build_detect_platform old mode 100644 new mode 100755 diff --git a/src/main.cpp b/src/main.cpp index efd4ca1..b6d83f7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -729,9 +729,9 @@ bool AcceptToMemoryPool(CTxMemPool& pool, CTransaction &tx, bool fLimitFree, if((tx.GetValueIn(mapInputs) - tx.GetValueOut()) >= FUNDAMENTALNODEAMOUNT){ nFees = tx.GetValueIn(mapInputs) - FUNDAMENTALNODEAMOUNT - tx.GetValueOut(); - LogPrintf("Fundamental transaction\n"); + //LogPrintf("Fundamental transaction\n"); } else{ - LogPrintf("Not Fundamental transaction\n"); + //LogPrintf("Not Fundamental transaction\n"); nFees = tx.GetValueIn(mapInputs) - tx.GetValueOut(); } From 24bade649d04f1182eda25adfc45140bb91c0c97 Mon Sep 17 00:00:00 2001 From: Christos Date: Wed, 15 Nov 2017 20:40:08 +0000 Subject: [PATCH 2/2] Even more debug.log cleaning Commented out another 2 Logprintf --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index b6d83f7..735483e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1633,10 +1633,10 @@ bool CTransaction::ConnectInputs(CTxDB& txdb, MapPrevTx inputs, map= FUNDAMENTALNODEAMOUNT ){ nTxFee = nValueIn - FUNDAMENTALNODEAMOUNT - GetValueOut(); - LogPrintf("ConnectInputs : Funamental Transaction\n"); + //LogPrintf("ConnectInputs : Funamental Transaction\n"); } else{ nTxFee = nValueIn - GetValueOut(); - LogPrintf("ConnectInputs : Not a Funamental Transaction\n"); + //LogPrintf("ConnectInputs : Not a Funamental Transaction\n"); }