-
-
Save 86b/ccf76c2bac97ccb0caca0d1d872a034b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Parity install | |
cd ~ | |
apt update \ | |
&& apt install -y curl vim wget git \ | |
&& apt install -y \ | |
gcc g++ pkg-config file make cmake llvm-7-dev clang cargo \ | |
libudev-dev perl yasm | |
curl https://sh.rustup.rs -sSf | sh && 1 | |
git clone https://github.com/paritytech/parity-ethereum | |
cd parity-ethereum | |
git checkout stable | |
cargo build --release --features final | |
mkdir -p ~/.local/share/io.parity.ethereum | |
&& cd ~/.local/share/io.parity.ethereum | |
cat > config.toml << EOF | |
# This config should be placed in following path: | |
# ~/.local/share/io.parity.ethereum/config.toml | |
[network] | |
warp = false | |
max_peers = 250 | |
max_pending_peers = 75 | |
no_serve_light = true | |
discovery = true | |
port = 30303 | |
[rpc] | |
# Threads for handling incoming connections for HTTP JSON-RPC server. | |
# server_threads = 4 | |
# Turn on additional processing threads for JSON-RPC servers (all transports). Setting this to a non-zero value allows parallel execution of cpu-heavy queries. | |
# processing_threads = 4 | |
disable = false | |
[footprint] | |
# Compute and Store tracing data. (Enables trace_* APIs). | |
tracing = "on" | |
# Keep all state trie data. No pruning. | |
pruning = "archive" | |
# Enables Fat DB | |
fat_db = "on" | |
db_compaction = "ssd" | |
cache_size = 6144 | |
scale_verifiers = true | |
[snapshots] | |
disable_periodic = true | |
[websockets] | |
disable = true | |
[ipc] | |
disable = true | |
EOF | |
cd ~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment