From 2bf191743bfbaea245f55d00afa8a11b2950264e Mon Sep 17 00:00:00 2001 From: 1xstj <106580853+1xstj@users.noreply.github.com> Date: Thu, 11 Jan 2024 17:09:39 +0000 Subject: [PATCH] fix : Remove all aura and dkg key refs --- pages/docs/node/docker-node.mdx | 14 +++++++------- pages/docs/node/systemd.mdx | 14 +++++++------- pages/docs/node/validator/requirements.mdx | 8 ++++---- pages/docs/node/validator/validator-rewards.mdx | 2 +- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/pages/docs/node/docker-node.mdx b/pages/docs/node/docker-node.mdx index 3fdd9a5b..6579d203 100644 --- a/pages/docs/node/docker-node.mdx +++ b/pages/docs/node/docker-node.mdx @@ -83,8 +83,8 @@ relay chain, which might take a few days. We need to generate the required keys for our node. For more information on these keys, please see the [Required Keys](/docs/ecosystem-roles/validator/required-keys) section. The keys we need to generate include the following: -- DKG key (Ecdsa) -- Aura key (Sr25519) +- Role key (Ecdsa) +- Babe key (Sr25519) - Account key (Sr25519) - Grandpa key (Ed25519) - ImOnline key (Sr25519) @@ -104,15 +104,15 @@ ghcr.io/webb-tools/tangle/tangle-standalone:main \ --key-type acco ``` -**Aura Keys** +**Babe Keys** -```sh filename="Aura" copy +```sh filename="Babe" copy docker run --rm -it --platform linux/amd64 --network="host" -v "/var/lib/data" \ ghcr.io/webb-tools/tangle/tangle-standalone:main \ key insert --base-path /var/lib/tangle/ \ --chain /data/chainspecs/tangle-standalone.json \ --scheme Sr25519 \ - --key-type aura + --key-type babe ``` **Im-online Keys** - **these keys are optional (required if you are running as a validator)** @@ -126,7 +126,7 @@ ghcr.io/webb-tools/tangle/tangle-standalone:main \ --key-type imon ``` -**DKG Keys** +**Role Key** ```sh filename="DKG" copy docker run --rm -it --platform linux/amd64 --network="host" -v "/var/lib/data" \ @@ -134,7 +134,7 @@ ghcr.io/webb-tools/tangle/tangle-standalone:main \ tangle-standalone key insert --base-path /data \ --chain /data/chainspecs/tangle-standalone.json \ --scheme Ecdsa \ - --key-type wdkg + --key-type role ``` **Grandpa Keys** diff --git a/pages/docs/node/systemd.mdx b/pages/docs/node/systemd.mdx index 06b408cb..eba0a96f 100644 --- a/pages/docs/node/systemd.mdx +++ b/pages/docs/node/systemd.mdx @@ -136,8 +136,8 @@ rustup target add wasm32-unknown-unknown --toolchain nightly We need to generate the required keys for our node. For more information on these keys, please see the [Required Keys](https://wiki.polkadot.network/docs/learn-cryptography) section. The keys we need to generate include the following: - - DKG key (Ecdsa) - - Aura key (Sr25519) + - Role key (Ecdsa) + - Babe key (Sr25519) - Account key (Sr25519) - Grandpa key (Ed25519) - ImOnline key (Sr25519) @@ -156,15 +156,15 @@ rustup target add wasm32-unknown-unknown --toolchain nightly --key-type acco ``` - **Aura Keys** + **Babe Keys** - ```sh filename="Aura" copy + ```sh filename="Babe" copy # it will ask for your suri, enter it. ./target/release/tangle-standalone key insert --base-path /data/validator/ \ --chain ./chainspecs/tangle-standalone.json \ --scheme Sr25519 \ --suri <"12-MNEMONIC-PHARSE"> \ - --key-type aura + --key-type babe ``` **Im-online Keys** - **these keys are optional** @@ -178,7 +178,7 @@ rustup target add wasm32-unknown-unknown --toolchain nightly --key-type imon ``` - **DKG Keys** + **Role Keys** ```sh filename="DKG" copy # it will ask for your suri, enter it. @@ -186,7 +186,7 @@ rustup target add wasm32-unknown-unknown --toolchain nightly --chain ./chainspecs/tangle-standalone.json \ --scheme Ecdsa \ --suri <"12-MNEMONIC-PHARSE"> \ - --key-type wdkg + --key-type role ``` **Grandpa Keys** diff --git a/pages/docs/node/validator/requirements.mdx b/pages/docs/node/validator/requirements.mdx index d89ac505..8fe30826 100644 --- a/pages/docs/node/validator/requirements.mdx +++ b/pages/docs/node/validator/requirements.mdx @@ -27,7 +27,7 @@ In the future, validators may be able to participate in other forms of reward-wi -2. **Setting Up Validator Infrastructure:** This includes ensuring that the node is properly configured, connected to the network, has the necessary keys set up, etc. Part of this setup will involve generating and injecting session keys (like DKG, Aura, Grandpa, etc.) which are crucial for various consensus and validation processes. +2. **Setting Up Validator Infrastructure:** This includes ensuring that the node is properly configured, connected to the network, has the necessary keys set up, etc. Part of this setup will involve generating and injecting session keys (like Babe, Grandpa, etc.) which are crucial for various consensus and validation processes. 3. **Nominating or Registering as a Validator:** After bonding tokens and setting up the validator node, the operator then registers or nominate their node as a validator candidate. This involves submitting a transaction to the network indicating their intention to validate. @@ -83,10 +83,10 @@ Your bonded account will available under `Stashes.` You should now see a new car ## 2. Generate your Keys and Import them to the Keystore -In order to participate in the distributed key generation (DKG) protocol, block production, and block finalization, you will be required to set up several keys. These keys include: +In order to participate in the tangle protocol, block production, and block finalization, you will be required to set up several keys. These keys include: -- DKG key (Ecdsa) -- Aura key (Sr25519) +- Role key (Ecdsa) +- Babe key (Sr25519) - Account key (Sr25519) - Grandpa key (Ed25519) - ImOnline key (Sr25519) diff --git a/pages/docs/node/validator/validator-rewards.mdx b/pages/docs/node/validator/validator-rewards.mdx index 3168e931..62981a9b 100644 --- a/pages/docs/node/validator/validator-rewards.mdx +++ b/pages/docs/node/validator/validator-rewards.mdx @@ -5,7 +5,7 @@ description: A brief overview of Tangle Network rewards and their payout scheme. # Validator Rewards -Running a [validator](validation.mdx) node on the Tangle Network allows you to connect to the network, sync with a bootnode, obtain local access to RPC endpoints, and also author blocks. The network rewards successful validators (users running validator nodes and actively producing blocks) by paying a set amount of network tokens as rewards. Validators are chosen using an algorithm [AURA](https://docs.substrate.io/reference/glossary/#authority-round-aura) that works to give every validator in the active set, a chance at authoring a block. +Running a [validator](validation.mdx) node on the Tangle Network allows you to connect to the network, sync with a bootnode, obtain local access to RPC endpoints, and also author blocks. The network rewards successful validators (users running validator nodes and actively producing blocks) by paying a set amount of network tokens as rewards. Validators are chosen using an algorithm [Babe](https://research.web3.foundation/Polkadot/protocols/block-production/Babe) that works to give every validator in the active set, a chance at authoring a block. ## How Rewards are Calculated