Post
Topic
Board Announcements (Altcoins)
Merits 10 from 1 user
Re: [ANN][CON] PayCon™ HI POS - Upgrade - TOR - Themes - Features - 7/15, 2015
by
shane1175
on 03/08/2015, 11:01:29 UTC
⭐ Merited by IMZ (10)
Help!
my con wallet is broke, when I start it this comes up


MinGW Runtime Assertion

Assertion failed!

Program:
c:\Users\PayCon-qt-win-2-0-0\PayCon-qt.exe
File:src\kernel.cpp, Line 429

Expression: pindex->pprev || Pindex->GetBlockHash()==
(!fTestNet?hashGenesisBlock:hashGenesisBlockTestNet)

Have you run the wallet before? or had previous versions?


yes, been running CON for ages

I'm not sure the root of it off hand, this is the piece it is referring to as the Stake modifier.

// Get stake modifier checksum
unsigned int GetStakeModifierChecksum(const CBlockIndex* pindex)
{
    assert (pindex->pprev || pindex->GetBlockHash() == (!fTestNet ? hashGenesisBlock : hashGenesisBlockTestNet));
    // Hash previous checksum with flags, hashProofOfStake and nStakeModifier
    CDataStream ss(SER_GETHASH, 0);
    if (pindex->pprev)
        ss << pindex->pprev->nStakeModifierChecksum;
    ss << pindex->nFlags << pindex->hashProofOfStake << pindex->nStakeModifier;
    uint256 hashChecksum = Hash(ss.begin(), ss.end());
    hashChecksum >>= (256 - 32);
    return hashChecksum.Get64();
}

It will fix the problem to move your wallet out of your roaming folder, delete the Blockchain and resync and then once fully synced, to replace the empty wallet with the one containing your balance. I'll update the bootstrap and full Blockchain downloads when I wake up, is there anything you did differently?
thanks for that.
I was kind of hoping to not have to re-download the blockchain.
The only change I made was to not have Paycon start at login.