chainsync

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCheckpointMismatch = fmt.Errorf("checkpoint doesn't match")

ErrCheckpointMismatch is returned if given filter headers don't pass our control check.

Functions

func ControlCFHeader

func ControlCFHeader(params chaincfg.Params, fType wire.FilterType,
	height uint32, filterHeader *chainhash.Hash) error

ControlCFHeader controls the given filter header against our list of checkpoints. It returns ErrCheckpointMismatch if we have a checkpoint at the given height, and it doesn't match.

Types

This section is empty.

Jump to

Keyboard shortcuts

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