|
| 1 | +weighted_rpc_steering = true |
| 2 | + |
1 | 3 | [general] |
2 | 4 | query = "query_node_.*" |
3 | 5 |
|
@@ -46,26 +48,26 @@ ingestor = "index_0" |
46 | 48 | [chains.mainnet] |
47 | 49 | shard = "primary" |
48 | 50 | provider = [ |
49 | | - { label = "mainnet-0", url = "http://rpc.mainnet.io", features = ["archive", "traces"] }, |
50 | | - { label = "mainnet-1", details = { type = "web3call", url = "http://rpc.mainnet.io", features = ["archive", "traces"] }}, |
51 | | - { label = "firehose", details = { type = "firehose", url = "http://localhost:9000", features = [] }}, |
52 | | - { label = "substreams", details = { type = "substreams", url = "http://localhost:9000", features = [] }}, |
| 51 | + { label = "mainnet-0", url = "http://rpc.mainnet.io", features = ["archive", "traces"], weight = 0.1 }, |
| 52 | + { label = "mainnet-1", details = { type = "web3call", url = "http://rpc.mainnet.io", features = ["archive", "traces"] }, weight = 0.2 }, |
| 53 | + { label = "firehose", details = { type = "firehose", url = "http://localhost:9000", features = [] }, weight = 0.3 }, |
| 54 | + { label = "substreams", details = { type = "substreams", url = "http://localhost:9000", features = [] }, weight = 0.4 }, |
53 | 55 | ] |
54 | 56 |
|
55 | 57 | [chains.ropsten] |
56 | 58 | shard = "primary" |
57 | 59 | provider = [ |
58 | | - { label = "ropsten-0", url = "http://rpc.ropsten.io", transport = "rpc", features = ["archive", "traces"] } |
| 60 | + { label = "ropsten-0", url = "http://rpc.ropsten.io", transport = "rpc", features = ["archive", "traces"], weight = 1.0 } |
59 | 61 | ] |
60 | 62 |
|
61 | 63 | [chains.goerli] |
62 | 64 | shard = "primary" |
63 | 65 | provider = [ |
64 | | - { label = "goerli-0", url = "http://rpc.goerli.io", transport = "ipc", features = ["archive"] } |
| 66 | + { label = "goerli-0", url = "http://rpc.goerli.io", transport = "ipc", features = ["archive"], weight = 1.0 } |
65 | 67 | ] |
66 | 68 |
|
67 | 69 | [chains.kovan] |
68 | 70 | shard = "primary" |
69 | 71 | provider = [ |
70 | | - { label = "kovan-0", url = "http://rpc.kovan.io", transport = "ws", features = [] } |
| 72 | + { label = "kovan-0", url = "http://rpc.kovan.io", transport = "ws", features = [], weight = 1.0 } |
71 | 73 | ] |
0 commit comments