Author

Topic: how did POS wallet work? (Read 721 times)

sr. member
Activity: 798
Merit: 253
July 21, 2015, 12:20:12 PM
#4
thanks

1. If all the miners stop, whether the new block will also be generated by POS stake and added to the blockchain?

2. If all the POW coins mined, only left POS coins, the new block will still be generated after some time interval? usually how to set this time interval?

3. unsigned int nTargetSpacing = 1 * 60; // 60 seconds
unsigned int nStakeMinAge = 1 * 30 * 60; // 30 min
unsigned int nStakeMaxAge = -1;           // forever
unsigned int nModifierInterval = 10 * 60; // time to elapse before new modifier is computed

whether the above setting correct? I want the new pure POS block generated every 30 minutes.

also, the setting static const int MODIFIER_INTERVAL_SWITCH = 35; in this way, I can let the stake work after 35 blocks?
legendary
Activity: 2114
Merit: 1090
=== NODE IS OK! ==
hero member
Activity: 728
Merit: 500
July 21, 2015, 02:42:18 AM
#2
I try to create a POS coin, after all POW coins mined, if I want the POS coin interest generated ever 1 hour, and keep interest generating forever, should I set nStateMinAge=60*60 //1 hour and also nStateMinAge=-1 ?
Is this correct? Thanks
any other setting?

there are a lot of pos coin scrypts available on github. check out there
sr. member
Activity: 798
Merit: 253
July 18, 2015, 05:58:38 PM
#1
I try to create a POS coin, after all POW coins mined, if I want the POS coin interest generated ever 1 hour, and keep interest generating forever, should I set nStateMinAge=60*60 //1 hour and also nStateMinAge=-1 ?
Is this correct? Thanks
any other setting?
Jump to: