Commit Graph

2091 Commits

Author SHA1 Message Date
Bryan Stitt
2e85772dd4 remove tier from configs 2023-06-12 21:07:54 -07:00
Bryan Stitt
c192e03fa2 count all the tiers at once 2023-06-12 21:03:38 -07:00
Bryan Stitt
bba7ccf7eb change divisor for tier calculation 2023-06-12 20:44:52 -07:00
Bryan Stitt
c771479d94 use WyRand instead of Xoshiro 2023-06-12 19:46:36 -07:00
Bryan Stitt
a8f0c1f6f4 drop the faster_release profile for now 2023-06-12 19:02:18 -07:00
Bryan Stitt
26f5aa9db0 Merge remote-tracking branch 'origin/devel' 2023-06-12 18:59:11 -07:00
Bryan Stitt
1a8f799969
we need our own Reconnect (#124)
* first pass at handling different return data limits

* put ws_provider in an arcswap

* add min max_latency

* add min max_latency

* subscribe with reconnect

* better logging around reconnect

* select on both watches

* subscribe to the correct watch
2023-06-12 18:58:51 -07:00
Bryan Stitt
c7881ecd7c add min max_latency 2023-06-12 17:55:38 -07:00
Bryan Stitt
e26aef4313 cargo upgrade 2023-06-12 16:40:37 -07:00
Bryan Stitt
62bda636b8 return the response instead of panicing 2023-06-12 16:38:57 -07:00
Bryan Stitt
54826fe28b use host certs 2023-06-12 19:15:07 +00:00
Bryan Stitt
74f9ab1561 dont include most configs in docker 2023-06-12 19:14:52 +00:00
Bryan Stitt
6b98117b34 louder logs 2023-06-12 19:14:39 +00:00
Bryan Stitt
c456432cc3 cargo upgrade 2023-06-12 11:44:51 -07:00
Bryan Stitt
c3a7d1646c lint 2023-06-12 11:41:10 -07:00
Bryan Stitt
70d5c09d3e clean up redirect url 2023-06-12 11:38:34 -07:00
Bryan Stitt
f1176685dd pause time on more tests 2023-06-12 11:08:33 -07:00
Bryan Stitt
5337eabccc set resolver version 2023-06-12 11:02:50 -07:00
David
093ca19454
added subuser RPC keys into key access control, as well as fetching RPC keys (#115) 2023-06-12 08:59:23 -07:00
David
0cc4557e8d
Use rpc id instead of key (#118)
* added logic to check e-mails thru SMPT server, very basic, no validation e-mails etc.

* Revert "added logic to check e-mails thru SMPT server, very basic, no validation e-mails etc."

This reverts commit 022a13cfd9ca24aad9e05f75489396936f14784a.

* mixed up branches
2023-06-11 19:14:02 -07:00
David
81aa4788b4
David/60 add basic email verification (#119)
* added logic to check e-mails thru SMPT server, very basic, no validation e-mails etc.

* added rpc key logic to use db numbers instead of UUIDs

* Revert "added rpc key logic to use db numbers instead of UUIDs"

This reverts commit 056771d02725f90ed5f1745b0372e13e630a19ac.
2023-06-11 19:10:10 -07:00
David
b06c1e3216
Merge pull request #116 from yenicelik/devel
made modify-subuser post
2023-06-11 19:00:07 +02:00
yenicelik
0b26ae3bad made modify-subuser post 2023-06-11 18:59:27 +02:00
Bryan Stitt
813d28c834 sed -i s/influxdb_bucketname/influxdb_bucket/g 2023-06-11 09:59:00 -07:00
David
4b3806d59c
Merge pull request #114 from yenicelik/devel
Devel
2023-06-11 17:59:03 +02:00
yenicelik
2333b8bbb6 influx query is not 20-40% faster 2023-06-11 17:57:02 +02:00
yenicelik
60755c3678 Merge branch 'devel' of https://github.com/llamanodes/web3-proxy into devel 2023-06-11 16:04:38 +02:00
Bryan Stitt
47bece5865 newer nightly 2023-06-09 18:56:13 -07:00
Bryan Stitt
4a9c1a0ce6 move user registration into a dedicated function 2023-06-09 18:31:47 -07:00
Bryan Stitt
71d3d63524 put ip rate limiting back 2023-06-09 16:35:44 -07:00
Bryan Stitt
41950c886c improvements for web3-this-then-that 2023-06-09 16:35:14 -07:00
Bryan Stitt
69dd8f0046 checksum address and no need for topic 2023-06-09 15:39:14 -07:00
Bryan Stitt
bcf4f33543 add payment_factory_address to /status 2023-06-09 14:02:29 -07:00
Bryan Stitt
bb900c61a5 todo 2023-06-09 13:31:46 -07:00
Bryan Stitt
8bf0ee473d loud log on rollback 2023-06-09 13:30:00 -07:00
Bryan Stitt
bd87fcb13c move sort and shuffle for loadbalancing into proper functions 2023-06-09 13:09:58 -07:00
Bryan Stitt
1f3040f6c7 automated tiers 2023-06-09 12:21:55 -07:00
Bryan Stitt
b6ff14210d cargo upgrade 2023-06-08 22:35:14 -07:00
David
d91713e09e
this brings back balance back to the stats request (#112)
* removed bloom filter temporarily, added some fixes with decimals in payment.rs

* balance is inside the influx query again

* fixed aggregate
2023-06-08 15:57:53 -07:00
yenicelik
ee6b83b311 fixed aggregate 2023-06-09 00:03:37 +02:00
yenicelik
e35629dc29 balance is inside the influx query again 2023-06-08 23:57:46 +02:00
Bryan Stitt
68f73ec0b1 more things should be BadRequest instead of 500 2023-06-08 13:42:45 -07:00
yenicelik
591d34e090 Merge branch 'devel' of https://github.com/llamanodes/web3-proxy into devel
# Conflicts:
#	scripts/101-balance-referral-stats.sh
#	web3_proxy/src/frontend/users/payment.rs
2023-06-08 22:22:43 +02:00
Bryan Stitt
50ec653557 lower log level 2023-06-08 11:46:38 -07:00
Bryan Stitt
74280bc329 lint 2023-06-08 11:33:16 -07:00
Bryan Stitt
334b1c21b3 improve logs 2023-06-08 11:30:48 -07:00
Bryan Stitt
1d05bc5e89 lower log levels 2023-06-08 11:26:09 -07:00
David
3f76b08364
Test balance and referral accounting (#111)
* removed bloom filter temporarily, added some fixes with decimals in payment.rs

* balance accounting for a single user (paid and free tier) seems to be ok

* fixed some balance accounting

* compute_cost reduced back to 0
2023-06-08 10:08:29 -07:00
yenicelik
63eb2c4391 removed bloom filter temporarily, added some fixes with decimals in payment.rs 2023-06-08 12:14:28 +02:00
Bryan Stitt
c37b320286 add cache names and actually serialize 2023-06-07 17:55:34 -07:00