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

git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@140 1a98c847-1fd6-4fd8-948a-caf3550aa51b
This commit is contained in:
s_nakamoto
2010-08-19 22:43:19 +00:00
parent 44a0de1861
commit 05454818dc
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