@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
29 lines • 1.04 kB
JavaScript
// SPDX-License-Identifier: Apache-2.0
export class ConsensusNode {
name;
nodeId;
namespace;
cluster;
context;
dnsBaseDomain;
dnsConsensusNodePattern;
fullyQualifiedDomainName;
blockNodeMap;
externalBlockNodeMap;
constructor(name, nodeId, namespace, cluster, context, dnsBaseDomain, dnsConsensusNodePattern, fullyQualifiedDomainName, blockNodeMap, externalBlockNodeMap) {
this.name = name;
this.nodeId = nodeId;
this.namespace = namespace;
this.cluster = cluster;
this.context = context;
this.dnsBaseDomain = dnsBaseDomain;
this.dnsConsensusNodePattern = dnsConsensusNodePattern;
this.fullyQualifiedDomainName = fullyQualifiedDomainName;
this.blockNodeMap = blockNodeMap;
this.externalBlockNodeMap = externalBlockNodeMap;
if (!context) {
throw new Error(`ConsensusNode context cannot be empty or null. Call stack: ${new Error().stack}`);
}
}
}
//# sourceMappingURL=consensus-node.js.map