Recent discussions on unit changes has arrived at keeping case insensitive nano (NANO, Nano) as 10^30 and raw as 10^0 for the main standardized units. To help set the standard, code references to units in the QT wallet and RPCs for unit conversion, need adjustments:
mnano/mrai should become nano
knano/krai should be removed
nano should be removed wherever it is used for 10^24 units
rai should be removed
For the unit conversion RPCs, all existing should be deprecated:
Recent discussions on unit changes has arrived at keeping case insensitive nano (NANO, Nano) as 10^30 and raw as 10^0 for the main standardized units. To help set the standard, code references to units in the QT wallet and RPCs for unit conversion, need adjustments:
mnano
/mrai
should becomenano
knano
/krai
should be removednano
should be removed wherever it is used for 10^24 unitsrai
should be removedFor the unit conversion RPCs, all existing should be deprecated:
krai_from_raw
,krai_to_raw
mrai_from_raw
,mrai_to_raw
rai_from_raw
,rai_to_raw
New unit conversion RPCs should be added:
nano_to_raw
raw_to_nano
https://github.com/nanocurrency/nano-docs/pull/466#issuecomment-883578836