common

package
v1.22.20 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package common provides common types for consensus engines. This package aliases types from other packages for backwards compatibility.

Index

Constants

View Source
const (
	PendingTxs                = core.PendingTxs
	PutBlock                  = core.PutBlock
	GetBlock                  = core.GetBlock
	GetAccepted               = core.GetAccepted
	Accepted                  = core.Accepted
	GetAncestors              = core.GetAncestors
	MultiPut                  = core.MultiPut
	GetFailed                 = core.GetFailed
	QueryFailed               = core.QueryFailed
	Chits                     = core.Chits
	ChitsV2                   = core.ChitsV2
	GetAcceptedFrontier       = core.GetAcceptedFrontier
	AcceptedFrontier          = core.AcceptedFrontier
	GetAcceptedFrontierFailed = core.GetAcceptedFrontierFailed
	WarpRequest               = core.WarpRequest
	WarpResponse              = core.WarpResponse
	WarpGossip                = core.WarpGossip
)

Message type constants

Variables

This section is empty.

Functions

This section is empty.

Types

type Error added in v1.22.13

type Error = warp.Error

Error is an alias for warp.Error for backwards compatibility

type Fx added in v1.19.13

type Fx = block.Fx

Fx represents a feature extension

type Handler added in v1.22.9

type Handler = warp.Handler

Handler is an alias for warp.Handler for backwards compatibility

type Message

type Message = block.Message

Message represents a message to the VM

type MessageType

type MessageType = core.MessageType

MessageType defines the type of a message

type SendConfig added in v1.22.14

type SendConfig = warp.SendConfig

SendConfig is an alias for warp.SendConfig for backwards compatibility

type Sender added in v1.22.9

type Sender = warp.Sender

Sender is an alias for warp.Sender for backwards compatibility

Jump to

Keyboard shortcuts

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