comment how/where tx userhashes are checked upon block acceptance

This commit is contained in:
Miguel Freitas 2013-07-19 16:39:12 -03:00
parent d66994d0f0
commit c13ab7e5d5

View File

@ -1596,6 +1596,8 @@ bool CheckBlock(const CBlock& block, CValidationState& state, bool fCheckPOW, bo
return true;
}
// [MF] test and accept block. chain is updated at AddToBlockIndex=>ConnectBestBlock=>SetBestChain=>ConnectBlock
// (it is ConnectBlock who will check for already existing userhashes)
bool AcceptBlock(CBlock& block, CValidationState& state, CDiskBlockPos* dbp)
{
// Check for duplicate