constant

package
v0.0.0-...-3986ddd Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2019 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

View Source
const (
	BaasChaincodeGithub = "github.com/baaschaincodes"
	BaasChaincodeFile   = "main.go"
	BaasFirstChannel    = "youcannotseeme"

	BaasNfsShared  = "baas-nfs-shared"
	BaasArtifacts  = "baas-artifacts"
	BaasK8sConfig  = "baas-k8s-config"
	BaasFabricData = "baas-fabric-data"
	BaasTemplate   = "baas-template"
)
View Source
const (
	CryptoConfigDir     = "crypto-config"
	ChannelArtifactsDir = "channel-artifacts"
	CryptoConfigYaml    = "crypto-config.yaml"
	ConfigtxYaml        = "configtx.yaml"
)
View Source
const (
	K8sNfsYaml       = "nfs.yaml"
	K8sNamespaceYaml = "namespace.yaml"
	K8sOrdererYaml   = "orderer.yaml"
	K8sPeerYaml      = "peer.yaml"
	K8sCaYaml        = "ca.yaml"
	K8sCliYaml       = "cli.yaml"
	K8sZookeeperYaml = "zookeeper.yaml"
	K8sKafkaYaml     = "kafka.yaml"
)
View Source
const (
	OrdererBatchTimeout      = "2s"
	OrdererMaxMessageCount   = 500
	OrdererAbsoluteMaxBytes  = "99 MB"
	OrdererPreferredMaxBytes = "512 KB"
)
View Source
const (
	ProfilesGenesis = "OrdererGenesis"
	ProfilesChannel = "OrgsChannel"
	GenesisBlock    = "genesis.block"

	Tx        = ".tx"
	AnchorsTx = "MSPanchors.tx"
)
View Source
const (
	OrdererSuffix = "orderer"
	OrdererMsp    = "OrdererMSP"
	OrdererSolo   = "solo"
	OrdererKafka  = "kafka"

	KafkaSuffix = "kafka"

	TypeImplicitMeta   = "ImplicitMeta"
	TypeSignature      = "Signature"
	RuleAnyReaders     = "ANY Readers"
	RuleAnyWriters     = "ANY Writers"
	RuleMajorityAdmins = "MAJORITY Admins"

	Country  = "CN"
	Province = "GuangDong"
	Locality = "GuangZhou"
)
View Source
const (
	Tag       = "{{%s}}"
	PriKeySuf = "_sk"
	MspSuf    = "MSP"
)

Variables

View Source
var (
	BaasRootPath  string
	BaasNfsServer string
	BaasK8sEngine string

	BaasArtifactsDir       string
	BaasK8sFabricConfigDir string
	BaasFabricDataDir      string
	BaasK8sFabricTemplate  string

	BaseFiles  []string
	KafkaFiles []string
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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