* WIP will work on locks
* added concurrent test for referral, numbers rn still add up
* will change balance table to be a view instead of a table
* merged in devel. will proceed with migrations for rpc_stats_v2 and referral
* WIP
* WIP
* WIP compiling
* gotta add the balance_v2 view
* about to add balance view
* stupid missing closing param
* compiles again, now i will just have to implement the raw sql
* need to paste the real query and play with it
* ok now on to testing
* addresses many comments in PR
* app works for simple unauthorized access. will look into tests
* some tests pass, referral logic tests fail
* not sure why the test is failing
* invalidate cache for admin, will check for more possible targets
* user balance decrease test works
* all tests pass
* changed to active model
---------
Co-authored-by: yenicelik <david.yenicelik@gmail.com>
* WIP will work on locks
* added concurrent test for referral, numbers rn still add up
* will change balance table to be a view instead of a table
* merged in devel. will proceed with migrations for rpc_stats_v2 and referral
* WIP
* WIP
* WIP compiling
* gotta add the balance_v2 view
* about to add balance view
* stupid missing closing param
* compiles again, now i will just have to implement the raw sql
* need to paste the real query and play with it
* ok now on to testing
* addresses many comments in PR
* app works for simple unauthorized access. will look into tests
* some tests pass, referral logic tests fail
* not sure why the test is failing
* invalidate cache for admin, will check for more possible targets
* user balance decrease test works
* all tests pass
* WIP will work on locks
* added concurrent test for referral, numbers rn still add up
* will change balance table to be a view instead of a table
* merged in devel. will proceed with migrations for rpc_stats_v2 and referral
* WIP
* WIP
* WIP compiling
* gotta add the balance_v2 view
* about to add balance view
* stupid missing closing param
* compiles again, now i will just have to implement the raw sql
* need to paste the real query and play with it
* ok now on to testing
* addresses many comments in PR
* app works for simple unauthorized access. will look into tests
* some tests pass, referral logic tests fail
* not sure why the test is failing
---------
Co-authored-by: yenicelik <david.yenicelik@gmail.com>
* lower premium concurrency in preparation for key+IP limits
* include the ip in the user semaphore
* 3, not 5
this is our current limit for free
* per user_id+ip rate limiting