Bitcoin Forum
May 22, 2024, 01:59:48 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Help with creating PoS altcoin (bounty available)  (Read 85 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
lintz (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
December 17, 2017, 11:24:54 AM
 #1

Hi,

Currently I'm trying to develop an altcoin for testing the workflow of PoS, but still unable to get it done.
The source was cloned from known working and running PoW/PoS scrypt hybrid coin.

Here is my current details:
Algo: Scrypt
Type: PoW/PoS Hybrid
Max PoW: 50 blocks
Max Coin: 30.000.000
Block reward: 100 coin
Min Stake Age: 15 minutes
Max Stake Age: 30 days

Generate Genesis: DONE
Generate Merkle: DONE
Reset PoW checkpoint: DONE
Reset PoS checkpoint: DONE
Test mining: DONE until 100 blocks as configured as last PoW blocks and the miner get rejection message.

I've mined using 6 different PC on different networks and each PC has matured coins for staking (difference of total coins on each wallet just about 10%, did in on purpose to view the weight differences).
Each wallet are opened for staking and has their own weight based on total coin and time stacked.

But, the network weight is always 0.
I tried to kept all of wallets open for staking even for 2 days, the network weight is always 0.

Below is the getmininginfo stat
Code:
{
"blocks" : 50,
"currentblocksize" : 1000,
"currentblocktx" : 0,
"difficulty" : {
"proof-of-work" : 0.01354104,
"proof-of-stake" : 0.00024414,
"search-interval" : 1
},
"blockvalue" : 100000000,
"netmhashps" : 0.00000000,
"netstakeweight" : 0.00000000,
"errors" : "",
"pooledtx" : 0,
"stakeweight" : {
"minimum" : 2477,
"maximum" : 0,
"combined" : 2477
},
"stakeinterest" : 18000000,
"testnet" : false
}


And this are the getstakinginfo result:
Code:
{
"enabled" : true,
"staking" : true,
"errors" : "",
"currentblocksize" : 1000,
"currentblocktx" : 0,
"pooledtx" : 0,
"difficulty" : 0.00024414,
"search-interval" : 1,
"weight" : 2479,
"netstakeweight" : 0,
"expectedtime" : 0
}


Are there anyone could help me figuring out what I've missed or there are any configurations that I've not set it correctly?
I'm willing to give BTC bounty for the first working solution.

Kindly give your suggestion here or PM me directly.

Thanks guys.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!