Do you have a github PR for your POS solution ? or commit that describe well the process of integration of your Proof Of Stake ? I got an eye on the commits but can't figure out it ... any PR or anything clear please ?
Not really. We're working on the white paper.
Basically, POS competes across the network by a lottery ticket you get each block, for every UTXO that is older than 150 blocks. The lottery ticket is a hash and a target, the hash is made by hashing transaction ID, output numbers (so, the UTXO), a constant hash specific to our chain, so that if other chains use it, it will be different, a hash of the block 100 blocks behind the staking block, and a block height. This resulting hash is divided by the UTXO value and used in a competition to meet a specific difficulty. I borrowed some of the ideas from jl777s suggestion of using UTXOs independently and the last block staking transaction, which I used as components of the solution I implemented. Every staked block includes a no-fee staking transaction that moves the UTXO which won the competition forward, where it must sit for another 150 blocks before it can stake again.
The difficulty is managed much like PoW difficulty, but the PoS is totally relative to PoW, in that the difficulty is a function of solve time in units that are multiples of blocks passed. There are a few more details, but that's the basic POS system. To do that, it required work across numerous files, and I did it in stages.