test

package
v1.0.0-preview Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2017 License: Apache-2.0 Imports: 8 Imported by: 1,044

Documentation

Index

Constants

View Source
const (
	// AcceptAllPolicyKey is the key of the AcceptAllPolicy.
	AcceptAllPolicyKey = "AcceptAllPolicy"
)

Variables

This section is empty.

Functions

func GetOrdererTemplate

func GetOrdererTemplate() configtx.Template

GetOrderererTemplate returns the test orderer template

func MakeGenesisBlock

func MakeGenesisBlock(chainID string) (*cb.Block, error)

Types

type MSPTemplate

type MSPTemplate struct{}

XXX This is a hacky singleton, which should go away, but is an artifact of using the existing utils implementation

func (MSPTemplate) Items

func (msp MSPTemplate) Items(chainID string) ([]*cb.SignedConfigurationItem, error)

Jump to

Keyboard shortcuts

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