validate

package
v0.0.0-...-e703aee Latest Latest
Warning

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

Go to latest
Published: May 14, 2019 License: ISC Imports: 6 Imported by: 0

Documentation

Overview

Package validate provides context-free consensus validation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MerkleRoots

func MerkleRoots(block *wire.MsgBlock) error

MerkleRoots recreates the merkle roots of regular and stake transactions from a block and compares them against the recorded merkle roots in the block header.

func RegularCFilter

func RegularCFilter(block *wire.MsgBlock, filter *gcs.Filter) error

RegularCFilter verifies a regular committed filter received over wire protocol matches the block. Currently (without cfilter header commitments) this is performed by reconstructing the filter from the block and comparing equality.

Types

This section is empty.

Jump to

Keyboard shortcuts

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