Post
Topic
Board Announcements (Altcoins)
Re: [ANN] xCash : First Coin Feat. 100% Stealth Anon - NEW xChange P2P OTC
by
socoban
on 31/03/2015, 08:26:38 UTC
It's not a bug, its about understanding the codebase in a way that makes sense.  The xCash codebase is organized like spaghetti code with a mishmash of different solutions that were coded for problems, ESPECIALLY in regards to the database.  There is 2 separate databases to track currency value when really there should be only 1. One uses BerklyDB the other LevelDB, 2 separate hash table database engines.  BerklyDB was the original, and LevelDB was supposed to better faster, but had problems on Mac with corruption etc...  So the programmers who did this initially half finished the conversion of the code for BerklyDB and left the other half LevelDB, leaving a huge mess to clean up.

So doing it the way I proposed will be less prone to errors and more secure long term.  Hope this clears some things up.

Note::

My solution is going to use an SQL table, which is slower if the ledger kept growing... HOWEVER... since I plan to have a limited ledger it will wind up being faster overall long-term and easier to maintain and understand.  Probably will use SQLite.


Did you discuss this code change with cryptsy? Will it be possible to change wallet and all balances? Will cryptsy agree to that changes? If they agree, than simplest solution will be if everyone load their coins to cryptsy, they are trusted authority. Than wallet can be changed and people can withdraw from them to new wallet. In that case, they can have everything in 1 wallet and it will be simple to do the change.