Closed grctest closed 7 years ago
This is weird I see the function in main.cpp CBlockIndex* GetHistoricalMagnitude(std::string cpid)
The look back limit is set to 6 months 630BLOCKS_PER_DAY
For some reason its going into the if statement on it that i think was there to intend to prevent an issue for a last stake block being used if found and over 6 months old. hrm i do see a change made by @denravonska recently from if ((double)pblockindex->nHeight < nMinIndex) to if (pblockindex->nHeight < nMinIndex)
The GNP part is normal. i think the above is the problem and ravon will look at it later :)
Is it still signing the same block? As in right now? I'm not sore sure it's a bug. It should be signing the same block until someone stakes it, no? If you check that block on gridcoinstats it has now been created. Check if the wallet is trying to stake a different block now, if so this is just standard behavior.
The 6 month warning should be because the user hasn't received any rewards within the 6 month limit.
I've messaged the user on cryptocointalk for an update.
Actually my wallet PoR but not PoS. https://gridcoinstats.eu/cpid/816d4736b6196a357863cc458d98f7ee
13:39:57  getstakinginfo
13:39:57  { "enabled" : true, "staking" : true, "errors" : "", "currentblocksize" : 1000, "currentblocktx" : 0, "pooledtx" : 0, "difficulty" : 10.51408001, "search-interval" : 16, "weight" : 65039182516193, "netstakeweight" : 67748567, "expectedtime" : 0 }
The miner has been greatly reworked. It no longer signs blocks that are not staked. I suggest closing this issue as it is now irrelevant.
The above message was repeating in the user's debug log.
The message states that the last stake block found is greater than 6 months ago (not allowed), the client signs a block for the same cpid/blockhash/sig then GNP sets a new bpk value. This appears to be the loop.
The user states that the stake value is always at 0.
https://cryptocurrencytalk.com/topic/1331-new-coin-launch-announcement-grc-gridcoin/?do=findComment&comment=391274