package
0.0.0-20230203010516-6d4bf48beedd
Repository: https://github.com/onyx-protocol/onyx.git
Documentation: pkg.go.dev
# Functions
New returns a new Signer that validates blocks with c and signs them with k.
# Variables
ErrConsensusChange is returned from ValidateAndSignBlock when a new consensus program is detected.
ErrInvalidKey is returned from SignBlock when the key specified on the Signer is invalid.
# Structs
BlockSigner validates and signs blocks.
EnclaveClient implements the Signer interface by calling Chain Enclave to sign blocks.
# Interfaces
Signer provides the interface for computing the block signature.