Crate aleph_bft_crypto

Crate aleph_bft_crypto 

Source
Expand description

Utilities for node addressing and message signing.

Structs§

IncompleteMultisignatureError
Error resulting from multisignature being incomplete.
Indexed
A pair consistsing of signable data and a NodeIndex.
Multisigned
Signable data together with a complete multisignature.
NodeCount
Node count. Right now it doubles as node weight in many places in the code, in the future we might need a new type for that.
NodeIndex
The index of a node
NodeMap
A container keeping items indexed by NodeIndex.
NodeSubset
SignatureError
Error type returned when a verification of a signature fails.
Signed
A correctly signed object of type T.
UncheckedSigned
A pair consisting of an instance of the Signable trait and an (arbitrary) signature.

Enums§

PartiallyMultisigned
Signable data together with a valid partial multisignature.

Traits§

Index
Indicates that an implementor has been assigned some index.
Keychain
Abstraction of the signing data and verifying signatures.
MultiKeychain
Extends Keychain with multisigning functionalities.
PartialMultisignature
A type to which signatures can be aggregated.
Signable
Data which can be signed.
Signature
The type used as a signature.

Type Aliases§

SignatureSet
A set of signatures of a subset of nodes serving as a (partial) multisignature