This commit is contained in:
goldsquid
2025-10-01 16:31:20 +07:00
parent cd9974cb77
commit 3cabecc2cf
2 changed files with 55 additions and 13 deletions

View File

@@ -57,11 +57,16 @@ services:
- --http.addr=0.0.0.0
- --http.api=eth,net,web3,debug,admin,txpool
- --http.port=8545
- --http.vhosts=*
- --maxpeers=50
- --nat=extip:${IP}
- --port=11897
- --rpc.gascap=600000000
- --rpc.txfeecap=0
- --ws
- --ws.addr=0.0.0.0
- --ws.api=eth,net,web3,debug,admin,txpool
- --ws.origins=*
- --ws.port=8545
restart: unless-stopped
stop_grace_period: 5m
@@ -106,4 +111,20 @@ x-upstreams:
disabled:
enabled:
- name: txpool_content # TODO: should be disabled for rollup nodes
# standard geth only
- name: debug_getRawBlock
- name: debug_getRawTransaction
- name: debug_getRawReceipts
- name: debug_getRawHeader
- name: debug_getBadBlocks
# non standard geth only slightly dangerous
- name: debug_intermediateRoots
- name: debug_dumpBlock
# standard geth and erigon
- name: debug_accountRange
- name: debug_getModifiedAccountsByNumber
- name: debug_getModifiedAccountsByHash
# non standard geth and erigon
- name: eth_getRawTransactionByHash
- name: eth_getRawTransactionByBlockHashAndIndex
...