It is simple look into the code, when the POS is calculated the transaction is split in two equal part ( and I think if the transaction is > 2 not sure).
My problem is when I try to send for example 50000 coin is does not work, and I got the message Error: Transaction creation failed. Any Idea ?
The problem for me is when you own more than 1M coin ..... POS is going to split into potentially 1M transaction into your wallet !! weird isn't it ?
Hi Glop
Splitting the stake reward block into two transactions is common for POS coins.
You need to be using coin control feature to clean up your wallet. You'll find it under Options/Display.
Here is a good tutorial on coin control, from the HoboNickel folks.
http://wiki.hobonickels.info/index.php?title=Coin_Controlhere's a relevent part...hope this helps.
Enabled Coin Control
In the wallet client, go to settings and then select options. Click on the tab that says Display. Check the box that says Display coin control features (experts only!). Press OK.
Select Wallet and Blocks
I select the wallet in the multi-wallet window, this particular wallet is called wallet-mine.
After selecting the wallet I will hit the send coins button.
There will be a box titled Coin Control Features inside of this box I will hit the inputs button. A new window will appear called Coin Control. In this window you have the option to use the tree mode or the list mode, I prefer list mode, but decide yourself which you like the best.
You will see the total amount of coins held in the wallet with the amount of blocks held in the wallet in parenthesis. If you are using tree mode, hit the arrow to expand the view and display your wallet's blocks, if you are using list mode the blocks are already displayed. Select the block with the smallest amount of confirmations. For my transaction I select the 100 [CDA] block with the smallest amount of confirmations, but you are also able to select more than one block if you transaction requires more than one block. Press OK.
You will now be taken back to the Send Coins screen and the details to include in your transaction are prepared for you.
Send the Blocks
This is the important part of the tutorial. I want my 0.0001 transaction fee to be taken out of the block I am sending so that my other two 100 [CDA] blocks do not change their coin age. If the transaction fee is taken out of the wrong block then it will leave me with only one block of 100 [CDA] that has aged five days, and my other 100 [CDA] block will turn into a 99.999 block of [CDA] that will have 0 days of aging.
Look at the information in the Coin Control box. It will tell the amount of blocks you are sending (mine is 1), the amount of [CDA] being removed from your wallet (mine is 100 [CDA]), the transaction fee (0.0001), and the amount that will be received by the other party after the fee is taken into account (mine is 99.999).
Copy the After Fee amount and paste it into the Amount field at the bottom of the client.
Double check the Change = 0.00
Put the receiving wallet address in the Pay To field, not into the custom change address field.
Press Send
My block has now been sent to my friend's address, who will see 99.9999 [CDA] deposited into their wallet. The 0.0001 transaction fee was taken out of the 100 [CDA] block and my other blocks do not have their aging process disturbed.