configtx

package
v0.0.0-...-a15f78a Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ChannelV2_0 is the capabilities string for standard new non-backwards compatible fabric v2.0 channel capabilities.
	ChannelV2_0 = "V2_0"
	// ConsensusTypeSmartBFT identifies the SmartBFT-based consensus implementation.
	ConsensusTypeSmartBFT = "smartbft"
	// DefaultConsortiumValue value for consortium
	DefaultConsortiumValue = "DefaultConsortium"
	// SHA2 is an identifier for SHA2 hash family
	SHA2 = "SHA2"
	// SHA256
	SHA256 = "SHA256"
	// Role values for principals
	RoleAdmin   = "admin"
	RoleMember  = "member"
	RoleClient  = "client"
	RolePeer    = "peer"
	RoleOrderer = "orderer"
	// Standart rules
	AnyReaders          = "ANY Readers"
	AnyWriters          = "ANY Writers"
	MajorityAdmins      = "MAJORITY Admins"
	MajorityEndorsement = "MAJORITY Endorsement"
)

Variables

This section is empty.

Functions

func CreateGenesisBlock

func CreateGenesisBlock(req *pb.ChannelCreateRequest) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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