Post
Topic
Board Announcements (Altcoins)
Re: [LAUNCHED][POW]⚡ELECTRONEUM⚡Official Moderated Thread
by
Grrizzly
on 04/12/2017, 10:46:14 UTC
Can you please confirm if there is double spending of ETN coins within your Network?
According to your github: https://github.com/electroneum/electroneum/blob/master/src/cryptonote_config.h
ETN carries only 2 decimals: #define CRYPTONOTE_DISPLAY_DECIMAL_POINT      2

If that is the case, how is the only exchange trading ETN able to execute BUY/SELL orders of up to 8 decimal places?


https://www.cryptopia.co.nz/Exchange/?market=ETN_BTC
4/12/2017 3:00:48 AM
Buy   
0.00000645
509.27733333
0.00328484

No explorer exists with a record of greater than (2) decimal places transactions, show where do the additional (6) decimal places of ETN come from?


Thanks

You're not actually trading coins directly between wallets on a coin exchange, once your deposit is credited to your account the balance exists as a database entry and is incremented/decremented based upon trading, deposits and withdrawals. Essentially your coins become virtual so the decimal point rules of the client itself become irrelevant at that point. An exchange could add as many decimal points as they want but most stick with 8 because that's the standard set by Bitcoin.

The only time the 2 decimal point limitation would be an issue would be at the time you come to withdraw as the client won't allow you to send transactions with more than 2 decimal points anything in the remaining 6 decimal spaces would be dust that you can't withdraw.
Thanks for your explanation but it begs the question
if I buy .115 ETN
and buy again .115 ETN
that creates .01 ETN a valid decimal place and amount able to send or rcve.

How are the additional (6) decimal places created?

Trades are not on the blockchain and as such not limited to the same rules, there could be any number of decemal places but as soon as you try to withdraw (move the coins onto the blockchain) you will be forced to obey its rules which will generally mean any value after the first 2 decemal places wont be transferable. The same thing happens with NEO which only operates on whole numbers.