diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-05-01 22:03:51 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-06-23 01:11:38 +0200 |
commit | 863e995b79ec388bf292d80f181912d01e20e2e5 (patch) | |
tree | c8b732a9d5de07994896058269858060c8c85392 /src/main.cpp | |
parent | 54ce3bad64ea4dff64f16c12b287383ad96a875a (diff) |
Debug version messages
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 2d3e35138c..9ca4889be5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2419,7 +2419,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv) pfrom->fSuccessfullyConnected = true; - printf("version message: version %d, blocks=%d\n", pfrom->nVersion, pfrom->nStartingHeight); + printf("receive version message: version %d, blocks=%d, us=%s, them=%s, peer=%s\n", pfrom->nVersion, pfrom->nStartingHeight, addrMe.ToString().c_str(), addrFrom.ToString().c_str(), pfrom->addr.ToString().c_str()); cPeerBlockCounts.input(pfrom->nStartingHeight); } |