messages

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: MIT Imports: 3 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInternalChannel

func NewInternalChannel() chan InternalMessage

Types

type BroadcastTransaction

type BroadcastTransaction struct {
	Response    chan error
	Transaction proto.Transaction
}

func NewBroadcastTransaction

func NewBroadcastTransaction(response chan error, transaction proto.Transaction) *BroadcastTransaction

func (*BroadcastTransaction) Internal

func (*BroadcastTransaction) Internal()

type HaltMessage

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

func NewHaltMessage

func NewHaltMessage(response chan struct{}) *HaltMessage

func (*HaltMessage) Complete

func (a *HaltMessage) Complete()

func (HaltMessage) Internal

func (HaltMessage) Internal()

type InternalMessage

type InternalMessage interface {
	Internal()
}

type MinedBlockInternalMessage

type MinedBlockInternalMessage struct {
	Block   *proto.Block
	Limits  proto.MiningLimits
	KeyPair proto.KeyPair
	Vrf     []byte
}

func NewMinedBlockInternalMessage

func NewMinedBlockInternalMessage(block *proto.Block, limits proto.MiningLimits, keyPair proto.KeyPair, vrf []byte) *MinedBlockInternalMessage

func (*MinedBlockInternalMessage) Internal

func (a *MinedBlockInternalMessage) Internal()

type SkipMessageList added in v0.10.0

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

func (*SkipMessageList) List added in v0.10.0

func (*SkipMessageList) SetList added in v0.10.0

func (l *SkipMessageList) SetList(list proto.PeerMessageIDs)

Jump to

Keyboard shortcuts

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