v24

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Admin

type Admin struct {
	ListenAddress string `json:"listenAddress,omitempty"`
	TLs           v1.TLS `json:"tls,omitempty"`
}

type ChannelParticipation

type ChannelParticipation struct {
	Enabled            *bool  `json:"enabled,omitempty"`
	MaxRequestBodySize uint32 `json:"maxRequestBodySize,omitempty"`
}

type FileLedger

type FileLedger struct {
	Location string `json:"location,omitempty"`
}

FileLedger contains configuration for the file-based ledger.

type General

type General struct {
	ListenAddress     string             `json:"listenAddress,omitempty"`
	ListenPort        uint16             `json:"listenPort,omitempty"`
	TLS               v1.TLS             `json:"tls,omitempty"`
	Cluster           v1.Cluster         `json:"cluster,omitempty"`
	Keepalive         v1.Keepalive       `json:"keepalive,omitempty"`
	ConnectionTimeout commonapi.Duration `json:"connectionTimeout,omitempty"`
	GenesisFile       string             `json:"genesisFile,omitempty"` // For compatibility only, will be replaced by BootstrapFile
	BootstrapFile     string             `json:"bootstrapFile,omitempty"`
	BootstrapMethod   string             `json:"bootstrapMethod,omitempty"`
	Profile           v1.Profile         `json:"profile,omitempty"`
	LocalMSPDir       string             `json:"localMspDir,omitempty"`
	LocalMSPID        string             `json:"localMspId,omitempty"`
	BCCSP             *commonapi.BCCSP   `json:"BCCSP,omitempty"`
	Authentication    v1.Authentication  `json:"authentication,omitempty"`
}

type Orderer

type Orderer struct {
	General              General              `json:"general,omitempty"`
	FileLedger           FileLedger           `json:"fileLedger,omitempty"`
	Debug                v1.Debug             `json:"debug,omitempty"`
	Consensus            interface{}          `json:"consensus,omitempty"`
	Operations           v1.Operations        `json:"operations,omitempty"`
	Metrics              v1.Metrics           `json:"metrics,omitempty"`
	Admin                Admin                `json:"admin,omitempty"`
	ChannelParticipation ChannelParticipation `json:"channelParticipation,omitempty"`
}

Jump to

Keyboard shortcuts

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