Post
Topic
Board Announcements (Altcoins)
Re: ⚡ CUTcoin ⚡ TESTNET FREE coins 🔥 Exchange listing 🔥 POS start
by
C.U.T.coin
on 18/03/2019, 15:00:57 UTC
Hello, as we promised now we’re working under GUI wallet version.
🤖 Graphic easy to use and so-so wallet.

Current features list to add:
1/ Status:
  - You are staking XXX CUT now.
  - Waiting for the stake to mature, will start staking in approximately XX hours and XX minutes.
  - Last block time is too far in the past, you are likely disconnected from the network, please check your daemon.

2/ Unspent outputs amount for staking ( 800 blocks);
3/ Total CUT coins amount;
4/ Current blockchain height;
5/ Difficulty;
6/ Statistics:
- Reward found in 24/ 48 hours.
- Next block expected time.
- Average income per 24 hours/ week.
- Lucky change for next block (probability percent).


We would like to hear your opinion about features you think we need to add. And promise we’ll boogie on it.
Waiting to read feedback. You're welcome to discuss with us at Telegram chat or at Discord community. Thank you!🤩

These all sound like great features.
Will you elaborate more on how a stake is selected for a block?
If I stake 10 coins vs 1000. Do they have equal chance for a block?
Does the stake need to be greater than the transaction amount? (IE a 10 coin stake wouldn't support a 15 coin transaction but 100coin stake would?)
Thanks.


Hello, thank you for questions.
After each block, each unspent output in each staking wallet computes it's time to mine a block. It does so by calculating a hash of the last PoS hash concatenated with the unspent output's key image. The lower the numeric hash value and the output monetary amount - the sooner it will be allowed to forge a block. Eventually, the time advances to the allowed time of some of the outputs and it's wallet forges a block and broadcasts it to the network.

The chance to forge a new block is therefore proportional to the total amount of coins in the wallet.

Our implementation is very close to the one described here:

However, instead of rolling the timestamp every 16 seconds and re-checking (as described above), each output has a "target time" at which it will be allowed to forge a block, quite similar to what NXT has:
https://nxtwiki.org/wiki/Whitepaper:Nxt#The_Forging_Algorithm

By using the key image of an output, which is generally secret before the output is spent, to generate the hash we effectively address Vitalik's concerns about predictability of PoS blockchains, raised here:
https://vitalik.ca/files/randomness.html