status-go/rpc/chain
Andrea Maria Piana 9e5fa3f22c feat_: Cache GetWalletToken method and split circuits
This commits does a few things:

1) Adds cache of token amount to the GetWalletToken endpoint, used by
   mobile, in case the user is offline.

2) Split circuits by chain-id (when available) and by host+index when
   not

3) It makes GetWalletToken always refresh, as that's directed from an
   user action and we want to respect that. A cool down of 10s should be
   added in the future to avoid spamming.
2024-08-16 14:02:29 +01:00
..
mock/client feat(metrics)_: add centralized metrics 2024-07-11 10:05:31 +01:00
client.go feat_: Cache GetWalletToken method and split circuits 2024-08-16 14:02:29 +01:00
rpc.go fix: resolve first tx of block 2024-02-21 13:28:26 +01:00
rpc_limiter.go fix_: log utc timestamp (#5672) 2024-08-07 18:54:42 +01:00
rpc_limiter_db.go feat(wallet)_: more fixes for rpc_limiter_db and chain client, more 2024-05-28 13:44:40 +02:00
rpc_limiter_test.go fix(wallet)_: fix rpc limiter to reset counters on timeout 2024-06-20 16:48:28 +02:00