witness

package
v0.0.0-...-9e45ea8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL