web3-proxy/web3_proxy
David f66edd961b
Making Balance Changes Atomic (Read and Write) (#84)
* tried to make the balance_entry atomic, asking for feedback

* added locked select everywhere and inside the txn, it should be atomic now

* forgot about overwrite (referee vs sender entities were the same, overwriting each other), fixed it

* will now trigger refreshing cache when balance thresholds are met

* Revert "will now trigger refreshing cache when balance thresholds are met"

This reverts commit b1215ddc43a1358f6086bddbd106996165431165.

* will not modify userTier in database anymore

* made payment atomic

* made updates mostly atomic, locking only the referral table (bcs more complex logic)

* latest changes
2023-06-04 09:32:53 -07:00
..
examples put it back. duplication between cargo.toml isnt worth it 2023-05-30 21:37:58 -07:00
src Making Balance Changes Atomic (Read and Write) (#84) 2023-06-04 09:32:53 -07:00
Cargo.toml use MultiAbigen 2023-05-31 11:52:57 -07:00