altcoin development – How do I start the proof-of-stake phase after coin pre-mining in the proof-of-work phase?

I am currently learning to develop a new cryptocurrency, which I have also chosen to develop for a proof-of-stakes coin. I forked the Okcash for this purpose.
And I could change the coin to my needs, and I could start the proof-of-work phase. But after the mining stopped and I got the ready-made coins, I can not figure out how to get started.
Here are the details about the updated parameters:




nDistributionFund = 1; // 9998000 coins in this block
nLastFairLaunchBlock = 51; // 19.1 coins per block here until 51 block
nLastPOWBlock = 1096; // 1 coin per block here until 1096 block. The total coin in front of the mine is therefore 10 million.
nFirstPosv2Block = 20000;
nStakeMinAge = 8 * 60 * 60; // 8 hours
nModifierInterval = 10 * 60; // time before the new modifier is calculated, 60 seconds
nCoinbaseMaturity = 180;
nTargetTimespan = 16 * 60; // 16 min
nTargetSpacing = 69;

I was able to successfully break down the initial PoW blocks, but when it first came to block 1096 and I tried to put a few coins (I have two demons on the various machines with a considerable amount of coins), I get no confirmations.

Details about the first daemon:




{
"activated": true,
"Staking out": wrong,
"Error": "" ",
"current block size": 181390,
"currentblocktx": 97,
"pooledtx": 97,
"Difficulty": 0.00000000
"Search interval": 1,
"Weight": 0,
"netstakeweight": 0,
"Expected time": 0
}


Details about the second daemon:




{
"activated": true,
"Staking out": wrong,
"Error": "" ",
"current block size": 181390,
"currentblocktx": 97,
"pooledtx": 97,
"Difficulty": 0.00000000
"Search interval": 0,
"Weight": 5 billion
"netstakeweight": 0,
"Expected time": 0
}

As you can see all in the two demons, staking is "wrong".
Although the staking was "true" when the proof-of-work phase took place. It's weird if you set "true" in the proof-of-work phase, but not in the proof-of-stake phase itself. I do not know what's going on here.

Here is the getinfo file for both daemons:

First ->




{
"Mode": "full",
"Protocol version": 60021
"wallet version": 60000,
"Balance": 9947915.97620000
"newmint": 14.00000000
"Use": 0.00000000
"reserve": 0.00000000
"Blocks": 1096
"Time offset": 0,
"Cash benefit": 10000000.00000000
"Connections": 1,
"datareceived": "18.47 KB",
"datasent": "216.03 KB",
"Proxy": "",
"Difficulty": {
"Proof of work": 0.00000000,
"Proof of pledge": 0.00000000
},
"testnet": true,
"keypoololdest": 1538982514
"Keypoolsize": 101,
"paytfee": 0.00010000,
"mininput": 0.00000000
"Error": "" "
}

Secondly ->




{
"Mode": "full",
"Protocol version": 60021
"wallet version": 60000,
"Credit": 50000.00000000
"newmint": 0.00000000
"Use": 0.00000000
"reserve": 0.00000000
"Blocks": 1096
"Time offset": 0,
"Cash benefit": 10000000.00000000
"Connections": 1,
"datareceived": "220.29 KB",
"datasent": "19.51 KB",
"Proxy": "",
"Difficulty": {
"Proof of work": 0.00000000,
"Proof of pledge": 0.00000000
},
"testnet": true,
"keypoololdest": 1538558297
"Keypoolsize": 101,
"paytfee": 0.00010000,
"mininput": 0.00000000
"Error": "" "
}

Details about the configuration file:




testnet = 1
Stake out = 1
rpcallowip = *
rpcuser = user1
rpcpassword = pass1
Server = 1
to list

I've been stuck here for many weeks and can not figure out how to start the proof-of-stakes phase. Information on the Internet is at best vague.

Any explanation and help on these issues is palpable and will help me a lot.