cryptocoin-tradelib
cryptocoin-tradelib copied to clipboard
.../trade/CurrencyImpl.java got to go...
The current .../trade/CurrencyImpl.java is causing many problems with the current flood of new altcoins.
The java sources have to be recompiled for each new added coin type.
The coin identifiers in the app have to follow the java identifier rules, which causes problems with coin types like '42', '10-5' etc. I already added a workaround, but this is still a hack, and no real solution.
The real solution are the classes in the new trade/currency/* package. Coin types are just strings there and coins are stored with a persistence mechanism. I started a CSV file storage, but it could be a XML file or SQL DB storage as well.
But this transition will break you apps!
Let me know, if you have any issues with the new classes, need any specific features there etc.