validationctx

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

Provider is a validation context provider

func NewProvider

func NewProvider() *Provider

NewProvider returns a new validation context provider

func (*Provider) CancelBlockValidation

func (p *Provider) CancelBlockValidation(channelID string, blockNum uint64)

CancelBlockValidation cancels any outstanding validation for the given block number

func (*Provider) ValidationContextForBlock

func (p *Provider) ValidationContextForBlock(channelID string, blockNum uint64) (context.Context, error)

ValidationContextForBlock returns the context for the given block number

Jump to

Keyboard shortcuts

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