mirror of
https://github.com/tornadocash/rpc-nodes
synced 2024-02-02 14:53:56 +01:00
added txpool locals and fixed pruning container
This commit is contained in:
parent
cc42ea8f9e
commit
1c9f230342
@ -4,7 +4,7 @@ services:
|
|||||||
geth-pruning:
|
geth-pruning:
|
||||||
image: ethereum/client-go:stable
|
image: ethereum/client-go:stable
|
||||||
container_name: geth-pruning
|
container_name: geth-pruning
|
||||||
restart: always
|
restart: "no"
|
||||||
env_file: .env
|
env_file: .env
|
||||||
command: "snapshot prune-state"
|
command: "snapshot prune-state"
|
||||||
volumes:
|
volumes:
|
||||||
@ -31,7 +31,7 @@ services:
|
|||||||
- --http.corsdomain=*
|
- --http.corsdomain=*
|
||||||
- --http.vhosts=*
|
- --http.vhosts=*
|
||||||
- --http.api
|
- --http.api
|
||||||
- "eth,net,web3"
|
- "eth,net,web3,txpool"
|
||||||
- --ws
|
- --ws
|
||||||
- --ws.addr
|
- --ws.addr
|
||||||
- "0.0.0.0"
|
- "0.0.0.0"
|
||||||
@ -39,7 +39,17 @@ services:
|
|||||||
- "${WS_PORT}"
|
- "${WS_PORT}"
|
||||||
- --ws.origins=*
|
- --ws.origins=*
|
||||||
- --ws.api
|
- --ws.api
|
||||||
- "eth,net,web3"
|
- "eth,net,web3,txpool"
|
||||||
|
- --txpool.locals
|
||||||
|
- "${TX_LOCAL_ADDR}"
|
||||||
|
- --txpool.accountslots
|
||||||
|
- "32"
|
||||||
|
- --txpool.globalslots
|
||||||
|
- "8192"
|
||||||
|
- --txpool.accountqueue
|
||||||
|
- "128"
|
||||||
|
- --txpool.globalqueue
|
||||||
|
- "2048"
|
||||||
- --rpc.gascap
|
- --rpc.gascap
|
||||||
- "0"
|
- "0"
|
||||||
- --rpc.txfeecap
|
- --rpc.txfeecap
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
|
# Traefik
|
||||||
DOMAIN=domain.org
|
DOMAIN=domain.org
|
||||||
|
# Comma-separated list of IP/mask addresses to allow access. Replace 0.0.0.0/0 with your address
|
||||||
|
ALLOW_FROM=0.0.0.0/0
|
||||||
|
|
||||||
|
# Node
|
||||||
P2P_PORT=30304
|
P2P_PORT=30304
|
||||||
HTTP_PORT=8545
|
HTTP_PORT=8545
|
||||||
WS_PORT=8546
|
WS_PORT=8546
|
||||||
ALLOW_FROM=0.0.0.0/0
|
# Comma-separated list of addresses to treat as "local"
|
||||||
|
TX_LOCAL_ADDR=0x0000000000000000000000000000000000000000
|
@ -5,7 +5,7 @@
|
|||||||
* disk: 1Tb SSD (if you periodically prune state)
|
* disk: 1Tb SSD (if you periodically prune state)
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
Set the domain name to be used in the `.env` file. You can also set a list of allowed IP addresses there. Rename `example.env` to `.env`:
|
Set the domain name to be used in the `.env` file. You can also set a list of allowed IP addresses there and addresses to treat as local. Rename `example.env` to `.env`:
|
||||||
```
|
```
|
||||||
mv example.env .env
|
mv example.env .env
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user