cmd

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReqReceiverBasePort = 20000
)

Variables

This section is empty.

Functions

func Execute

func Execute()

Types

type App

type App struct {
	logging.Logger

	Membership map[t.NodeID]t.NodeAddress
}

func (*App) ApplyTXs

func (a *App) ApplyTXs(txs []*requestpb.Request) error

func (*App) Checkpoint

func (a *App) Checkpoint(_ *checkpoint.StableCheckpoint) error

func (*App) NewEpoch

func (a *App) NewEpoch(_ t.EpochNr) (map[t.NodeID]t.NodeAddress, error)

func (*App) RestoreState

func (a *App) RestoreState(_ *checkpoint.StableCheckpoint) error

func (*App) Snapshot

func (a *App) Snapshot() ([]byte, error)

Jump to

Keyboard shortcuts

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