Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix : Remove all aura and dkg key refs #10

Merged
merged 1 commit into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions pages/docs/node/docker-node.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)**
Expand All @@ -126,15 +126,15 @@ 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" \
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**
Expand Down
14 changes: 7 additions & 7 deletions pages/docs/node/systemd.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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/<USERNAME> \
--chain ./chainspecs/tangle-standalone.json \
--scheme Sr25519 \
--suri <"12-MNEMONIC-PHARSE"> \
--key-type aura
--key-type babe
```

**Im-online Keys** - **these keys are optional**
Expand All @@ -178,15 +178,15 @@ 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.
./target/release/tangle-standalone key insert --base-path /data/validator/<USERNAME> \
--chain ./chainspecs/tangle-standalone.json \
--scheme Ecdsa \
--suri <"12-MNEMONIC-PHARSE"> \
--key-type wdkg
--key-type role
```

**Grandpa Keys**
Expand Down
8 changes: 4 additions & 4 deletions pages/docs/node/validator/requirements.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ In the future, validators may be able to participate in other forms of reward-wi

</Callout>

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.

Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pages/docs/node/validator/validator-rewards.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down