besu is back
This commit is contained in:
@@ -0,0 +1,85 @@
|
||||
---
|
||||
|
||||
services:
|
||||
ethereum-classic-mainnet:
|
||||
image: ${ETHEREUM_CLASSIC_BESU_IMAGE:-hyperledger/besu}:${ETHEREUM_CLASSIC_MAINNET_BESU_VERSION:-25.4.1}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache
|
||||
net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers
|
||||
net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers
|
||||
net.core.somaxconn: 32768 # Higher connection queue
|
||||
# Memory/Connection Management
|
||||
# net.core.netdev_max_backlog: 50000 # Increase network buffer
|
||||
net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests
|
||||
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
|
||||
ulimits:
|
||||
nofile: 1048576 # Max open files (for RPC/WS connections)
|
||||
user: root
|
||||
ports:
|
||||
- 14038:14038
|
||||
- 14038:14038/udp
|
||||
expose:
|
||||
- 8545
|
||||
command:
|
||||
- --Xbonsai-full-flat-db-enabled=true
|
||||
- --bootnodes=
|
||||
- --data-path=/opt/besu/database
|
||||
- --data-storage-format=BONSAI
|
||||
- --fast-sync-min-peers=1
|
||||
- --host-allowlist=*
|
||||
- --network=mainnet
|
||||
- --p2p-port=14038
|
||||
- --rpc-http-api=eth,net,web3,debug,admin,txpool
|
||||
- --rpc-http-enabled=true
|
||||
- --rpc-http-host=0.0.0.0
|
||||
- --rpc-http-max-active-connections=20000
|
||||
- --rpc-http-port=8545
|
||||
- --rpc-ws-api=eth,net,web3,debug,admin,txpool
|
||||
- --rpc-ws-enabled=true
|
||||
- --rpc-ws-host=0.0.0.0
|
||||
- --rpc-ws-port=8545
|
||||
- --sync-mode=X_SNAP
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 5m
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ${ETHEREUM_CLASSIC_MAINNET_BESU_PRUNED_BONSAI_DATA:-ethereum-classic-mainnet-besu-pruned-bonsai}:/opt/besu/database
|
||||
- /slowdisk:/slowdisk
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.ethereum-classic-mainnet-besu-pruned-bonsai-stripprefix.stripprefix.prefixes=/ethereum-classic-mainnet
|
||||
- traefik.http.services.ethereum-classic-mainnet-besu-pruned-bonsai.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-classic-mainnet-besu-pruned-bonsai.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-classic-mainnet-besu-pruned-bonsai.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.ethereum-classic-mainnet-besu-pruned-bonsai.rule=Host(`$DOMAIN`) && (Path(`/ethereum-classic-mainnet`) || Path(`/ethereum-classic-mainnet/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.ethereum-classic-mainnet-besu-pruned-bonsai.rule=Path(`/ethereum-classic-mainnet`) || Path(`/ethereum-classic-mainnet/`)}
|
||||
- traefik.http.routers.ethereum-classic-mainnet-besu-pruned-bonsai.middlewares=ethereum-classic-mainnet-besu-pruned-bonsai-stripprefix, ipallowlist
|
||||
|
||||
volumes:
|
||||
ethereum-classic-mainnet-besu-pruned-bonsai:
|
||||
|
||||
x-upstreams:
|
||||
- id: $${ID}
|
||||
labels:
|
||||
provider: $${PROVIDER}
|
||||
connection:
|
||||
generic:
|
||||
rpc:
|
||||
url: $${RPC_URL}
|
||||
ws:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: ethereum-classic
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
- filter
|
||||
methods:
|
||||
disabled:
|
||||
enabled:
|
||||
- name: txpool_content # TODO: should be disabled for rollup nodes
|
||||
...
|
||||
92
linea/besu/linea-mainnet-besu-pruned-bonsai.yml
Normal file
92
linea/besu/linea-mainnet-besu-pruned-bonsai.yml
Normal file
@@ -0,0 +1,92 @@
|
||||
---
|
||||
|
||||
services:
|
||||
linea-mainnet:
|
||||
image: ${LINEA_BESU_IMAGE:-consensys/linea-besu-package}:${LINEA_MAINNET_BESU_VERSION:-sepolia-v0.1.15}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache
|
||||
net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers
|
||||
net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers
|
||||
net.core.somaxconn: 32768 # Higher connection queue
|
||||
# Memory/Connection Management
|
||||
# net.core.netdev_max_backlog: 50000 # Increase network buffer
|
||||
net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests
|
||||
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
|
||||
ulimits:
|
||||
nofile: 1048576 # Max open files (for RPC/WS connections)
|
||||
user: root
|
||||
ports:
|
||||
- 14816:14816
|
||||
- 14816:14816/udp
|
||||
expose:
|
||||
- 8545
|
||||
command:
|
||||
- --Xbonsai-full-flat-db-enabled=true
|
||||
- --Xeth-capability-max=67
|
||||
- --bootnodes=enode://069800db9e6e0ec9cadca670994ef1aea2cfd3d88133e63ecadbc1cdbd1a5847b09838ee08d8b5f02a9c32ee13abeb4d4104bb5514e5322c9d7ee19f41ff3e51@3.132.73.210:31002,enode://a8e03a71eab12ec4b47bb6e19169d8e4dc7a58373a2476969bbe463f2dded6003037fa4dd5f71e15027f7fc8d7340956fbbefed67ddd116ac19a7f74da034b61@3.132.73.210:31003,enode://97706526cf79df9d930003644f9156805f6c8bd964fc79e083444f7014ce10c9bdd2c5049e63b58040dca1d4c82ebef970822198cf0714de830cff4111534ff1@18.223.198.165:31004,enode://24e1c654a801975a96b7f54ebd7452ab15777fc635c1db25bdbd4425fdb04e7f4768e9e838a87ab724320a765e41631d5d37758c933ad0e8668693558125c8aa@18.223.198.165:31000,enode://27010891d960f73d272a553f72b6336c6698db3ade98d631f09c764e57674a797be5ebc6829ddbb65ab564f439ebc75215d20aa98b6f351d12ea623e7d139ac3@3.132.73.210:31001,enode://228e1b8a4931e46f383e30721dac21fb8fb4e5e1b32c870e13b25478c82db3dc1cd9e7ceb93d302a766466b55638cc9c5cbfc43aa48fa41ced19baf365951f76@3.1.142.64:31002,enode://c22eb0d40fc3ad5ea710aeddea906567778166bfe18c157955e8c39b23a46c45db18a0fa2ba07f2b64c81178a8c796aec2a29151533920ead06fcdfc6d8d03c6@47.128.192.57:31004,enode://8ce733abe39fd7ae0a278b9893f85c1193c611a3886168690dd843435460f22cc4d61f9e8d0ace7f5905836a665319a31cccdaacdada2acc69972c382ecce7db@3.1.142.64:31003,enode://b7c1b2bed65a855f7a2104aac9a14674dfdf018fdac763415b373b29ce18cdb81d36328ba4e5c9f12629f3a50c3e8f9ee048f22dbdbe93a82813da89c6b81334@51.20.235.126:31004,enode://95270e0550848a72fb141cf27f1c4ea10714edde365b411dc0fa06c81c0f282ce155eb9fa472b6b8bb9ee98395eeaf4c5a7b02a01fe58b37ea98ba152eda4c37@13.50.94.193:31000,enode://72013391755f24f08567b932feeeec4c893c06e0b1fb480890c83bf87fd277ad86a5ab9cb586db9ae9970371a2f8cb0c96f6c9f69045abca0fb801db7f047138@51.20.235.126:31001
|
||||
- --config-file=/config/besu-config.toml
|
||||
- --data-path=/opt/besu/database
|
||||
- --data-storage-format=BONSAI
|
||||
- --fast-sync-min-peers=1
|
||||
- --genesis-file=/config/genesis.json
|
||||
- --host-allowlist=*
|
||||
- --p2p-port=14816
|
||||
- --plugin-linea-l1-rpc-endpoint=${ETHEREUM__EXECUTION_RPC}
|
||||
- --rpc-http-api=eth,net,web3,debug,trace,txpool,linea
|
||||
- --rpc-http-enabled=true
|
||||
- --rpc-http-host=0.0.0.0
|
||||
- --rpc-http-max-active-connections=20000
|
||||
- --rpc-http-port=8545
|
||||
- --rpc-ws-api=eth,net,web3,debug,trace,txpool,linea
|
||||
- --rpc-ws-enabled=true
|
||||
- --rpc-ws-host=0.0.0.0
|
||||
- --rpc-ws-port=8545
|
||||
- --sync-mode=X_SNAP
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 5m
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ${LINEA_MAINNET_BESU_PRUNED_BONSAI_DATA:-linea-mainnet-besu-pruned-bonsai}:/opt/besu/database
|
||||
- ./linea/mainnet:/config
|
||||
- /slowdisk:/slowdisk
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.linea-mainnet-besu-pruned-bonsai-stripprefix.stripprefix.prefixes=/linea-mainnet
|
||||
- traefik.http.services.linea-mainnet-besu-pruned-bonsai.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.linea-mainnet-besu-pruned-bonsai.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.linea-mainnet-besu-pruned-bonsai.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.linea-mainnet-besu-pruned-bonsai.rule=Host(`$DOMAIN`) && (Path(`/linea-mainnet`) || Path(`/linea-mainnet/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.linea-mainnet-besu-pruned-bonsai.rule=Path(`/linea-mainnet`) || Path(`/linea-mainnet/`)}
|
||||
- traefik.http.routers.linea-mainnet-besu-pruned-bonsai.middlewares=linea-mainnet-besu-pruned-bonsai-stripprefix, ipallowlist
|
||||
|
||||
volumes:
|
||||
linea-mainnet-besu-pruned-bonsai:
|
||||
|
||||
x-upstreams:
|
||||
- id: $${ID}
|
||||
labels:
|
||||
provider: $${PROVIDER}
|
||||
connection:
|
||||
generic:
|
||||
rpc:
|
||||
url: $${RPC_URL}
|
||||
ws:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: linea
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
- filter
|
||||
methods:
|
||||
disabled:
|
||||
enabled:
|
||||
- name: txpool_content # TODO: should be disabled for rollup nodes
|
||||
- name: linea_estimateGas
|
||||
- name: linea_getTransactionExclusionStatusV1
|
||||
- name: linea_getProof
|
||||
...
|
||||
92
linea/besu/linea-sepolia-besu-pruned-bonsai.yml
Normal file
92
linea/besu/linea-sepolia-besu-pruned-bonsai.yml
Normal file
@@ -0,0 +1,92 @@
|
||||
---
|
||||
|
||||
services:
|
||||
linea-sepolia:
|
||||
image: ${LINEA_BESU_IMAGE:-consensys/linea-besu-package}:${LINEA_SEPOLIA_BESU_VERSION:-mainnet-v0.1.15}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache
|
||||
net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers
|
||||
net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers
|
||||
net.core.somaxconn: 32768 # Higher connection queue
|
||||
# Memory/Connection Management
|
||||
# net.core.netdev_max_backlog: 50000 # Increase network buffer
|
||||
net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests
|
||||
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
|
||||
ulimits:
|
||||
nofile: 1048576 # Max open files (for RPC/WS connections)
|
||||
user: root
|
||||
ports:
|
||||
- 14691:14691
|
||||
- 14691:14691/udp
|
||||
expose:
|
||||
- 8545
|
||||
command:
|
||||
- --Xbonsai-full-flat-db-enabled=true
|
||||
- --Xeth-capability-max=67
|
||||
- --bootnodes=enode://6f20afbe4397e51b717a7c1ad3095e79aee48c835eebd9237a3e8a16951ade1fe0e66e981e30ea269849fcb6ba03d838da37f524fabd2a557474194a2e2604fa@18.221.100.27:31002,enode://ce1e0d8e0500cb5c0ac56bdcdafb2d6320c3a2c5125b5ccf12f5dfc9b47ee74acbcafc32559017613136c9c36a0ce74ba4f83b7fb8244f099f3b15708d9d3129@3.23.75.47:31000,enode://1b026a5eb0ae74300f58987d235ef0e3a550df963345cb3574be3b0b54378bd11f14dfd515a8976f2c2d2826090e9507b8ccc24f896a9ffffffcabcfd996a733@3.129.120.128:31001
|
||||
- --config-file=/config/besu-config.toml
|
||||
- --data-path=/opt/besu/database
|
||||
- --data-storage-format=BONSAI
|
||||
- --fast-sync-min-peers=1
|
||||
- --genesis-file=/config/genesis.json
|
||||
- --host-allowlist=*
|
||||
- --p2p-port=14691
|
||||
- --plugin-linea-l1-rpc-endpoint=${ETHEREUM__EXECUTION_RPC}
|
||||
- --rpc-http-api=eth,net,web3,debug,trace,txpool,linea
|
||||
- --rpc-http-enabled=true
|
||||
- --rpc-http-host=0.0.0.0
|
||||
- --rpc-http-max-active-connections=20000
|
||||
- --rpc-http-port=8545
|
||||
- --rpc-ws-api=eth,net,web3,debug,trace,txpool,linea
|
||||
- --rpc-ws-enabled=true
|
||||
- --rpc-ws-host=0.0.0.0
|
||||
- --rpc-ws-port=8545
|
||||
- --sync-mode=X_SNAP
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 5m
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ${LINEA_SEPOLIA_BESU_PRUNED_BONSAI_DATA:-linea-sepolia-besu-pruned-bonsai}:/opt/besu/database
|
||||
- ./linea/sepolia:/config
|
||||
- /slowdisk:/slowdisk
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.linea-sepolia-besu-pruned-bonsai-stripprefix.stripprefix.prefixes=/linea-sepolia
|
||||
- traefik.http.services.linea-sepolia-besu-pruned-bonsai.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.linea-sepolia-besu-pruned-bonsai.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.linea-sepolia-besu-pruned-bonsai.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.linea-sepolia-besu-pruned-bonsai.rule=Host(`$DOMAIN`) && (Path(`/linea-sepolia`) || Path(`/linea-sepolia/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.linea-sepolia-besu-pruned-bonsai.rule=Path(`/linea-sepolia`) || Path(`/linea-sepolia/`)}
|
||||
- traefik.http.routers.linea-sepolia-besu-pruned-bonsai.middlewares=linea-sepolia-besu-pruned-bonsai-stripprefix, ipallowlist
|
||||
|
||||
volumes:
|
||||
linea-sepolia-besu-pruned-bonsai:
|
||||
|
||||
x-upstreams:
|
||||
- id: $${ID}
|
||||
labels:
|
||||
provider: $${PROVIDER}
|
||||
connection:
|
||||
generic:
|
||||
rpc:
|
||||
url: $${RPC_URL}
|
||||
ws:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: linea-sepolia
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
- filter
|
||||
methods:
|
||||
disabled:
|
||||
enabled:
|
||||
- name: txpool_content # TODO: should be disabled for rollup nodes
|
||||
- name: linea_estimateGas
|
||||
- name: linea_getTransactionExclusionStatusV1
|
||||
- name: linea_getProof
|
||||
...
|
||||
102
linea/mainnet/besu-config.toml
Normal file
102
linea/mainnet/besu-config.toml
Normal file
@@ -0,0 +1,102 @@
|
||||
### Data and Storage ###
|
||||
data-path="/data"
|
||||
data-storage-format="BONSAI"
|
||||
|
||||
### Node and Network configuration ###
|
||||
bootnodes=["enode://069800db9e6e0ec9cadca670994ef1aea2cfd3d88133e63ecadbc1cdbd1a5847b09838ee08d8b5f02a9c32ee13abeb4d4104bb5514e5322c9d7ee19f41ff3e51@3.132.73.210:31002","enode://a8e03a71eab12ec4b47bb6e19169d8e4dc7a58373a2476969bbe463f2dded6003037fa4dd5f71e15027f7fc8d7340956fbbefed67ddd116ac19a7f74da034b61@3.132.73.210:31003","enode://97706526cf79df9d930003644f9156805f6c8bd964fc79e083444f7014ce10c9bdd2c5049e63b58040dca1d4c82ebef970822198cf0714de830cff4111534ff1@18.223.198.165:31004","enode://24e1c654a801975a96b7f54ebd7452ab15777fc635c1db25bdbd4425fdb04e7f4768e9e838a87ab724320a765e41631d5d37758c933ad0e8668693558125c8aa@18.223.198.165:31000","enode://27010891d960f73d272a553f72b6336c6698db3ade98d631f09c764e57674a797be5ebc6829ddbb65ab564f439ebc75215d20aa98b6f351d12ea623e7d139ac3@3.132.73.210:31001"]
|
||||
static-nodes-file="config/static-nodes.mainnet.json"
|
||||
host-allowlist=["*"]
|
||||
discovery-enabled=true
|
||||
p2p-host="0.0.0.0"
|
||||
p2p-port=30303
|
||||
fast-sync-min-peers=3
|
||||
max-peers=50
|
||||
|
||||
# For node to be a sequencer, this key has to match the key used in genesis file
|
||||
node-private-key-file="/data/key"
|
||||
genesis-file="genesis/genesis.mainnet.json" # Path to the custom genesis file
|
||||
sync-mode="SNAP"
|
||||
Xbonsai-full-flat-db-enabled=true
|
||||
|
||||
### Transaction pool ###
|
||||
tx-pool-enable-save-restore=true
|
||||
tx-pool-price-bump=1
|
||||
tx-pool-max-future-by-sender=1000
|
||||
tx-pool-min-gas-price="20000000"
|
||||
tx-pool-layer-max-capacity="100000000"
|
||||
tx-pool-priority-senders=["0xc1C6B09D1eB6fCA0fF3cA11027E5Bc4AeDb47F67","0x46eA7a855DA88FBC09cc59de93468E6bFbf0d81b"]
|
||||
tx-pool-no-local-priority=true
|
||||
|
||||
### RPC and API configuration ###
|
||||
rpc-http-enabled=true
|
||||
rpc-http-host="0.0.0.0"
|
||||
rpc-http-port=8545
|
||||
rpc-http-api=["ETH","NET","WEB3","DEBUG","TRACE","TXPOOL","LINEA","MINER"]
|
||||
rpc-http-cors-origins=["all"]
|
||||
|
||||
rpc-ws-enabled=true
|
||||
rpc-ws-api=["ETH","NET","WEB3"]
|
||||
rpc-ws-host="0.0.0.0"
|
||||
rpc-ws-port=8546
|
||||
|
||||
rpc-gas-cap="50000000"
|
||||
|
||||
graphql-http-enabled=true
|
||||
graphql-http-host="0.0.0.0"
|
||||
graphql-http-port=8547
|
||||
graphql-http-cors-origins=["all"]
|
||||
|
||||
api-gas-price-blocks=20
|
||||
api-gas-price-percentile=60
|
||||
api-gas-and-priority-fee-limiting-enabled=true
|
||||
api-gas-and-priority-fee-lower-bound-coefficient="120"
|
||||
|
||||
Xplugin-rocksdb-high-spec-enabled=true
|
||||
|
||||
### Metrics ###
|
||||
metrics-enabled=true
|
||||
metrics-host="0.0.0.0"
|
||||
metrics-port=9545
|
||||
|
||||
### JWT and Engine Configuration ###
|
||||
engine-jwt-disabled=false
|
||||
engine-jwt-secret="/etc/jwt-secret.hex"
|
||||
engine-rpc-enabled=false
|
||||
engine-rpc-port=8551
|
||||
engine-host-allowlist=["*"]
|
||||
|
||||
### Gas and Block Limit Configuration ###
|
||||
min-gas-price="20000000"
|
||||
target-gas-limit="2000000000"
|
||||
|
||||
### Plugin Configuration ###
|
||||
#plugin-linea-min-margin="0.3"
|
||||
#plugin-linea-gas-price-ratio=12
|
||||
plugins=["LineaEstimateGasEndpointPlugin","LineaL1FinalizationTagUpdaterPlugin","LineaExtraDataPlugin", "LineaTransactionPoolValidatorPlugin"]
|
||||
plugin-linea-module-limit-file-path="config/trace-limits.mainnet.toml"
|
||||
plugin-linea-max-tx-calldata-size=60000
|
||||
plugin-linea-max-block-calldata-size=70000
|
||||
plugin-linea-max-tx-gas-limit=24000000
|
||||
plugin-linea-estimate-gas-min-margin="1.2"
|
||||
Xin-process-rpc-enabled=true
|
||||
Xin-process-rpc-apis=["MINER", "ETH"]
|
||||
plugin-linea-tx-pool-profitability-check-api-enabled=true
|
||||
plugin-linea-tx-pool-profitability-check-p2p-enabled=true
|
||||
plugin-linea-tx-pool-simulation-check-p2p-enabled=false
|
||||
plugin-linea-tx-pool-simulation-check-api-enabled=true
|
||||
plugin-linea-min-margin="1.0"
|
||||
plugin-linea-tx-pool-min-margin="0.8"
|
||||
plugin-linea-fixed-gas-cost-wei=30000000
|
||||
plugin-linea-variable-gas-cost-wei=10000000
|
||||
plugin-linea-estimate-gas-compatibility-mode-enabled=false
|
||||
plugin-linea-extra-data-pricing-enabled=true
|
||||
plugin-linea-extra-data-set-min-gas-price-enabled=true
|
||||
plugin-linea-max-block-gas=55000000
|
||||
plugin-linea-l1l2-bridge-contract="0x508Ca82Df566dCD1B0DE8296e70a96332cD644ec"
|
||||
plugin-linea-l1l2-bridge-topic="e856c2b8bd4eb0027ce32eeaf595c21b0b6b4644b326e5b7bd80a1cf8db72e6c"
|
||||
plugin-linea-estimate-gas-compatibility-mode-multiplier="1.2"
|
||||
plugin-linea-deny-list-path="config/denylist.mainnet.txt"
|
||||
|
||||
# LineaL1FinalizationTagUpdaterPlugin
|
||||
plugin-linea-l1-smart-contract-address="0xd19d4B5d358258f05D7B411E21A1460D11B0876F"
|
||||
plugin-linea-l1-rpc-endpoint="http://localhost:8545"
|
||||
100
linea/sepolia/besu-config.toml
Normal file
100
linea/sepolia/besu-config.toml
Normal file
@@ -0,0 +1,100 @@
|
||||
### Data and Storage ###
|
||||
data-path="/data"
|
||||
data-storage-format="BONSAI"
|
||||
|
||||
### Node and Network configuration ###
|
||||
bootnodes=["enode://6f20afbe4397e51b717a7c1ad3095e79aee48c835eebd9237a3e8a16951ade1fe0e66e981e30ea269849fcb6ba03d838da37f524fabd2a557474194a2e2604fa@18.221.100.27:31002","enode://ce1e0d8e0500cb5c0ac56bdcdafb2d6320c3a2c5125b5ccf12f5dfc9b47ee74acbcafc32559017613136c9c36a0ce74ba4f83b7fb8244f099f3b15708d9d3129@3.23.75.47:31000","enode://1b026a5eb0ae74300f58987d235ef0e3a550df963345cb3574be3b0b54378bd11f14dfd515a8976f2c2d2826090e9507b8ccc24f896a9ffffffcabcfd996a733@3.129.120.128:31001"]
|
||||
static-nodes-file="config/static-nodes.sepolia.json"
|
||||
|
||||
host-allowlist=["*"]
|
||||
discovery-enabled=true
|
||||
p2p-host="0.0.0.0"
|
||||
p2p-port=30303
|
||||
fast-sync-min-peers=3
|
||||
max-peers=50
|
||||
|
||||
# For node to be a sequencer, this key has to match the key used in genesis file
|
||||
node-private-key-file="/data/key"
|
||||
genesis-file="genesis/genesis.testnet-sepolia.json" # Path to the custom genesis file
|
||||
sync-mode="SNAP"
|
||||
Xbonsai-full-flat-db-enabled=true
|
||||
|
||||
### Transaction pool ###
|
||||
tx-pool-enable-save-restore=true
|
||||
tx-pool-price-bump=1
|
||||
tx-pool-max-future-by-sender=1000
|
||||
tx-pool-min-gas-price="10000000"
|
||||
tx-pool-layer-max-capacity="100000000"
|
||||
tx-pool-no-local-priority=true
|
||||
|
||||
### RPC and API configuration ###
|
||||
rpc-http-enabled=true
|
||||
rpc-http-host="0.0.0.0"
|
||||
rpc-http-port=8545
|
||||
rpc-http-api=["ETH","NET","WEB3","DEBUG","TRACE","TXPOOL","LINEA","MINER"]
|
||||
rpc-http-cors-origins=["all"]
|
||||
|
||||
rpc-ws-enabled=true
|
||||
rpc-ws-api=["ETH","NET","WEB3"]
|
||||
rpc-ws-host="0.0.0.0"
|
||||
rpc-ws-port=8546
|
||||
|
||||
rpc-gas-cap="50000000"
|
||||
|
||||
graphql-http-enabled=true
|
||||
graphql-http-host="0.0.0.0"
|
||||
graphql-http-port=8547
|
||||
graphql-http-cors-origins=["all"]
|
||||
|
||||
api-gas-price-blocks=20
|
||||
api-gas-price-percentile=60
|
||||
api-gas-and-priority-fee-limiting-enabled=true
|
||||
api-gas-and-priority-fee-lower-bound-coefficient="120"
|
||||
|
||||
Xplugin-rocksdb-high-spec-enabled=true
|
||||
|
||||
### Metrics ###
|
||||
metrics-enabled=true
|
||||
metrics-host="0.0.0.0"
|
||||
metrics-port=9545
|
||||
|
||||
### JWT and Engine Configuration ###
|
||||
engine-jwt-disabled=false
|
||||
engine-jwt-secret="/etc/jwt-secret.hex"
|
||||
engine-rpc-enabled=false
|
||||
engine-rpc-port=8551
|
||||
engine-host-allowlist=["*"]
|
||||
|
||||
### Gas and Block Limit Configuration ###
|
||||
min-gas-price="10000000"
|
||||
target-gas-limit="2000000000"
|
||||
|
||||
### Plugin Configuration ###
|
||||
plugins=["LineaEstimateGasEndpointPlugin","LineaL1FinalizationTagUpdaterPlugin","LineaExtraDataPlugin","LineaTransactionPoolValidatorPlugin"]
|
||||
plugin-linea-module-limit-file-path="config/trace-limits.sepolia.toml"
|
||||
plugin-linea-max-tx-calldata-size=60000
|
||||
plugin-linea-max-block-calldata-size=70000
|
||||
plugin-linea-max-tx-gas-limit=24000000
|
||||
plugin-linea-estimate-gas-min-margin="1.2"
|
||||
Xin-process-rpc-enabled=true
|
||||
Xin-process-rpc-apis=["MINER", "ETH"]
|
||||
plugin-linea-tx-pool-profitability-check-api-enabled=true
|
||||
plugin-linea-tx-pool-profitability-check-p2p-enabled=true
|
||||
plugin-linea-tx-pool-simulation-check-api-enabled=true
|
||||
plugin-linea-tx-pool-simulation-check-p2p-enabled=true
|
||||
plugin-linea-min-margin="1.0"
|
||||
plugin-linea-tx-pool-min-margin="0.8"
|
||||
plugin-linea-fixed-gas-cost-wei=0
|
||||
plugin-linea-variable-gas-cost-wei=10000000
|
||||
plugin-linea-estimate-gas-compatibility-mode-enabled=false
|
||||
plugin-linea-extra-data-pricing-enabled=true
|
||||
plugin-linea-extra-data-set-min-gas-price-enabled=true
|
||||
plugin-linea-max-block-gas=55000000
|
||||
plugin-linea-l1l2-bridge-contract="0x33bf916373159A8c1b54b025202517BfDbB7863D"
|
||||
plugin-linea-l1l2-bridge-topic="e856c2b8bd4eb0027ce32eeaf595c21b0b6b4644b326e5b7bd80a1cf8db72e6c"
|
||||
plugin-linea-deny-list-path="config/denylist.sepolia.txt"
|
||||
|
||||
# LineaL1FinalizationTagUpdaterPlugin
|
||||
plugin-linea-l1-polling-interval="PT12S"
|
||||
plugin-linea-l1-smart-contract-address="0xB218f8A4Bc926cF1cA7b3423c154a0D627Bdb7E5"
|
||||
plugin-linea-l1-rpc-endpoint="http://localhost:8545"
|
||||
Reference in New Issue
Block a user