From cdce21340079be9011c4aa78ad4f04bffbe92f2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matev=C5=BE=20Jekovec?= Date: Wed, 15 Nov 2023 11:04:53 +0100 Subject: [PATCH] docs: Migrate run-your-node chapters to use Oasis Core 23.0 --- docs/node/run-your-node/validator-node.mdx | 98 +++++++++++----------- 1 file changed, 50 insertions(+), 48 deletions(-) diff --git a/docs/node/run-your-node/validator-node.mdx b/docs/node/run-your-node/validator-node.mdx index af67a1dd42..9edfc666d8 100644 --- a/docs/node/run-your-node/validator-node.mdx +++ b/docs/node/run-your-node/validator-node.mdx @@ -330,63 +330,65 @@ To use this configuration, save it in the `/serverdir/etc/config.yml` file and p # baz: hello ## -# Set this to where you wish to store node data. The node's artifacts -# should also be located in this directory. -datadir: /serverdir/node +# Setting this to true will mean that the node you're deploying will attempt +# to register as a validator. +mode: validator -# Logging. -# -# Per-module log levels are defined below. If you prefer just one unified log -# level, you can use: -# -# log: -# level: debug -log: - level: - # Per-module log levels. Longest prefix match will be taken. Fallback to - # "default", if no match. - default: debug - tendermint: warn - tendermint/context: error - format: JSON - # By default logs are output to stdout. If you would like to output logs to - # a file, you can use: +common: + # Set this to where you wish to store node data. The node's artifacts + # should also be located in this directory. + datadir: /serverdir/node + + # Logging. # - # file: /var/log/oasis-node.log + # Per-module log levels are defined below. If you prefer just one unified log + # level, you can use: + # + # log: + # level: debug + log: + format: JSON + level: + # Per-module log levels. Longest prefix match will be taken. Fallback to + # "default", if no match. + default: debug + cometbft: warn + cometbft/context: error + # By default logs are output to stdout. If you would like to output logs to + # a file, you can use: + # + # file: /var/log/oasis-node.log + +# Consensus backend. +consensus: + # CometBFT backend configuration. + listen_address: tcp://0.0.0.0:26656 + + # The external IP that is used when registering this node to the network. + # NOTE: If you are using the Sentry node setup, this option should be + # omitted. + external_address: tcp://{{ external_address }}:26656 # Genesis. genesis: # Path to the genesis file for the current version of the network. file: /serverdir/etc/genesis.json -# Worker configuration. -worker: +# Peer-to-peer. +p2p: + port: 9200 registration: - # In order for the node to register itself, the entity.json of the entity - # used to provision the node must be available on the node. - entity: /serverdir/node/entity/entity.json - -# Consensus backend. -consensus: - # Setting this to true will mean that the node you're deploying will attempt - # to register as a validator. - validator: true - - # Tendermint backend configuration. - tendermint: - core: - listen_address: tcp://0.0.0.0:26656 - - # The external IP that is used when registering this node to the network. - # NOTE: If you are using the Sentry node setup, this option should be - # omitted. - external_address: tcp://{{ external_address }}:26656 - - # List of seed nodes to connect to. - # NOTE: You can add additional seed nodes to this list if you want. - p2p: - seed: - - "{{ seed_node_address }}" + addresses: + - "{{ external_address }}:9200" + # List of seed nodes to connect to. + # NOTE: You can add additional seed nodes to this list if you want. + seeds: + - "{{ seed_node_address }}" + +# In order for the node to register itself, the entity.json of the entity +# used to provision the node must be available on the node. +registration: + entity: /serverdir/node/entity/entity.json ``` #### Ensuring Proper Permissions