You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears there may be a bug in transaction processing related to balance calculations as well.
I've been working with this project for a few days now and in testing managed to produce sets of double-transactions which produced balances well above that actually stored in either wallet.
This is possibly due to the need for a redirect at the end of addorder, prevent people double posting via refresh.
return redirect(home_page(instrument, dismissable="Order placed successfully!"))
Additionally adding UNIQUE to transaction_id should help.
This should probably still be checked for however, when applying changes to account balances.
I'm still working on testing, and beginning the migrating everything over to config files for dynamic loading directly from the config.
If you would like to collaborate on this, please let me know, we intend on extensive development for the future of this project.
I would love to collaborate. I think quite a bit of the SQL code needs to be overhauled, can you get on freenode IRC or jabber any time to discuss changes?
These do not take advantage of the config file, so the currencies are still hardcoded.
The text was updated successfully, but these errors were encountered: