This commit is contained in:
Para Dox
2025-04-14 13:24:44 +07:00
parent 21c50072c3
commit 81c04e3f23
6 changed files with 108 additions and 8 deletions

View File

@@ -22,7 +22,9 @@ services:
- 12759:12759/udp - 12759:12759/udp
expose: expose:
- 8545 - 8545
entrypoint: [geth]
command: command:
- --chapel
- --config=/config/config.toml - --config=/config/config.toml
- --datadir=/bsc/.ethereum - --datadir=/bsc/.ethereum
- --db.engine=pebble - --db.engine=pebble

View File

@@ -22,6 +22,7 @@ services:
- 12037:12037/udp - 12037:12037/udp
expose: expose:
- 8545 - 8545
entrypoint: [geth]
command: command:
- --config=/config/config.toml - --config=/config/config.toml
- --datadir=/bsc/.ethereum - --datadir=/bsc/.ethereum
@@ -32,6 +33,7 @@ services:
- --http.api=eth,net,web3,txpool,debug,admin,parlia - --http.api=eth,net,web3,txpool,debug,admin,parlia
- --http.port=8545 - --http.port=8545
- --http.vhosts=* - --http.vhosts=*
- --mainnet
- --maxpeers=50 - --maxpeers=50
- --nat=extip:${IP} - --nat=extip:${IP}
- --port=12037 - --port=12037

View File

@@ -22,22 +22,29 @@ services:
- 12384:12384/udp - 12384:12384/udp
expose: expose:
- 8545 - 8545
entrypoint: [geth]
command: command:
- --buffalo
- --config=/config/config.toml - --config=/config/config.toml
- --datadir=/core/.ethereum - --datadir=/core/.ethereum
- --db.engine= - --db.engine=pebble
- --gcmode=full - --gcmode=full
- --http - --http
- --http.addr=0.0.0.0 - --http.addr=0.0.0.0
- --http.api=eth,net,web3,txpool,debug,admin,satoshi - --http.api=eth,net,web3,txpool,debug,admin,satoshi
- --http.port=8545 - --http.port=8545
- --http.vhosts=*
- --maxpeers=50
- --nat=extip:${IP} - --nat=extip:${IP}
- --port=12384 - --port=12384
- --rpc.gascap=600000000 - --rpc.gascap=600000000
- --rpc.txfeecap=0 - --rpc.txfeecap=0
- --state.scheme= - --state.scheme=path
- --syncmode=snap - --syncmode=snap
- --ws - --ws
- --ws.addr=0.0.0.0
- --ws.api=eth,net,web3,txpool,debug,admin,satoshi
- --ws.origins=*
- --ws.port=8545 - --ws.port=8545
restart: unless-stopped restart: unless-stopped
stop_grace_period: 5m stop_grace_period: 5m
@@ -71,6 +78,24 @@ x-upstreams:
- filter - filter
methods: methods:
disabled: disabled:
# not compatible with path state scheme
- name: debug_traceBlockByHash
enabled: enabled:
- name: txpool_content # TODO: should be disabled for rollup nodes - 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
... ...

View File

@@ -22,22 +22,29 @@ services:
- 11169:11169/udp - 11169:11169/udp
expose: expose:
- 8545 - 8545
entrypoint: [geth]
command: command:
- --config=/config/config.toml - --config=/config/config.toml
- --datadir=/core/.ethereum - --datadir=/core/.ethereum
- --db.engine= - --db.engine=leveldb
- --gcmode=archive - --gcmode=archive
- --http - --http
- --http.addr=0.0.0.0 - --http.addr=0.0.0.0
- --http.api=eth,net,web3,txpool,debug,admin,satoshi - --http.api=eth,net,web3,txpool,debug,admin,satoshi
- --http.port=8545 - --http.port=8545
- --http.vhosts=*
- --mainnet
- --maxpeers=50
- --nat=extip:${IP} - --nat=extip:${IP}
- --port=11169 - --port=11169
- --rpc.gascap=600000000 - --rpc.gascap=600000000
- --rpc.txfeecap=0 - --rpc.txfeecap=0
- --state.scheme= - --state.scheme=hash
- --syncmode=full - --syncmode=full
- --ws - --ws
- --ws.addr=0.0.0.0
- --ws.api=eth,net,web3,txpool,debug,admin,satoshi
- --ws.origins=*
- --ws.port=8545 - --ws.port=8545
restart: unless-stopped restart: unless-stopped
stop_grace_period: 5m stop_grace_period: 5m
@@ -73,4 +80,20 @@ x-upstreams:
disabled: disabled:
enabled: enabled:
- name: txpool_content # TODO: should be disabled for rollup nodes - 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
... ...

