Post
Topic
Board Announcements (Altcoins)
Re: [LAUNCHED][POW]⚡ELECTRONEUM⚡Official Moderated Thread
by
connorwoods
on 04/12/2017, 10:41:55 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.

For my experience it is not possible, if you you hit buy/sell you will get an error on cryptopia and it auto sets to 2 decimals.
I was just able to execute the following orders on cryptopia

Buy   
0.00000651
1195.84333637
0.0077849

4/12/2017 4:37:23 AM
Buy   
0.00000651
3188.54610288
0.02075744



7.89646045 ETN @ 0.00000652 BTC = 0.00005159 BTC total
again i bought
7.89646045 ETN @ 0.00000652 BTC = 0.00005159 BTC total


.00646045 + .00646045 = 0.0129209 ETN

I am now able to spend this 0.0129209 ETN

Is this not double spending?