protocol

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Verifier

type Verifier interface {
	Verify(t types.Txi) bool
	Name() string
	String() string
	Independent() bool
}

Verifier defines interface to validate a tx. There may be lots of rules for a tx to be valid across the project such as Consensus(Annsensus), Graph structure(DAG), Tx format(mining), etc

Jump to

Keyboard shortcuts

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