block index checking on load, extra redundant checks, misc refactoring

This commit is contained in:
Satoshi Nakamoto
2010-08-28 00:49:30 +00:00
committed by Gavin Andresen
parent 43deefa435
commit 7a37c906a1
5 changed files with 126 additions and 62 deletions

2
net.h
View File

@@ -424,7 +424,7 @@ public:
string ToString() const
{
return strprintf("%s %s", GetCommand(), hash.ToString().substr(0,16).c_str());
return strprintf("%s %s", GetCommand(), hash.ToString().substr(0,20).c_str());
}
void print() const