Bitcoin Forum
July 30, 2024, 01:13:25 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Altcoin Discussion / Learning with PoS test coin: why no transactions? 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?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!