Skip to main content

Module descriptor

Module descriptor 

Source
Expand description

Shared types between router descriptors and extra-info documents.

For now, this only includes code related to signatures.

Despite this being used by router descriptors and extra-info documents, many types inside this module are prefixed with “router”. We keep this prefix because we want the type names to align with the item keyword, which is the same in both documents.

Structs§

RouterHashAccu
Accumulator for router descriptor hash signatures.
RouterSigEd25519
SHA-256 router descriptor signature including magic and the keyword.
RouterSignature
SHA-1 router descriptor signature over router-sig-ed25519.