UNPKG

@decaf-ts/fabric-weaver

Version:
7 lines (6 loc) 1.56 kB
import { Logger } from "@decaf-ts/logging"; import { AdminConfig, BCCSPConfig, BootstrapConfig, ChannelParticipationConfig, ClusterConfig, ConsensusConfig, DebugConfig, KafkaConfig, KeepAliveConfig, MetricsConfig, MSGSizeConfig, MSPConfig, OperationsConfig, ProfileConfig, TLSConfig } from "../../fabric/interfaces/fabric/orderer-config"; export declare function issueOrderer(log: Logger, cpath?: string, consensus?: ConsensusConfig, channelParticipation?: ChannelParticipationConfig, adminCfg?: AdminConfig, tls?: TLSConfig, port?: number, address?: string, keepAlive?: KeepAliveConfig, msgSize?: MSGSizeConfig, cluster?: ClusterConfig, boot?: BootstrapConfig, msp?: MSPConfig, profile?: ProfileConfig, metrics?: MetricsConfig, operations?: OperationsConfig, Kafka?: KafkaConfig, fileLedgerLocation?: string, authWindow?: string, bccsp?: BCCSPConfig, debug?: DebugConfig): void; export declare function startOrderer(): Promise<void>; export declare function bootOrderer(log: Logger, cpath?: string, consensus?: ConsensusConfig, channelParticipation?: ChannelParticipationConfig, adminCfg?: AdminConfig, tls?: TLSConfig, port?: number, address?: string, keepAlive?: KeepAliveConfig, msgSize?: MSGSizeConfig, cluster?: ClusterConfig, boot?: BootstrapConfig, msp?: MSPConfig, profile?: ProfileConfig, metrics?: MetricsConfig, operations?: OperationsConfig, Kafka?: KafkaConfig, fileLedgerLocation?: string, authWindow?: string, bccsp?: BCCSPConfig, debug?: DebugConfig): Promise<void>; export declare function hasOrdererInitialized(fileLocation?: string): boolean;