Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: yoblin626 on April 20, 2018, 06:02:58 AM



Title: Learning with PoS test coin: why no transactions?
Post by: yoblin626 on April 20, 2018, 06:02:58 AM
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:

Code:
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:

Code:
{
   "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?


Title: Re: Learning with PoS test coin: why no transactions?
Post by: fips1992 on July 17, 2018, 12:34:09 AM
I have the same problem.
Did you manage to solve it?