referrerpolicy=no-referrer-when-downgrade

Crate cumulus_aura_authorizer_utils

Crate cumulus_aura_authorizer_utils 

Source
Expand description

Shared AURA authorization types, signing payloads, and collator proofs.

Structs§

AuthConfig
The AURA authorizer config embedded in every work package.
AuthToken
AuthTrace
The collator authenticated by AURA for the work package.
ParaId
Unique identifier of a parachain.
ParachainCandidate
Parachain work-item payload (§3.2). The PoV is carried in extrinsic 0.
WorkPackageBody
A work package awaiting its authorization token.

Enums§

AuthorizationError
AURA authorization failed.
CandidateError
Invalid candidate payload or parachain identity.
CollatorProofError
Invalid collator set or index supplied to the proof builder.
ConfigError
Invalid AURA configuration or work items that do not satisfy it.
TokenError
Authorization token validation failed.

Constants§

WORK_PACKAGE_SIGN_CTX
Domain separator for the token-free work-package hash signed by AURA collators.

Traits§

SignatureVerifier
Signature verification for Collator keys.

Functions§

build_collator_proof
Build an unpadded Merkle tree and return its root and proof for collator_index.
expected_siblings
Count sibling hashes needed to prove membership of the value at the position.
signable_work_package_hash
Hash the token-free work-package fields signed by the collator.

Type Aliases§

CollatorKey
Raw 32-byte collator public key.
CollatorSignature
A collator’s signature over an authorization token’s signing payload.