From d0148f5e7d6bd487dd04ecdcae4cbc5294129e48 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Sun, 19 Oct 2014 17:10:18 +0300 Subject: [PATCH] Additional tracing for syncer. --- libethereum/EthereumHost.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libethereum/EthereumHost.cpp b/libethereum/EthereumHost.cpp index 5daf67fb9..94ef9d35c 100644 --- a/libethereum/EthereumHost.cpp +++ b/libethereum/EthereumHost.cpp @@ -86,6 +86,11 @@ void EthereumHost::noteNeedsSyncing(EthereumPeer* _who) void EthereumHost::changeSyncer(EthereumPeer* _syncer) { + if (_syncer) + clog(NetAllDetail) << "Changing syncer to" << _syncer->session()->socketId(); + else + clog(NetAllDetail) << "Clearing syncer."; + m_syncer = _syncer; if (isSyncing()) {