View File

@@ -22,22 +22,29 @@ services:
- 11169:11169/udp - 11169:11169/udp
expose: expose:
- 8545 - 8545
entrypoint: [geth]
command: command:
- --config=/config/config.toml - --config=/config/config.toml
- --datadir=/core/.ethereum - --datadir=/core/.ethereum
- --db.engine= - --db.engine=leveldb
- --gcmode=full - --gcmode=full
- --http - --http
- --http.addr=0.0.0.0 - --http.addr=0.0.0.0
- --http.api=eth,net,web3,txpool,debug,admin,satoshi - --http.api=eth,net,web3,txpool,debug,admin,satoshi
- --http.port=8545 - --http.port=8545
- --http.vhosts=*
- --mainnet
- --maxpeers=50
- --nat=extip:${IP} - --nat=extip:${IP}
- --port=11169 - --port=11169
- --rpc.gascap=600000000 - --rpc.gascap=600000000
- --rpc.txfeecap=0 - --rpc.txfeecap=0
- --state.scheme= - --state.scheme=hash
- --syncmode=snap - --syncmode=snap
- --ws - --ws
- --ws.addr=0.0.0.0
- --ws.api=eth,net,web3,txpool,debug,admin,satoshi
- --ws.origins=*
- --ws.port=8545 - --ws.port=8545
restart: unless-stopped restart: unless-stopped
stop_grace_period: 5m stop_grace_period: 5m
@@ -73,4 +80,20 @@ x-upstreams:
disabled: disabled:
enabled: enabled:
- name: txpool_content # TODO: should be disabled for rollup nodes - 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
... ...

View File

@@ -22,22 +22,29 @@ services:
- 14478:14478/udp - 14478:14478/udp
expose: expose:
- 8545 - 8545
entrypoint: [geth]
command: command:
- --config=/config/config.toml - --config=/config/config.toml
- --datadir=/core/.ethereum - --datadir=/core/.ethereum
- --db.engine= - --db.engine=pebble
- --gcmode=full - --gcmode=full
- --http - --http
- --http.addr=0.0.0.0 - --http.addr=0.0.0.0
- --http.api=eth,net,web3,txpool,debug,admin,satoshi - --http.api=eth,net,web3,txpool,debug,admin,satoshi
- --http.port=8545 - --http.port=8545
- --http.vhosts=*
- --maxpeers=50
- --nat=extip:${IP} - --nat=extip:${IP}
- --pigeon
- --port=14478 - --port=14478
- --rpc.gascap=600000000 - --rpc.gascap=600000000
- --rpc.txfeecap=0 - --rpc.txfeecap=0
- --state.scheme= - --state.scheme=path
- --syncmode=snap - --syncmode=snap
- --ws - --ws
- --ws.addr=0.0.0.0
- --ws.api=eth,net,web3,txpool,debug,admin,satoshi
- --ws.origins=*
- --ws.port=8545 - --ws.port=8545
restart: unless-stopped restart: unless-stopped
stop_grace_period: 5m stop_grace_period: 5m
@@ -71,6 +78,24 @@ x-upstreams:
- filter - filter
methods: methods:
disabled: disabled:
# not compatible with path state scheme
- name: debug_traceBlockByHash
enabled: enabled:
- name: txpool_content # TODO: should be disabled for rollup nodes - 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
... ...