Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Fizpok on November 06, 2013, 02:48:04 PM



Title: Making sure exact amount of BTC arrived
Post by: Fizpok on November 06, 2013, 02:48:04 PM
Hi,
I just did a payment of 0.005 BTC.
During the payment, I was asked to pay a comission, which I did.
Now, the recipient got 0.00499999999999998 BTC, I am not sure if it was related to a comission or not, but it never happened before.
Which is bad, as I am writing a payment system, that would reject a payment, if the amount is insufficient.

How can I make sure, that amount my recipient receives is what I sent, and not what I sent minus comission (or whatever the reason was)?

Thanks.


Title: Re: Making sure exact amount of BTC arrived
Post by: DannyHamilton on November 06, 2013, 04:01:53 PM
Hi,
I just did a payment of 0.005 BTC.
During the payment, I was asked to pay a comission, which I did.
Now, the recipient got 0.00499999999999998 BTC, I am not sure if it was related to a comission or not, but it never happened before.
Which is bad, as I am writing a payment system, that would reject a payment, if the amount is insufficient.

How can I make sure, that amount my recipient receives is what I sent, and not what I sent minus comission (or whatever the reason was)?

Thanks.

Transaction ID?

What wallet did you use to make the payment? Bitcoin-Qt? MultiBit? Electrum? Armory?

It isn't possible for a bitcoin payment to be 0.00499999999999998 BTC.  Bitcoin currently only extends to 8 decimal places.


Title: Re: Making sure exact amount of BTC arrived
Post by: tampazeus on November 06, 2013, 04:09:05 PM
I just did a payment of 0.005 BTC.
During the payment, I was asked to pay a comission, which I did.
Now, the recipient got 0.00499999999999998 BTC, I am not sure if it was related to a comission or not,


Seems just like rouding error of some client

Minimum increment is 0,00000001


Title: Re: Making sure exact amount of BTC arrived
Post by: Fizpok on November 07, 2013, 07:17:10 AM
I just did a payment of 0.005 BTC.
During the payment, I was asked to pay a comission, which I did.
Now, the recipient got 0.00499999999999998 BTC, I am not sure if it was related to a comission or not,


Seems just like rouding error of some client

Minimum increment is 0,00000001

Thanks. You are correct. It was my rounding error.