I'm learning about the blockchain by creating (..forking) a proof-of-stake coin. I forked whitecoin (fork of blackcoin), and made some modifications to make it easier to play around with:
nLastPOWBlock = 125;
nStakeMinAge = 5;
nCoinbaseMaturity = 5;
I was able to mine the initial PoW blocks successfully, but once it got to block 125 and I tried staking some coins (I have four daemons on the same machine with a few coins each) I never get any confirmations.
The daemons look like they are staking:
{
"error" : null,
"id" : "curltext",
"result" : {
"netstakeweight" : 0,
"staking" : true,
"difficulty" : 0.00024414,
"pooledtx" : 22,
"errors" : "",
"weight" : 1000000000,
"currentblocktx" : 22,
"expectedtime" : 0,
"enabled" : true,
"currentblocksize" : 23457,
"search-interval" : 16
}
}
What am I missing? Why is netstakeweight zero? I have a lot of unstaked coins, and only a few (I think) staked coins.. does it matter?