Merge bug fixes (#1260)
* Fix for incorrect locking in GetPubKey() (keystore.cpp) * Fix Cmd-Q / Menu Quit shutdown on OSX * Addition of ImmatureCreditCached to MarkDirty() To protect against possible invalidation and to bring conformity to the code.
This commit is contained in:
parent
5cb6486616
commit
053e374e42
@ -19,6 +19,7 @@ bool CBasicKeyStore::GetPubKey(const CKeyID &address, CPubKey &vchPubKeyOut) con
|
||||
{
|
||||
CKey key;
|
||||
if (!GetKey(address, key)) {
|
||||
LOCK(cs_KeyStore);
|
||||
WatchKeyMap::const_iterator it = mapWatchKeys.find(address);
|
||||
if (it != mapWatchKeys.end()) {
|
||||
vchPubKeyOut = it->second;
|
||||
|
@ -411,6 +411,7 @@ void BitcoinApplication::createSplashScreen(const NetworkStyle *networkStyle)
|
||||
splash->setAttribute(Qt::WA_DeleteOnClose);
|
||||
splash->show();
|
||||
connect(this, SIGNAL(splashFinished(QWidget*)), splash, SLOT(slotFinish(QWidget*)));
|
||||
connect(this, SIGNAL(requestedShutdown()), splash, SLOT(close()));
|
||||
}
|
||||
|
||||
void BitcoinApplication::startThread()
|
||||
|
@ -398,6 +398,7 @@ public:
|
||||
{
|
||||
fCreditCached = false;
|
||||
fAvailableCreditCached = false;
|
||||
fImmatureCreditCached = false;
|
||||
fAnonymizedCreditCached = false;
|
||||
fDenomUnconfCreditCached = false;
|
||||
fDenomConfCreditCached = false;
|
||||
|
Loading…
Reference in New Issue
Block a user