From 8cdb0afc94f183e1c51db1d8ebe17482ac87698d Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Mon, 21 Apr 2014 12:06:28 +0100 Subject: [PATCH] Quieter on transactions. --- libethereum/State.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libethereum/State.cpp b/libethereum/State.cpp index b01fafa61..8c9ba5337 100644 --- a/libethereum/State.cpp +++ b/libethereum/State.cpp @@ -811,7 +811,7 @@ void State::execute(bytesConstRef _rlp) noteSending(sender); // Pay... - cnote << "Paying" << formatBalance(cost) << "from sender (includes" << t.gas << "gas at" << formatBalance(t.gasPrice) << ")"; +// cnote << "Paying" << formatBalance(cost) << "from sender (includes" << t.gas << "gas at" << formatBalance(t.gasPrice) << ")"; subBalance(sender, cost); if (t.isCreation()) @@ -819,7 +819,7 @@ void State::execute(bytesConstRef _rlp) else call(t.receiveAddress, sender, t.value, t.gasPrice, bytesConstRef(&t.data), &gas, bytesRef()); - cnote << "Refunding" << formatBalance(gas * t.gasPrice) << "to sender (=" << gas << "*" << formatBalance(t.gasPrice) << ")"; +// cnote << "Refunding" << formatBalance(gas * t.gasPrice) << "to sender (=" << gas << "*" << formatBalance(t.gasPrice) << ")"; addBalance(sender, gas * t.gasPrice); u256 gasSpent = (t.gas - gas) * t.gasPrice; @@ -828,7 +828,7 @@ void State::execute(bytesConstRef _rlp) cnote << "Transferring" << (100.0 - 100.0 / c_feesKept) << "% of" << formatBalance(gasSpent) << "=" << formatBalance(feesEarned) << "to miner (" << formatBalance(gasSpent - feesEarned) << "is burnt)."; */ u256 feesEarned = gasSpent; - cnote << "Transferring" << formatBalance(gasSpent) << "to miner."; +// cnote << "Transferring" << formatBalance(gasSpent) << "to miner."; addBalance(m_currentBlock.coinbaseAddress, feesEarned); // !!!!!!!!!!!!!!!!!!!!! If moving to use Executive, this still needs to be done - Executive won't do it.