cryptonit
thanks for the answer.
Does it matter POS transaction size, example - 1, 25 or 100 DMD?
and how to sort for withdrawing old coins (POS 30 days) and new coins, example which received 7 days ago?
In the following new wallet certainly.
With the version of PoS Diamond uses, there are two values that parametrize how it works: coin age and coin size (*).
Coin age is used to decide whether the coin can be staked to provide interest. More coin age translates to more interest. Diamond currently has no limit. It is also used to prioritize staking -- coins with more age stake first.
Coin size matters for prioritizing too, larger coins get staked first. The algorithm is actually a bit more complex.
The PoS process has another feature -- it can combine smaller amounts into larger amounts. This helps aggregate coins and reduce transaction fees.
For example, you have 100 coins of 1 DMD each (typical solo miner) and the combining limit is set at 100 DMD (this value is yet to be determined) then after staking, you will end up with one 100 DMD coin (plus interest). Now, when you decide to send 100 DMD to someone, without this feature, you will be sending 100 coins, for transaction fees of around 0.012. With this feature, your transaction fee will be only 0.001. It also helps make your wallet processing faster.
At the moment, Diamond does not have the so called "coin control". We have looked at how other coins implement it, and although it is less than satisfactory, we will implement at least that much too. However, depending on whether it is requiring a fork, it might not be in the upcoming release (which will focus on code fixes and let PoS function). In theory, coin control lets you control which coins to stake or send. But we have some better ideas...
(*) "coin" as used here is an "unspent output", which is an amount you either received or generated. Most people only care about the totals, but the number of individual amounts is also an important metric.