voting

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OpQueryGISTUpdate  = "tm.event='Tx' AND new_operation.operation_type='IDENTITY_GIST_TRANSFER'"
	OpQueryStateUpdate = "tm.event='Tx' AND new_operation.operation_type='IDENTITY_STATE_TRANSFER'"
)

Variables

This section is empty.

Functions

func RunVoter added in v1.0.7

func RunVoter(ctx context.Context, cfg config.Config)

Types

type GistUpdateVerifier added in v1.0.7

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

func NewGISTUpdateVerifier added in v1.0.7

func NewGISTUpdateVerifier(cfg config.Config) *GistUpdateVerifier

func (*GistUpdateVerifier) Verify added in v1.0.7

type StateUpdateVerifier added in v1.0.7

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

func NewStateUpdateVerifier

func NewStateUpdateVerifier(cfg config.Config) *StateUpdateVerifier

func (*StateUpdateVerifier) Verify added in v1.0.7

Jump to

Keyboard shortcuts

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