pallas,
I think this option does not hurt, but you need to discuss with each exchange separately, because they may have already set up the parser EP
that's why I said it must be backward-compatible.
say an rpc call returns "balance":
"balance" : "10.1234567800ep"
we can simply add:
"balance_dp" : "10.12345678"
the old exchange will continue using "balance", the new one (not wanting to support EP) will just use "balance_dp".
on the RPC request parameters, we can detect the missing final "ep" and translate it to EP, so the rest of the wallet works as before.
situation number 1 your Exchange is new and never before add Cryptonite- in your Exchange standard should call returns "balance": "10.12345678"
but Cryptonite return "balance" : "10.1234567800
ep"
well your Exchange must convert this answer "balance": to "10.12345678" or to take "balance_dp" : "10.12345678"
for this (to take "balance_dp") the exchange will have to edit the exchange's code
::)I think the exchange will not agree to this
situation number 2 your Exchange is not new and have add Cryptonite before change well your Exchange can converting this answer "balance": from "10.1234567800
ep" to "10.12345678"
and Exchange will not have problems
situation number 3 your Exchange is not new and have add Cryptonite before change but they still have problem witch converting "10.1234567800
ep" to "10.12345678"
and they are not agree to change exchange's code especially for this coin....
well Exchange still have problems
if we are
add the -nonEP option
-nonEP = 0 return EP(default)
-nonEP = 1 return 53
-nonEP = 2 return 64
for situation number 1 your Exchange only need to change the daemon startup parameters(-nonEP = 1 return 53) and not to change exchange's code especially for this coin
for situation number 2 your Exchange have backwards-compatibility(-nonEP = 0 return EP(default) - return "balance" : "10.1234567800
ep")
for situation number 3 your Exchange only need to change the daemon startup parameters(-nonEP = 1 return 53) and restart daemon and not to change exchange's code especially for this coin
future:
situation number 4 your Exchange is new and never before add Cryptonite and can work with full 2^64- Exchange only need to change the daemon startup parameters(-nonEP = 2 return full 64) and not to change exchange's code especially for this coin