https://gitlab.com/tezos/tezos
Raw File
Tip revision: b1556b6011aee0e976012d81e2a8b94e7b741ee7 authored by Gabriel Moise on 30 October 2023, 12:59:39 UTC
Prevalidator: Add probs in update_advertised_mempool_fields
Tip revision: b1556b6
node-config.sh
#!/usr/bin/env bash

# This script is included in page node-configuration.rst

# [remove config file if exists]
rm -f tmp/config.json
# [initialize config file]
./octez-node config init --config-file=tmp/config.json --network=sandbox
# [update config file]
./octez-node config update --config-file=tmp/config.json --data-dir=tmp \
  --peer="[::]:10732" --peer="192.168.1.3:9733" \
  --private-mode \
  --rpc-addr="localhost:8733" --net-addr="1.2.3.4" \
  --connections=25 \
  --log-output="octez-node.log" \
  --history-mode=full
# [show config file]
./octez-node config show --data-dir=tmp
back to top