UNPKG

@hashgraph/solo

Version:

An opinionated CLI tool to deploy and manage private Hedera Networks.

20 lines (19 loc) 954 B
import { type PriorityMapping, type ToJSON } from '../types/index.js'; import { type RemoteConfigRuntimeStateApi } from '../business/runtime-state/api/remote-config-runtime-state-api.js'; import { type ConfigProvider } from '../data/configuration/api/config-provider.js'; /** * Wrapper used to generate `block-nodes.json` file * for the consensus node used to configure block node connections. */ export declare class BlockNodesJsonWrapper implements ToJSON { private readonly blockNodeMap; private readonly externalBlockNodeMap; private readonly remoteConfig; private readonly configProvider; private readonly blockNodes; private readonly externalBlockNodes; private readonly tssEnabled; constructor(blockNodeMap: PriorityMapping[], externalBlockNodeMap: PriorityMapping[], remoteConfig?: RemoteConfigRuntimeStateApi, configProvider?: ConfigProvider); toJSON(): string; private buildBlockNodesJsonStructure; }