2 Commits

Author SHA1 Message Date
czarly
55f16856cf more 2022-11-23 08:34:55 +00:00
czarly
06c87462a6 some tweaks for blast archive 2022-11-23 08:19:21 +00:00
5 changed files with 121 additions and 13 deletions

View File

@@ -7,6 +7,7 @@ services:
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./dshackle/config:/etc/dshackle # This should hold all your yaml files - ./dshackle/config:/etc/dshackle # This should hold all your yaml files
- ./dshackle/logs:/logs
expose: expose:
- 8080 # /eth - 8080 # /eth
- 8081 # /metrics - 8081 # /metrics
@@ -16,6 +17,7 @@ services:
- chains - chains
ports: ports:
- "127.0.0.1:8082:8082" # healthcheck - "127.0.0.1:8082:8082" # healthcheck
- "127.0.0.1:8545:8080"
environment: environment:
- ALCHEMY_KEY=${ALCHEMY_KEY} - ALCHEMY_KEY=${ALCHEMY_KEY}
- ANYBLOCK_KEY=${ANYBLOCK_KEY} - ANYBLOCK_KEY=${ANYBLOCK_KEY}
@@ -34,13 +36,13 @@ services:
- "prometheus-scrape.job_name=dshackle" - "prometheus-scrape.job_name=dshackle"
- "prometheus-scrape.metrics_path=/metrics" - "prometheus-scrape.metrics_path=/metrics"
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.middlewares.dshackle-stripprefix.stripprefix.prefixes=/dshackle" - "traefik.http.middlewares.dshackle-stripprefix.stripprefix.prefixes=/eth-archive"
# - "traefik.http.middlewares.shackle-replacepath.replacepath.path=/eth" - "traefik.http.middlewares.shackle-replacepath.replacepath.path=/eth"
- "traefik.http.services.dshackle.loadbalancer.server.port=8080" - "traefik.http.services.dshackle.loadbalancer.server.port=8080"
- "traefik.http.routers.dshackle.entrypoints=websecure" - "traefik.http.routers.dshackle.entrypoints=websecure"
- "traefik.http.routers.dshackle.tls.certresolver=myresolver" - "traefik.http.routers.dshackle.tls.certresolver=myresolver"
- "traefik.http.routers.dshackle.rule=Host(`$DOMAIN`) && PathPrefix(`/dshackle`)" - "traefik.http.routers.dshackle.rule=Host(`$DOMAIN`) && PathPrefix(`/eth-archive`)"
# - "traefik.http.routers.dshackle.middlewares=dshackle-stripprefix, dshackle-replacepath, ipwhitelist" - "traefik.http.routers.dshackle.middlewares=dshackle-stripprefix, dshackle-replacepath, ipwhitelist"
- "traefik.http.routers.dshackle.middlewares=dshackle-stripprefix, ipwhitelist" - "traefik.http.routers.dshackle.middlewares=dshackle-stripprefix, ipwhitelist"
redis: redis:

View File

@@ -0,0 +1,27 @@
upstreams:
- id: de-1-erigon
chain: ethereum
labels:
provider: stakesquid-de-1-erigon
priority: 100
methods:
enabled:
# Manually Enabled
- name: trace_block
- name: trace_call
- name: trace_callMany
- name: trace_filter
- name: trace_get
- name: trace_transaction
disabled:
- name: eth_chainId
- name: eth_chainID
- name: eth_chainid
connection:
ethereum:
rpc:
url: "https://rpc-de-1.stakesquid.eu/erigon"
ws:
frameSize: 20Mb
msgSize: 50Mb
url: "wss://rpc-de-1.stakesquid.eu/erigon"

View File

@@ -0,0 +1,44 @@
upstreams:
- id: de-4-mainnet
chain: ethereum
labels:
provider: stakesquid-de-4-mainnet
priority: 120
methods:
enabled:
# Manually Enabled
- name: eth_chainid
- name: eth_chainId
- name: eth_chainID
disabled:
- name: eth_blockNumber
- name: eth_call
- name: eth_estimateGas
- name: eth_feeHistory
- name: eth_gasPrice
- name: eth_getBalance
- name: eth_getBlockByHash
- name: eth_getBlockByNumber
- name: eth_getBlockTransactionCountByHash
- name: eth_getBlockTransactionCountByNumber
- name: eth_getCode
- name: eth_getLogs
- name: eth_getStorageAt
- name: eth_getTransactionByBlockHashAndIndex
- name: eth_getTransactionByBlockNumberAndIndex
- name: eth_getTransactionByHash
- name: eth_getTransactionCount
- name: eth_getTransactionReceipt
- name: eth_getUncleByBlockHashAndIndex
- name: eth_getUncleByBlockNumberAndIndex
- name: eth_getUncleCountByBlockHash
- name: eth_getUncleCountByBlockNumber
- name: eth_sendRawTransaction
connection:
ethereum:
rpc:
url: "https://rpc-de-4.stakesquid.eu/mainnet"
ws:
frameSize: 20Mb
msgSize: 50Mb
url: "wss://rpc-de-4.stakesquid.eu/mainnet"

View File

@@ -37,6 +37,11 @@ proxy:
- id: eth - id: eth
blockchain: ethereum blockchain: ethereum
accessLog:
enabled: true
include-messages: true
filename: /logs/access_log.jsonl
cluster: cluster:
defaults: defaults:
- chains: - chains:
@@ -49,16 +54,19 @@ cluster:
#- "geth.yaml" #- "geth.yaml"
#- "nethermind.yaml" #- "nethermind.yaml"
#- "erigon.yaml" #- "erigon.yaml"
- "de-1-erigon.yaml"
- "fi-1-erigon.yaml"
#- "de-4-mainnet.yaml"
# Freemium Nodes # Freemium Nodes
- "alchemy.yaml" #- "alchemy.yaml"
- "anyblock.yaml" #- "anyblock.yaml"
- "chainstack.yaml" #- "chainstack.yaml"
- "coinbase.yaml" #- "coinbase.yaml"
- "infura.yaml" - "infura.yaml"
- "quicknode.yaml" #- "quicknode.yaml"
- "rivet.yaml" #- "rivet.yaml"
# Public Nodes # Public Nodes
- "cloudflare.yaml" #- "cloudflare.yaml"
- "avado.yaml" #- "avado.yaml"
- "ankr.yaml" #- "ankr.yaml"

View File

@@ -0,0 +1,27 @@
upstreams:
- id: fi-1-erigon
chain: ethereum
labels:
provider: stakesquid-fi-1-erigon
priority: 100
methods:
enabled:
# Manually Enabled
- name: trace_block
- name: trace_call
- name: trace_callMany
- name: trace_filter
- name: trace_get
- name: trace_transaction
disabled:
- name: eth_chainId
- name: eth_chainID
- name: eth_chainid
connection:
ethereum:
rpc:
url: "https://rpc-fi-1.stakesquid.eu/erigon"
ws:
frameSize: 20Mb
msgSize: 50Mb
url: "wss://rpc-fi-1.stakesquid.eu/erigon"