Some proof-of-stake checkings refactoring
authoralex <alex@alex-VirtualBox.(none)>
Mon, 20 Jan 2014 21:14:40 +0000 (01:14 +0400)
committeralex <alex@alex-VirtualBox.(none)>
Mon, 20 Jan 2014 21:14:40 +0000 (01:14 +0400)
commitae33b3e73443f841738bdfb4a8057dc519951bc3
tree3c3faa09c06964a388f02ff6a2c9df2294b40f13
parent815a2aa8f3744004f730cc9165a1e98d17da74c9
Some proof-of-stake checkings refactoring

* Implement CBlock::CheckSignature() method for signatures and proofhash checking;
* Move PoW header signature checking to new CBlock::CheckLegacySignature() method;
* Remove some redundant messages from debug.log output;
* Make some DoS checkings harder.

Another changes:

* getblock and getblockbynumber RPC calls are now providing generator public key for proof-of-stake blocks.
src/kernel.cpp
src/kernel.h
src/main.cpp
src/main.h
src/wallet.cpp