Re:Stellar
by GregorStocks on Thursday July 31, 2014 @12:39PM
(#8115123)
I registered for this and got 5,000.999999 Stellars. Kinda curious about the 0.999999 part...
[ Parent
| on HN ]
Re:Stellar
by hyperliner on Thursday July 31, 2014 @01:21PM
(#8115500)
Maybe they are doing floating point math in Javascript! :-)
(which would be silly, so there must be another reason! :-)
From the FAQ:
> To prevent spam, each transaction burns 10 microstellars (that is, 0.00001 stellars).
They must have been transferring +1 Stellar to cover the transaction fee. An 5k balance looks better than 4999.
The values are probably stored in float, which is ridiculous.
This confused me as well. Stellars are stored in fixed point, as millionths of a stellar. But there's a tiny anti-spam fee for each payment transaction, so if you've sent money somewhere you may find an extra 0.000010 gone.
A better way to phrase what you just did:
Maybe the values are stored as a float? But that would be silly, so there must be a better reason.
Re:Stellar
by mingabunga on Thursday July 31, 2014 @01:21PM
(#8115507)
From FAQs: To prevent spam, each transaction burns 10 microstellars (that is, 0.00001 stellars).
Where do the 10 microstellars go? Are they actually destroyed?
If it's the same as Ripple which this is based on, then the 10 microstellars are destroyed, yes.
Re:Stellar
by hyperliner on Thursday July 31, 2014 @01:24PM
(#8115534)