byzantine

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package byzantine contiains byzantine behaviors that can be applied to the consensus protocols.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFork

func NewFork(rules consensus.Rules) consensus.Rules

NewFork returns a byzantine replica that will try to fork the chain.

func NewSilence

func NewSilence(c consensus.Rules) consensus.Rules

NewSilence returns a byzantine replica that will never propose.

Types

This section is empty.

Jump to

Keyboard shortcuts

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