This adds the boilerplate code for erc20 v2 activation. Unfortunately, it is still a little unstable so the old methods will still be used for now, but this code is good to go for entering the codebase.
Along the way, the following items were completed:
Updated orderbook and bestorders to v2 and moved to use more efficient async request
Added PeerId display to settings > about
Misc refactoring, tweaking of logs, code commenting and variables renamed to be more descriptive of purpose
Fixed custom coin adding form (fixed BEP/ERC, disabled QRC)
Improved the activation flow by implementing an activation_queue to split large selections into smaller chunks with slight delays in between to avoid overloading,
Added comparisons between the m_activation_queue / currently_enabled registries and the get_enabled_coins rpc response to ensure coins active in mm2 are visible in app, and no repeated attempts at activation on an active coin are made.
This adds the boilerplate code for erc20 v2 activation. Unfortunately, it is still a little unstable so the old methods will still be used for now, but this code is good to go for entering the codebase.
Along the way, the following items were completed:
settings > about
activation_queue
to split large selections into smaller chunks with slight delays in between to avoid overloading,m_activation_queue
/currently_enabled
registries and theget_enabled_coins
rpc response to ensure coins active in mm2 are visible in app, and no repeated attempts at activation on an active coin are made.Explore
button for coin wallet pages which have a block explorer in coins_config.json