give geth a chance
This commit is contained in:
17
bsc.yml
17
bsc.yml
@@ -2,16 +2,19 @@ version: '3.1'
|
||||
|
||||
services:
|
||||
|
||||
binance-smart-chain:
|
||||
image: dysnix/bsc:v1.1.11
|
||||
bsc:
|
||||
image: ghcr.io/bnb-chain/bsc:1.1.18_hf
|
||||
ports:
|
||||
- "29061:29061"
|
||||
- "29061:29061/udp"
|
||||
expose:
|
||||
- "8545"
|
||||
- "8546"
|
||||
- "30303"
|
||||
- "29061"
|
||||
volumes:
|
||||
- bsc_data:/datadir
|
||||
- ./bsc/config.toml:/config.toml
|
||||
command: "--cache 18000 --rpc --rpcaddr=\"0.0.0.0\" --rpc.allow-unprotected-txs --txlookuplimit 0 --syncmode snap --config /config.toml --datadir /datadir"
|
||||
- bsc:/bsc/node
|
||||
- ./bsc/config:/bsc/config
|
||||
command: "--port=29061 --history.transactions=0 --syncmode=full --db.engine=pebble --state.scheme=path --http.addr 0.0.0.0 --http.port 8545 --http.vhosts '*' --verbosity 5 --ws.addr 0.0.0.0 --ws.port 8545 --ws.origins '*'"
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- chains
|
||||
@@ -25,5 +28,5 @@ services:
|
||||
- "traefik.http.routers.bsc.middlewares=bsc-stripprefix, ipwhitelist"
|
||||
|
||||
volumes:
|
||||
bsc_data:
|
||||
bsc:
|
||||
|
||||
|
||||
50
bsc/config/config.toml
Normal file
50
bsc/config/config.toml
Normal file
@@ -0,0 +1,50 @@
|
||||
[Eth]
|
||||
NetworkId = 56
|
||||
LightPeers = 100
|
||||
TrieTimeout = 150000000000
|
||||
|
||||
[Eth.Miner]
|
||||
GasCeil = 140000000
|
||||
GasPrice = 3000000000
|
||||
Recommit = 10000000000
|
||||
|
||||
[Eth.TxPool]
|
||||
Locals = []
|
||||
NoLocals = true
|
||||
Journal = "transactions.rlp"
|
||||
Rejournal = 3600000000000
|
||||
PriceLimit = 3000000000
|
||||
PriceBump = 10
|
||||
AccountSlots = 200
|
||||
GlobalSlots = 8000
|
||||
AccountQueue = 200
|
||||
GlobalQueue = 4000
|
||||
|
||||
[Eth.GPO]
|
||||
Blocks = 20
|
||||
Percentile = 60
|
||||
OracleThreshold = 1000
|
||||
|
||||
[Node]
|
||||
IPCPath = "geth.ipc"
|
||||
HTTPHost = "localhost"
|
||||
InsecureUnlockAllowed = false
|
||||
HTTPPort = 8545
|
||||
HTTPVirtualHosts = ["localhost"]
|
||||
HTTPModules = ["eth", "net", "web3", "txpool", "parlia"]
|
||||
WSPort = 8546
|
||||
WSModules = ["net", "web3", "eth"]
|
||||
|
||||
[Node.P2P]
|
||||
MaxPeers = 200
|
||||
NoDiscovery = false
|
||||
StaticNodes = []
|
||||
ListenAddr = ":30311"
|
||||
EnableMsgEvents = false
|
||||
|
||||
[Node.LogConfig]
|
||||
FilePath = "bsc.log"
|
||||
MaxBytesSize = 10485760
|
||||
Level = "info"
|
||||
FileRoot = ""
|
||||
|
||||
69
bsc/config/genesis.json
Normal file
69
bsc/config/genesis.json
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user