Coins metadata load fixes
authorCryptoManiac <balthazar@yandex.ru>
Wed, 20 Aug 2014 20:42:55 +0000 (00:42 +0400)
committerCryptoManiac <balthazar@yandex.ru>
Wed, 20 Aug 2014 20:42:55 +0000 (00:42 +0400)
commitca78b9e6a859e32fbe36e7afb12c9c9403e8a5b0
tree12fcdeed61d8f8cffa7118f2399a0424acf41ecc
parentf5875a9a87b3341857381e847703cc4ae4890737
Coins metadata load fixes

* Don't load coin and meta if we unable to calculate suitable stake modifier for this coin;
* Move definition of MapMeta to CWallet class;
* Use MapMeta for stake weight calculation.
src/kernel.cpp
src/kernel.h
src/wallet.cpp
src/wallet.h