-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FR] Include gui and version columns in MM2.db #2047
Comments
Should each side of the swap store its own gui and version only and have the seed node assemble them together? Or should we poll the other party's gui and version and store/retrieve it from |
Yes, considering we currently don't have a way to fetch the other side's gui and version without altering the swap messages or adding new ones, it's fine for each side to keep their own gui and version. The seed nodes can then put the two together as you noted. |
Please note that for non-wasm light nodes (clients), they process swap status messages same as seed nodes but receive only the messages related to their swaps komodo-defi-framework/mm2src/mm2_main/src/lp_swap.rs Lines 330 to 353 in e61c41e
For simplicity we should keep it the same way. Hope this is clear :) |
closing as complete |
The
stats_swaps
table currently contains only the columns listed at https://developers.komodoplatform.com/basic-docs/atomicdex/atomicdex-tutorials/query-the-mm2-database.html#stats-swapsTo derive the app gui and api version, we have to refer to the swap json files for each uuid on seed node servers. It would be nice to add columns for
The text was updated successfully, but these errors were encountered: