noops

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2016 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNoops

func GetNoops(c consensus.Stack) consensus.Consenter

GetNoops returns a singleton of NOOPS

Types

type Noops

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

Noops is a plugin object implementing the consensus.Consenter interface.

func (*Noops) RecvMsg

func (i *Noops) RecvMsg(msg *pb.OpenchainMessage, senderHandle *pb.PeerID) error

RecvMsg is called for OpenchainMessage_CHAIN_TRANSACTION and OpenchainMessage_CONSENSUS messages.

Jump to

Keyboard shortcuts

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