recordverifier

package
v0.11.13 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const CName = "common.acl.recordverifier"

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptorVerifier

type AcceptorVerifier interface {
	VerifyAcceptor(rec *consensusproto.RawRecord) (err error)
	ShouldValidate() bool
}

type RecordVerifier

type RecordVerifier interface {
	app.Component
	AcceptorVerifier
}

func New

func New() RecordVerifier

func NewValidateFull

func NewValidateFull() RecordVerifier

type ValidateFull

type ValidateFull struct{}

func (*ValidateFull) Init

func (a *ValidateFull) Init(_ *app.App) error

func (*ValidateFull) Name

func (a *ValidateFull) Name() string

func (*ValidateFull) ShouldValidate

func (a *ValidateFull) ShouldValidate() bool

func (*ValidateFull) VerifyAcceptor

func (a *ValidateFull) VerifyAcceptor(_ *consensusproto.RawRecord) error

Jump to

Keyboard shortcuts

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