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
{{ message }}
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.
@harrischristiansen@Shonas301 Just to make sure I'm on the same page. I should query this data from mysql and the solidity code will fire an event that our backend will pick up and update the mysql database.
@bbemis017 all the data on transactions, users, etc should already be cached in the DB technically, since it'll be persisted to the DB as soon as each disparate transaction is put on the blockchain.
SO i don't think we'd need to interact with solidity for this, since it's only reading that's happening (except for say blacklisting users/cards, but that's #57, but does live under the admin section)
We could run into into a situation where for some reason the backend doesn't pickup on some blockchain txn happening, so perhaps we should do some sort of periodic DB state reconciliation on a cronjob. (although how does gas work for that if we are querying the blockchain un-prompted??)
ok cool, I just wanted to double check before I starting building it.
As far as doing some kind of syncing operation, it should probably be avoided. But I think crypto kitties does something like that every once in a while.
The text was updated successfully, but these errors were encountered: