Unverified Commit d5f651c1 authored by Andronik Ordian's avatar Andronik Ordian Committed by GitHub
Browse files

some fixes to please cargo-spellcheck (#3550)

* some fixes to please cargo-spellcheck

* some (not all) fixes for the impl guide

* fix
parent a52dca2b
Pipeline #150501 passed with stages
in 40 minutes and 41 seconds
# Disputes
Fast forward to [more detailed disputes requirments](./disputes-flow.md).
Fast forward to [more detailed disputes requirements](./disputes-flow.md).
## Motivation and Background
......
# Approval Types
## AssignmentId
## `AssignmentId`
The public key of a keypair used by a validator for determining assignments to approve included parachain candidates.
## AssignmentCert
## `AssignmentCert`
An `AssignmentCert`, short for Assignment Certificate, is a piece of data provided by a validator to prove that they have been selected to perform secondary approval checks on an included candidate.
......@@ -28,9 +28,9 @@ struct AssignmentCert {
}
```
> TODO: RelayEquivocation cert. Probably can only be broadcast to chains that have handled an equivocation report.
> TODO: `RelayEquivocation` cert. Probably can only be broadcast to chains that have handled an equivocation report.
## IndirectAssignmentCert
## `IndirectAssignmentCert`
An assignment cert which refers to the candidate under which the assignment is relevant by block hash.
......@@ -43,7 +43,7 @@ struct IndirectAssignmentCert {
}
```
## ApprovalVote
## `ApprovalVote`
A vote of approval on a candidate.
......@@ -51,7 +51,7 @@ A vote of approval on a candidate.
struct ApprovalVote(Hash);
```
## SignedApprovalVote
## `SignedApprovalVote`
An approval vote signed with a validator's key. This should be verifiable under the `ValidatorId` corresponding to the `ValidatorIndex` of the session, which should be implicit from context.
......@@ -63,7 +63,7 @@ struct SignedApprovalVote {
}
```
## IndirectSignedApprovalVote
## `IndirectSignedApprovalVote`
A signed approval vote which references the candidate indirectly via the block. If there exists a look-up to the candidate hash from the block hash and candidate index, then this can be transformed into a `SignedApprovalVote`.
......@@ -80,9 +80,9 @@ struct IndirectSignedApprovalVote {
}
```
## CheckedAssignmentCert
## `CheckedAssignmentCert`
An assignment cert which has checked both the VRF and the validity of the implied assignment according to the selection criteria rules of the protocol. This type should be declared in such a way as to be instantiable only when the checks have actually been done. Fields should be accessible via getters, not direct struct access.
An assignment cert which has checked both the VRF and the validity of the implied assignment according to the selection criteria rules of the protocol. This type should be declared in such a way as to be instantiatable only when the checks have actually been done. Fields should be accessible via getters, not direct struct access.
```rust
struct CheckedAssignmentCert {
......@@ -94,7 +94,7 @@ struct CheckedAssignmentCert {
}
```
## DelayTranche
## `DelayTranche`
```rust
type DelayTranche = u32;
......
......@@ -90,7 +90,7 @@ pub struct FullDeps<C, P, SC, B> {
pub client: Arc<C>,
/// Transaction pool instance.
pub pool: Arc<P>,
/// The SelectChain Strategy
/// The [`SelectChain`] Strategy
pub select_chain: SC,
/// A copy of the chain spec.
pub chain_spec: Box<dyn sc_chain_spec::ChainSpec>,
......
150
accessor/MS
activations
acyclic
adversary/SM
annualised
anonymize/D
Apache-2.0/M
API
APIs
......@@ -11,6 +13,7 @@ assignee/SM
async
asynchrony
autogenerated
A&V
backable
backend/MS
benchmark/DSMG
......@@ -46,8 +49,10 @@ deinitializing
dequeue/SD
deregister
deserialize/G
DHT
disincentivize/D
dispatchable/SM
DLEQ
DMP/SM
DMQ
DoS
......@@ -66,11 +71,13 @@ externality/MS
extrinsic
extrinsics
fedora/M
finalize/B
FRAME/MS
FSMs
gameable
getter/MS
GiB/S
GNUNet
GPL/M
GPLv3/M
Grafana/MS
......@@ -78,6 +85,7 @@ Gurke/MS
Handler/MS
HMP/SM
HRMP
HSM
https
iff
implementer/MS
......@@ -164,9 +172,12 @@ phragmen
picosecond/SM
PoA/MS
polkadot/MS
PoS/MS
PoV/MS
PoW/MS
PR
preconfigured
preimage/MS
preopen
prepend/G
prevalidation
......@@ -192,10 +203,13 @@ RPC/MS
runtime/MS
rustc/MS
SAFT
scalable
scalability
Schnorr
schnorrkel
SDF
sending/S
ServiceFactory
sharding
shareable
Simnet/MS
spawn/SR
......@@ -236,6 +250,8 @@ unreceived
unreserve
unreserving
unservable/B
untrusted
untyped
unvested
URI
utilize
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment