Port the BlockFound signal and parts of ScriptForMining from ZEC upstream

This commit is contained in:
Duke Leto
2020-03-07 14:36:22 -05:00
parent a2c8f752df
commit 35c68602e7
3 changed files with 10 additions and 3 deletions

View File

@@ -983,6 +983,9 @@ static bool ProcessBlockFound(CBlock* pblock)
}
}
// Inform about the new block
GetMainSignals().BlockFound(pblock->GetHash());
#ifdef ENABLE_WALLET
// Remove key from key pool
if ( IS_KOMODO_NOTARY == 0 )