From 0a9be840bdd12de968f613c546cdf6d21d243267 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Mon, 17 Feb 2014 00:08:24 +0000 Subject: [PATCH] Fixup for bad -mt patch. --- libethereum/CMakeLists.txt | 6 +++--- libethereum/Client.cpp | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/libethereum/CMakeLists.txt b/libethereum/CMakeLists.txt index 5c86526aa..7e08e0f89 100644 --- a/libethereum/CMakeLists.txt +++ b/libethereum/CMakeLists.txt @@ -41,9 +41,9 @@ elseif (APPLE) target_link_libraries(ethereum ${CMAKE_THREAD_LIBS_INIT}) else () target_link_libraries(ethereum ${CRYPTOPP_LIBRARIES}) - target_link_libraries(ethereum boost_system-mt) - target_link_libraries(ethereum boost_filesystem-mt) - target_link_libraries(ethereum boost_thread-mt) + target_link_libraries(ethereum boost_system) + target_link_libraries(ethereum boost_filesystem) + target_link_libraries(ethereum boost_thread) find_package(Threads REQUIRED) target_link_libraries(ethereum ${CMAKE_THREAD_LIBS_INIT}) endif () diff --git a/libethereum/Client.cpp b/libethereum/Client.cpp index 357468b16..36440d5d1 100644 --- a/libethereum/Client.cpp +++ b/libethereum/Client.cpp @@ -137,6 +137,7 @@ void Client::work() lock_guard l(m_lock); if (m_s.sync(m_bc)) { + cnote << "Externally mined block: Restarting mining operation."; changed = true; m_miningStarted = true; // need to re-commit to mine. if (!m_doMine) @@ -144,6 +145,7 @@ void Client::work() } if (m_mined.sync(m_tq)) { + cnote << "Additional transaction ready: Restarting mining operation."; changed = true; m_miningStarted = true; }