validator

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	INVALID_PUBKEY_FORMAT = "Cannot parse public key"
	INVALID_PUBKEY        = "Invalid public key"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

type Validator struct {
	Valid  bool
	Reason string
}

func New

func New() *Validator

func (*Validator) EqualXonlyPublicKey

func (v *Validator) EqualXonlyPublicKey(target string, expected *btcec.PublicKey) bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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