Bryan Stitt
172baabb4e
even more fields onto popularity contest
2023-06-05 16:40:49 -07:00
Bryan Stitt
640bcd1378
update popularity_contest script to match new status page
2023-06-05 16:40:49 -07:00
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
Bryan Stitt
79e52f4cdb
Merge remote-tracking branch 'origin/main' into devel
2023-05-31 17:12:59 -07:00
Bryan Stitt
633bf1f53b
need a decimal 0
2023-05-31 17:12:32 -07:00
Bryan Stitt
cb580d4ea8
Merge remote-tracking branch 'origin/main' into devel
2023-05-31 17:02:34 -07:00
Bryan Stitt
1a26260351
if no credits used, return early
2023-05-31 17:02:24 -07:00
Bryan Stitt
8709737d74
lower log level
2023-05-31 16:07:13 -07:00
Bryan Stitt
fbe0ecfbff
rate limit on websockets
2023-05-31 16:05:44 -07:00
Bryan Stitt
cadab50692
lint
2023-05-31 15:54:32 -07:00
Bryan Stitt
56ec9439c3
insert on conflict update for balance table
2023-05-31 14:07:25 -07:00
David
88526c3702
Missing subuser logic ( #96 )
...
* will push it for feedback loop
* filtering also to only show rpc keys that the user is an owner of
* revert logs also returning rpc keys
* merged with devel
2023-05-31 13:46:59 -07:00
Bryan Stitt
62997774b1
use abigen types for decoding the logs
2023-05-31 12:44:02 -07:00
Bryan Stitt
7dcc2b4d93
use MultiAbigen
2023-05-31 11:52:57 -07:00
Bryan Stitt
7947cb95ff
use bloom filters and support transactions with multiple deposit events
2023-05-31 11:20:17 -07:00
Bryan Stitt
b9f0824dfe
start using the internal provider
2023-05-30 23:52:12 -07:00
Bryan Stitt
d64761403b
Cow instead of String
2023-05-30 23:17:05 -07:00
Bryan Stitt
f1636d3b85
unlimited localhost
2023-05-30 22:31:35 -07:00
Bryan Stitt
fcc1843af0
put it back. duplication between cargo.toml isnt worth it
2023-05-30 21:37:58 -07:00
Bryan Stitt
fd8bba4bdd
most of these are for the whole app, not just the frontend
2023-05-30 21:26:11 -07:00
Bryan Stitt
0b62ffcdfc
no need to move the semaphore around like this
2023-05-30 21:08:21 -07:00
Bryan Stitt
2273637a07
move cli into a separate packge and clean up dependencies
2023-05-30 20:58:24 -07:00
Bryan Stitt
cebe8ed1ea
Request refactor ( #99 )
...
* wip
* AsRef finally works like i wanted
* actually return the block
* start adding async trait
* remove stale import
* include id in the error response when possible
* remove stale comments
2023-05-30 16:32:34 -07:00
Bryan Stitt
4246342806
lower log levels
2023-05-29 17:26:32 -07:00
Bryan Stitt
c1eba556a5
fix missing ttl send and add name to cache
2023-05-29 17:19:05 -07:00
Bryan Stitt
bb50efb7f9
quick cache ttl max item size, better function names, and tests ( #97 )
...
* Revert "remove cache on /status and /health for now"
This reverts commit 166b0d810cd25b895560d50d00383a57e1269ad4.
* Revert "remove cache on backups needed, too"
This reverts commit 4597967def2f1daa71a277ec6731db4739ead640.
* add tests
* add max_item_weight
* comment
* add some helper functions, max weights, and tests
2023-05-29 15:48:22 -07:00
David
5f0c99530c
referral code does not have llamanodes- prefix any longer ( #90 )
2023-05-29 14:41:15 -07:00
Bryan Stitt
9e935e2c44
cargo upgrade
2023-05-29 09:43:51 -07:00
Bryan Stitt
b05d866f8a
Merge remote-tracking branch 'origin/main' into devel
2023-05-29 09:42:21 -07:00
Bryan Stitt
a275e2dee4
add blocktime for binance
2023-05-29 09:41:19 -07:00
Bryan Stitt
dc6e0559f7
improve will_work_eventually
2023-05-29 09:41:19 -07:00
Bryan Stitt
84990bb7b6
check hard_limit_until when finding if an rpc will work
2023-05-29 09:41:19 -07:00
Bryan Stitt
08859ba04d
wait for consensus rpcs to change before trying again
2023-05-29 09:41:19 -07:00
David
48905f0235
David/76 bring back docs ( #91 )
...
* bring back docs
* added some more rudimentary documentation
2023-05-29 09:24:41 -07:00
David
ccb3a559ad
removed requirement for subuser logic to be admin ( #94 )
2023-05-29 08:35:24 -07:00
Bryan Stitt
4597967def
remove cache on backups needed, too
2023-05-28 09:39:24 -07:00
Bryan Stitt
166b0d810c
remove cache on /status and /health for now
2023-05-28 09:38:51 -07:00
Bryan Stitt
7cb07cc49f
debug -> trace for some verbose logs
2023-05-27 01:53:49 -07:00
Bryan Stitt
0e7bd1fbf3
add missing anyhow::Context
2023-05-26 17:00:39 -07:00
Bryan Stitt
4aa34740a8
default balance to 0
2023-05-26 16:54:52 -07:00
David
9a5e9d46a9
Merge branch 'devel' into david/devel/debug-graph
2023-05-24 13:36:45 +02:00
yenicelik
b6cab88c4e
removed joined_on variable that was not used
2023-05-24 13:35:10 +02:00
yenicelik
47f07261ed
detailed request must come with a bearer token
2023-05-24 13:34:50 +02:00
Bryan Stitt
0d15d5baf7
bump versions to match number of migrations
2023-05-23 20:58:29 -07:00
Bryan Stitt
b1a0bcac57
add max wait to fix tests
2023-05-23 20:46:27 -07:00
Bryan Stitt
dafb69fae1
move timeout deeper
2023-05-23 15:50:29 -07:00
Bryan Stitt
55f9c57827
include error in warning
2023-05-23 15:03:16 -07:00
Bryan Stitt
4c7a7b87cb
cargo upgrade
2023-05-23 14:58:13 -07:00
Bryan Stitt
dd347fd916
add units to serialized variables
2023-05-23 14:57:24 -07:00
Bryan Stitt
77c9b0ab12
peak latency instead of head latency
2023-05-23 14:52:45 -07:00