Skip to main content

Module validation

Module validation 

Source
Expand description

A validation is a statement signed by a validator: “ledger N has hash H”.

The signature covers the VAL\0 prefix and every field except the signature itself. Checking the signature proves one thing: this key signed this statement. That the key belongs to a particular validator is what the manifest says; that the network confirmed the ledger is a quorum under a trust policy. These are different claims and must not be mixed here.

Structs§

Validation

Constants§

FLAG_FULL
Full validation: the validator considers this ledger accepted.
FLAG_FULLY_CANONICAL
The secp256k1 signature must be canonical (low S).