When I put 500 credits as deposit in mining, all the 500 is taken as deposit, there is no change, is that normal? That is included in block 33338
Well, it's not wrong, but normally the system should add the newly mined coins as deposit automatically unless you disable it. If it isn't enough (which it actually isn't now, anyone mining without extra deposits will get a slight difficulty punishment), the miner will look for manually added deposit txs.
But there's nothing preventing someone from creating a large deposit tx and lock it all up. So you may have to wait a few months to get them back...
Did you create a deposit tx yourself with qt and run the miner? In that case the miner probably picked up the available deposit and added it. There's no warning if the deposit is "too" large.
To sum it up:
- If the miner doesn't have enough deposits to reach the requirement, it will look for manually created deposit txs to fill up to the required level.
- If reward as deposit is enabled, it will use the reward to get to an exact amount, and send the extra coins as deposit change.
- However, if a deposit tx is larger thatn the required amount, there's no way for the system to modify the deposit tx and send the extra amount as change. The deposit tx is not modifiable.
- The system can however modify the "reward deposit", since it creates it itself. Thereby it can add up to just the correct amount, and send the rest as change.
Example:
1. Required, 30 CRE, Reward 20 CRE, 1 manually created deposit tx with 25 CRE in it. The miner will then take the reward, add 5 CRE as deposit to fulfill the requirement, and add 15 CRE as change.
2. Required 30 CRE, Reward 20 CRE, 1 manually created deposit tx with 60 CRE in it. The reward is not enough to reach the requirement. The miner will then take the manually created deposit tx and add as deposit. Since the requirement is fulfilled it does not have to use the reward, which will be free for usage elsewhere. However, none of the 60 CRE added as deposit can be sent as change since the manually created deposit tx is unmodifiable.
Some modifications to the deposit system will be done to ease the deposit process in the near future.