From 2e85772dd4e573f526ef273073921ac8c6fdea2b Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Mon, 12 Jun 2023 21:07:54 -0700 Subject: [PATCH] remove tier from configs --- config/development_polygon.toml | 22 ---------------------- config/example.toml | 14 -------------- config/minimal.toml | 3 --- 3 files changed, 39 deletions(-) diff --git a/config/development_polygon.toml b/config/development_polygon.toml index 65a34f21..5f6d80e7 100644 --- a/config/development_polygon.toml +++ b/config/development_polygon.toml @@ -67,97 +67,83 @@ display_name = "LlamaNodes" http_url = "https://polygon.llamarpc.com" ws_url = "wss://polygon.llamarpc.com" soft_limit = 1_000 -tier = 0 [balanced_rpcs.quicknode] disabled = false display_name = "Quicknode" http_url = "https://rpc-mainnet.matic.quiknode.pro" soft_limit = 10 -tier = 2 [balanced_rpcs.maticvigil] disabled = false display_name = "Maticvigil" http_url = "https://rpc-mainnet.maticvigil.com" soft_limit = 10 -tier = 2 [balanced_rpcs.matic-network] disabled = false display_name = "Matic Network" http_url = "https://rpc-mainnet.matic.network" soft_limit = 10 -tier = 1 [balanced_rpcs.chainstack] disabled = false http_url = "https://matic-mainnet.chainstacklabs.com" soft_limit = 10 -tier = 2 [balanced_rpcs.bware] disabled = false display_name = "Bware Labs" http_url = "https://matic-mainnet-full-rpc.bwarelabs.com" soft_limit = 10 -tier = 2 [balanced_rpcs.bware_archive] disabled = false display_name = "Bware Labs Archive" http_url = "https://matic-mainnet-archive-rpc.bwarelabs.com" soft_limit = 10 -tier = 2 [balanced_rpcs.polygonapi] disabled = false display_name = "Polygon API" http_url = "https://polygonapi.terminet.io/rpc" soft_limit = 10 -tier = 2 [balanced_rpcs.one-rpc] disabled = false display_name = "1RPC" http_url = "https://1rpc.io/matic" soft_limit = 10 -tier = 2 [balanced_rpcs.fastrpc] disabled = false display_name = "FastRPC" http_url = "https://polygon-mainnet.rpcfast.com?api_key=xbhWBI1Wkguk8SNMu1bvvLurPGLXmgwYeC4S6g2H7WdwFigZSmPWVZRxrskEQwIf" soft_limit = 10 -tier = 2 [balanced_rpcs.unifra] disabled = false display_name = "Unifra" http_url = "https://polygon-mainnet-public.unifra.io" soft_limit = 10 -tier = 2 [balanced_rpcs.onfinality] disabled = false display_name = "Onfinality" http_url = "https://polygon.api.onfinality.io/public" soft_limit = 10 -tier = 2 [balanced_rpcs.alchemy] disabled = false display_name = "Alchemy" heept_url = "https://polygon-mainnet.g.alchemy.com/v2/demo" soft_limit = 10 -tier = 2 [balanced_rpcs.blockpi] disabled = false display_name = "Blockpi" http_url = "https://polygon.blockpi.network/v1/rpc/public" soft_limit = 100 -tier = 2 [balanced_rpcs.polygon] backup = true @@ -165,14 +151,12 @@ disabled = false display_name = "Polygon" http_url = "https://polygon-rpc.com" soft_limit = 10 -tier = 2 [balanced_rpcs.pokt] disabled = false display_name = "Pokt" http_url = "https://poly-rpc.gateway.pokt.network" soft_limit = 10 -tier = 2 [balanced_rpcs.ankr] backup = true @@ -180,7 +164,6 @@ disabled = false display_name = "Ankr" http_url = "https://rpc.ankr.com/polygon" soft_limit = 10 -tier = 2 [balanced_rpcs.blastapi] backup = true @@ -189,24 +172,19 @@ display_name = "Blast" http_url = "https://polygon-mainnet.public.blastapi.io" hard_limit = 10 soft_limit = 10 -tier = 2 [balanced_rpcs.omnia] disabled = true display_name = "Omnia" http_url = "https://endpoints.omniatech.io/v1/matic/mainnet/public" soft_limit = 10 -tier = 2 [balanced_rpcs.bor] disabled = true http_url = "https://polygon-bor.publicnode.com" soft_limit = 10 -tier = 2 [balanced_rpcs.blxr] disabled = false http_url = "https://polygon.rpc.blxrbdn.com" soft_limit = 10 -tier = 2 - diff --git a/config/example.toml b/config/example.toml index 26b04ee7..6c6673d1 100644 --- a/config/example.toml +++ b/config/example.toml @@ -65,50 +65,42 @@ response_cache_max_bytes = 10_000_000_000 display_name = "Ankr" http_url = "https://rpc.ankr.com/eth" soft_limit = 1_000 - tier = 0 [balanced_rpcs.cloudflare] display_name = "Cloudflare" http_url = "https://cloudflare-eth.com" soft_limit = 1_000 - tier = 1 [balanced_rpcs.blastapi] display_name = "Blast" http_url = "https://eth-mainnet.public.blastapi.io" soft_limit = 1_000 - tier = 1 [balanced_rpcs.mycryptoapi] display_name = "MyCrypto" disabled = true http_url = "https://api.mycryptoapi.com/eth" soft_limit = 1_000 - tier = 2 [balanced_rpcs.pokt-v1] display_name = "Pokt #1" http_url = "https://eth-mainnet.gateway.pokt.network/v1/5f3453978e354ab992c4da79" soft_limit = 500 - tier = 2 [balanced_rpcs.pokt] display_name = "Pokt #2" http_url = "https://eth-rpc.gateway.pokt.network" soft_limit = 500 - tier = 3 [balanced_rpcs.linkpool] display_name = "Linkpool" http_url = "https://main-rpc.linkpool.io" soft_limit = 500 - tier = 4 [balanced_rpcs.runonflux] display_name = "Run on Flux (light)" http_url = "https://ethereumnodelight.app.runonflux.io" soft_limit = 1_000 - tier = 5 # load balanced light nodes are not very reliable [balanced_rpcs.linkpool-light] @@ -116,7 +108,6 @@ response_cache_max_bytes = 10_000_000_000 disabled = true http_url = "https://main-light.eth.linkpool.io" soft_limit = 100 - tier = 5 [private_rpcs] @@ -127,32 +118,27 @@ response_cache_max_bytes = 10_000_000_000 display_name = "Eden network" http_url = "https://api.edennetwork.io/v1/" soft_limit = 1_805 - tier = 0 [private_rpcs.eden_beta] disabled = true display_name = "Eden network beta" http_url = "https://api.edennetwork.io/v1/beta" soft_limit = 5_861 - tier = 0 [private_rpcs.ethermine] disabled = true display_name = "Ethermine" http_url = "https://rpc.ethermine.org" soft_limit = 5_861 - tier = 0 [private_rpcs.flashbots] disabled = true display_name = "Flashbots Fast" http_url = "https://rpc.flashbots.net/fast" soft_limit = 7_074 - tier = 0 [private_rpcs.securerpc] disabled = true display_name = "SecureRPC" http_url = "https://gibson.securerpc.com/v1" soft_limit = 4_560 - tier = 0 diff --git a/config/minimal.toml b/config/minimal.toml index 770e3484..e74d4266 100644 --- a/config/minimal.toml +++ b/config/minimal.toml @@ -23,14 +23,12 @@ response_cache_max_bytes = 1_000_000_000 ws_url = "wss://eth.llamarpc.com/" http_url = "https://eth.llamarpc.com/" soft_limit = 1_000 - tier = 0 [balanced_rpcs.llama_public_https] disabled = false display_name = "LlamaNodes HTTPS" http_url = "https://eth.llamarpc.com/" soft_limit = 1_000 - tier = 0 [balanced_rpcs.llama_public_wss] # TODO: what should we do if all rpcs are disabled? warn and wait for a config change? @@ -38,4 +36,3 @@ response_cache_max_bytes = 1_000_000_000 display_name = "LlamaNodes WSS" ws_url = "wss://eth.llamarpc.com/" soft_limit = 1_000 - tier = 0