## How can I simulate ProofOfStake (PoS) for a testnet (clone of Pivx)?

1

After the end of PoW blocks, I am unable to mine using PoS. Here is my setup.

1) Server with the following config file.

server=1
daemon=1
listen=1
rpcuser=user


2) Two clients running from 2 different VPS with individual unique IPs pointed to the server using the following in config file.

staking=1


3) A Mansternode installed on a separate VPS configured to one of the client VPS above.

4) I set the last block for PoW as 200. After that it must use PoS.

5) I start the mining using the server.

6) I send 100,000 coins each both to the client wallets. In one of them I lock 10,000 coins for Masternode, which works fine.

7) The mining continues and all are updating the blocks properly without any issues.

8) However, I see that none of the wallets report that their coins are enabled for staking. when I check the status using "getstakingstatus", this is what I see.

"validtime" : true,
"haveconnections" : true,
"walletunlocked" : true,
"mintablecoins" : true,
"enoughcoins" : true,
"mnsync" : true,
"staking status" : false


Everything is true, but, "staking status" alone is false.

9) PoW stops at 200 blocks. After that, no blocks are produced and none of the clients are active for staking (PoS).

What am I doing wrong? How do I solve this so that I can test PoS and understand it better? Is there any code that I need to look at and chance some setting in the code? Please let me know.

Question was closed 2020-06-15T22:52:05.180