Documentation ¶
Overview ¶
Package witness provides client support for using witnesses.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckpointNConsensus ¶
func CheckpointNConsensus(logID string, distributors []client.Fetcher, witnesses []note.Verifier, N int) (client.ConsensusCheckpointFunc, error)
CheckpointNConsensus returns a ConsensusCheckpoint function which selects the newest checkpoint available from the available distributors which has signatures from at least N of the provided witnesses.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.