types

package
v2.0.1-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2019 License: Apache-2.0 Imports: 4 Imported by: 8

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