Running the binary
Run an Aleph node on the testnet for validating transactions with these instructions.
File descriptor limit
ulimit -HnDESCRIPTOR_CONFIG="$USER hard nofile 10000"
sudo echo $DESCRIPTOR_CONFIG >> /etc/security/limits.confRun!
source set_env.shaleph-node \
--validator \
--enable-pruning \
--database rocksdb
--execution Native \
--database paritydb \
--name "${NAME}" \
--base-path "${BASE_PATH}" \
--pool-limit "${POOL_LIMIT}" \
--chain "${CHAIN}" \
--node-key-file "${NODE_KEY_PATH}" \
--backup-path "${BACKUP_PATH}" \
--rpc-port "${RPC_PORT}" \
--ws-port "${WS_PORT}" \
--port "${PORT}" \
--validator-port "${VALIDATOR_PORT}" \
--public-addr "${PUBLIC_ADDR}" \
--public-validator-addresses "${PUBLIC_VALIDATOR_ADDRESS}" \
--rpc-cors all \
--no-mdns \
--ws-max-connections "${WS_MAX_CONNECTIONS}" \
--enable-log-reloading \
--rpc-methods Unsafe \
--bootnodes "${BOOT_NODES}" \
--telemetry-url "${TELEMETRY_URL} ${TELEMETRY_VERBOSITY_LEVEL}" > ${LOG_FILE} 2>&1Further improvements
Last updated
Was this helpful?
