distributor

package
v0.0.0-...-b28f480 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package distributor contains tooling for managing distributor state.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateState

func UpdateState(state, incoming [][]byte, opts UpdateOpts) ([][]byte, error)

UpdateState incorporates any incoming checkpoints for a single log into the distributor state.

Types

type UpdateOpts

type UpdateOpts struct {
	LogSigV              note.Verifier
	LogOrigin            string
	Witnesses            []note.Verifier
	MaxWitnessSignatures uint
}

UpdateOpts contains the settings for the distributor update.

Jump to

Keyboard shortcuts

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