Skip to content

Commit 8d67ff3

Browse files
committed
update formatting
1 parent 4307186 commit 8d67ff3

File tree

7 files changed

+222
-219
lines changed

7 files changed

+222
-219
lines changed

infrastructure/running-a-node/setup-full-node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Now that you're familiar with the different types of nodes, this section will wa
2222
Before getting started, ensure the following prerequisites are met:
2323

2424
- Ensure [Rust](https://www.rust-lang.org/tools/install){target=\_blank} is installed on your operating system.
25-
- [Install the necessary dependencies for the Polkadot SDK](/develop/parachains/install-polkadot-sdk/){target=\_blank}
25+
- [Install the necessary dependencies for the Polkadot SDK](/develop/parachains/install-polkadot-sdk/){target=\_blank}.
2626

2727
!!! warning
2828
This setup is not recommended for validators. If you plan to run a validator, refer to the [Running a Validator](/infrastructure/running-a-validator/){target=\_blank} guide for proper instructions.

infrastructure/running-a-node/setup-secure-wss.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ Apache2 can run in various modes, including `prefork`, `worker`, and `event`. In
5555
--8<-- 'code/infrastructure/running-a-node/setup-secure-wss/install-apache2.md'
5656

5757
2. The [`mod_proxy_wstunnel`](https://httpd.apache.org/docs/2.4/mod/mod_proxy_wstunnel.html){target=\_blank} provides support for the tunneling of WebSocket connections to a backend WebSocket server. The connection is automatically upgraded to a WebSocket connection. In an SSL-enabled virtual host add:
58+
5859
--8<-- 'code/infrastructure/running-a-node/setup-secure-wss/apache2-config.md'
5960

6061
!!!warning

infrastructure/running-a-validator/onboarding-and-offboarding/start-validating.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ The next step is to sync your node with the chosen blockchain network. Synchroni
4949
polkadot --chain=kusama
5050
```
5151

52-
2. **Monitor sync progress**: Once the sync starts, you will see a stream of logs providing information about the node's status and progress. Here's an example of what the output might look like.
52+
2. **Monitor sync progress**: Once the sync starts, you will see a stream of logs providing information about the node's status and progress. Here's an example of what the output might look like:
5353

5454
--8<-- 'code/infrastructure/running-a-validator/onboarding-and-offboarding/start-validating/terminal-output-01.html'
5555

infrastructure/running-a-validator/onboarding-and-offboarding/stop-validating.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ If you wish to remain a validator or nominator (for example, stopping for planne
1515

1616
The following are steps to ensure a smooth stop to validation:
1717

18-
- Chill the validator
19-
- Purge validator session keys
20-
- Unbond your tokens
18+
- Chill the validator.
19+
- Purge validator session keys.
20+
- Unbond your tokens.
2121

2222
## Chill Validator
2323

infrastructure/running-a-validator/operational-tasks/general-management.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,10 @@ To selectively deactivate the Spectre mitigations, take these steps:
111111

112112
2. Update GRUB to apply changes and then reboot:
113113

114-
```bash
115-
sudo update-grub
116-
sudo reboot
117-
```
114+
```bash
115+
sudo update-grub
116+
sudo reboot
117+
```
118118

119119
This approach selectively deactivates the Spectre V2 and Spectre V4 mitigations, leaving other protections intact. For full security, keep mitigations activated unless there's a significant performance need, as disabling them could expose the system to potential attacks on affected CPUs.
120120
@@ -344,7 +344,7 @@ To visualize node metrics, follow these steps:
344344

345345
![Select Prometheus](/images/infrastructure/running-a-validator/operational-tasks/general-management/general-management-2.webp)
346346

347-
3. Select **Prometheus**
347+
3. Select **Prometheus**.
348348

349349
![Save and test](/images/infrastructure/running-a-validator/operational-tasks/general-management/general-management-3.webp)
350350

infrastructure/staking-mechanics/offenses-and-slashes.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ The following scenarios demonstrate how this formula means slash percentages can
7878
flowchart LR
7979
N["Total Validators = 100"]
8080
X["Offenders = 1"]
81-
F["min(3 * 1 / 100)^2, 1) = 0.0009"]
81+
F["min((3 * 1 / 100)^2, 1) = 0.0009"]
8282
G["0.09% slash of stake"]
8383
8484
N --> F
@@ -135,8 +135,8 @@ Below are some examples of small equivocations that happened in the past:
135135
| Network | Era | Event Type | Details | Action Taken |
136136
|----------|------|--------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------|
137137
| Polkadot | 774 | Small Equivocation | [The validator](https://matrix.to/#/!NZrbtteFeqYKCUGQtr:matrix.parity.io/$165562246360408hKCfC:matrix.org?via=matrix.parity.io&via=corepaper.org&via=matrix.org){target=\_blank} migrated servers and cloned the keystore folder. The on-chain event can be viewed on [Subscan](https://polkadot.subscan.io/extrinsic/11190109-0?event=11190109-5){target=\_blank}. | The validator didn't submit a request for the slash to be canceled. |
138-
| Kusama | 3329 | Small Equivocation | The validator operated a test machine with cloned keys. The test machine was online simultaneously as the primary, which resulted in a slash. | The validator requested a slash cancellation, but the council declined. |
139-
| Kusama | 3995 | Small Equivocation | The validator noticed several errors, after which the client crashed, and a slash was applied. The validator recorded all events and opened GitHub issues to allow for technical opinions to be shared. | The validator requested to cancel the slash. The council approved the request as they believed the error wasn't operator-related. |
138+
| Kusama | 3329 | Small Equivocation | The validator operated a test machine with cloned keys. The test machine was online simultaneously as the primary, which resulted in a slash. | The validator requested a slash cancellation, but the council declined. |
139+
| Kusama | 3995 | Small Equivocation | The validator noticed several errors, after which the client crashed, and a slash was applied. The validator recorded all events and opened GitHub issues to allow for technical opinions to be shared. | The validator requested to cancel the slash. The council approved the request as they believed the error wasn't operator-related. |
140140
141141
#### Slashing Across Eras
142142
@@ -169,10 +169,10 @@ Some minor offenses, such as spamming, are only punished by networking reputatio
169169
Below, you can find a summary of penalties for specific offenses:
170170
171171
| Offense | [Slash (%)](#slashing) | [On-Chain Disabling](#disabling) | [Off-Chain Disabling](#disabling) | [Reputational Changes](#reputation-changes) |
172-
|:------------------------------------:|:----------------------:|:--------------------------------------:|:------------------------------------:|:-------------------------------------------:|
173-
| Backing Invalid | 100% | Yes | Yes (High Priority) | No |
174-
| ForInvalid Vote | - | No | Yes (Mid Priority) | No |
175-
| AgainstValid Vote | - | No | Yes (Low Priority) | No |
176-
| GRANDPA / BABE / BEEFY Equivocations | 0.01-100% | Yes | No | No |
177-
| Seconded + Valid Equivocation | - | No | No | No |
178-
| Double Seconded Equivocation | - | No | No | Yes |
172+
|:------------------------------------:|:----------------------:|:--------------------------------:|:---------------------------------:|:-------------------------------------------:|
173+
| Backing Invalid | 100% | Yes | Yes (High Priority) | No |
174+
| ForInvalid Vote | - | No | Yes (Mid Priority) | No |
175+
| AgainstValid Vote | - | No | Yes (Low Priority) | No |
176+
| GRANDPA / BABE / BEEFY Equivocations | 0.01-100% | Yes | No | No |
177+
| Seconded + Valid Equivocation | - | No | No | No |
178+
| Double Seconded Equivocation | - | No | No | Yes |

0 commit comments

Comments
 (0)