types

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckResponse

type CheckResponse struct {
	WorkerId uint8
	Type     VerifyType
	Hash     common.Uint256
	Height   uint32
	ErrCode  errors.ErrCode
}

type CheckTx

type CheckTx struct {
	WorkerId uint8
	Tx       *types.Transaction
}

type RegisterValidator

type RegisterValidator struct {
	Sender *actor.PID
	Type   VerifyType
	Id     string
}

message

type UnRegisterAck

type UnRegisterAck struct {
	Id   string
	Type VerifyType
}

type UnRegisterValidator

type UnRegisterValidator struct {
	Id   string
	Type VerifyType
}

type VerifyType

type VerifyType uint8

VerifyType of validator

const (
	Stateless VerifyType = iota
	Stateful  VerifyType = iota
)

Jump to

Keyboard shortcuts

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