integration

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Batch

type Batch map[cleisthenes.Member][]byte

type Node

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

func NewNode

func NewNode(n, f int, owner cleisthenes.Member, resultReceiver cleisthenes.ResultReceiver, typ NodeType) *Node

func (*Node) AddTransaction

func (n *Node) AddTransaction(tx cleisthenes.Transaction)

func (*Node) Address

func (n *Node) Address() cleisthenes.Address

func (*Node) Close

func (n *Node) Close()

func (*Node) Connect

func (n *Node) Connect(addr cleisthenes.Address) error

func (*Node) Run

func (n *Node) Run()

type NodeType

type NodeType int
const (
	Normal NodeType = iota
	Normal_No_Propose
	Normal_Latency
	Byzantine_Stupid
	Byzantine_Interceptor
)

Jump to

Keyboard shortcuts

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