Constructors
Methods
_addStake
- _addStake(
namespace: string,
accountId: string,
nodeAlias: `node${number}`,
stakeAmount?: number,
): Promise<void> Parameters
- namespace: string
- accountId: string
- nodeAlias: `node${number}`
- stakeAmount: number = HEDERA_NODE_DEFAULT_STAKE_AMOUNT
Returns Promise<void>
_checkNetworkNodeActiveness
- _checkNetworkNodeActiveness(
namespace: string,
nodeAlias: `node${number}`,
task: TaskWrapper<any, any, any>,
title: string,
index: number,
status?: NodeStatusCodes,
maxAttempts?: number,
delay?: number,
timeout?: number,
): Promise<`network-node${number}-0`> Parameters
- namespace: string
- nodeAlias: `node${number}`
- task: TaskWrapper<any, any, any>
- title: string
- index: number
- status: NodeStatusCodes = NodeStatusCodes.ACTIVE
- maxAttempts: number = constants.NETWORK_NODE_ACTIVE_MAX_ATTEMPTS
- delay: number = constants.NETWORK_NODE_ACTIVE_DELAY
- timeout: number = constants.NETWORK_NODE_ACTIVE_TIMEOUT
Returns Promise<`network-node${number}-0`>
_checkNodeActivenessTask
- _checkNodeActivenessTask(
ctx: any,
task: TaskWrapper<any, any, any>,
nodeAliases: NodeAliases,
status?: NodeStatusCodes,
): Listr Returns Listr
_checkNodesProxiesTask
- _checkNodesProxiesTask(
ctx: any,
task: TaskWrapper<any, any, any>,
nodeAliases: NodeAliases,
): Listr Parameters
- ctx: any
- task: TaskWrapper<any, any, any>
- nodeAliases: NodeAliases
Returns Listr
_fetchPlatformSoftware
- _fetchPlatformSoftware(
nodeAliases: NodeAliases,
podNames: Record<`node${number}`, `network-node${number}-0`>,
releaseTag: string,
task: TaskWrapper<any, any, any>,
platformInstaller: PlatformInstaller,
): Listr Parameters
- nodeAliases: NodeAliases
- podNames: Record<`node${number}`, `network-node${number}-0`>
- releaseTag: string
- task: TaskWrapper<any, any, any>
- platformInstaller: PlatformInstaller
Returns Listr
_generateGossipKeys
- _generateGossipKeys(generateMultiple: boolean): Task
Parameters
- generateMultiple: boolean
_generateGrpcTlsKeys
- _generateGrpcTlsKeys(generateMultiple: boolean): Task
Parameters
- generateMultiple: boolean
_uploadPlatformSoftware
- _uploadPlatformSoftware(
nodeAliases: NodeAliases,
podNames: any,
task: TaskWrapper<any, any, any>,
localBuildPath: string,
): Listr Parameters
- nodeAliases: NodeAliases
- podNames: any
- task: TaskWrapper<any, any, any>
- localBuildPath: string
Returns Listr
checkAllNodeProxiesAreActive
- checkAllNodeProxiesAreActive(): Task
checkAllNodesAreActive
- checkAllNodesAreActive(nodeAliasesProperty: string): Task
Parameters
- nodeAliasesProperty: string
checkAllNodesAreFrozen
- checkAllNodesAreFrozen(nodeAliasesProperty: string): Task
Parameters
- nodeAliasesProperty: string
checkExistingNodesStakedAmount
- checkExistingNodesStakedAmount(): Task
checkNetworkNodePod
- checkNetworkNodePod(
namespace: string,
nodeAlias: `node${number}`,
maxAttempts?: number,
delay?: number,
): Promise<`network-node${number}-0`> Parameters
- namespace: string
- nodeAlias: `node${number}`
- maxAttempts: number = constants.PODS_RUNNING_MAX_ATTEMPTS
- delay: number = constants.PODS_RUNNING_DELAY
Returns Promise<`network-node${number}-0`>
checkNodePodsAreRunning
- checkNodePodsAreRunning(): Task
checkNodeProxiesAreActive
- checkNodeProxiesAreActive(): Task
computeMTLSCertificateHash
- computeMTLSCertificateHash(): Task
copyGrpcTlsCertificates
- copyGrpcTlsCertificates(): Task
copyNodeKeysToSecrets
- copyNodeKeysToSecrets(): Task
determineNewNodeAccountNumber
- determineNewNodeAccountNumber(): Task
downloadLastState
- downloadLastState(): Task
downloadNodeGeneratedFiles
- downloadNodeGeneratedFiles(): Task
downloadNodeUpgradeFiles
- downloadNodeUpgradeFiles(): Task
dumpNetworkNodesSaveState
- dumpNetworkNodesSaveState(): Task
enablePortForwarding
- enablePortForwarding(): Task
fetchPlatformSoftware
- fetchPlatformSoftware(aliasesField: string): Task
generateGossipKey
- generateGossipKey(): Task
generateGossipKeys
- generateGossipKeys(): Task
generateGrpcTlsKey
- generateGrpcTlsKey(): Task
generateGrpcTlsKeys
- generateGrpcTlsKeys(): Task
getNodeLogsAndConfigs
- getNodeLogsAndConfigs(): Task
getNodeStateFiles
- getNodeStateFiles(): Task
identifyExistingNodes
- identifyExistingNodes(): Task
identifyNetworkPods
- identifyNetworkPods(maxAttempts?: any): Task
Parameters
- maxAttempts: any = undefined
killNodesAndUpdateConfigMap
- killNodesAndUpdateConfigMap(): Task
loadContextData
- loadContextData(argv: any, targetFile: string, parser: any): Task
Parameters
- argv: any
- targetFile: string
- parser: any
loadSigningKeyCertificate
- loadSigningKeyCertificate(): Task
populateServiceMap
- populateServiceMap(): Task
prepareGossipEndpoints
- prepareGossipEndpoints(): Task
prepareGrpcServiceEndpoints
- prepareGrpcServiceEndpoints(): Task
prepareStagingDirectory
- prepareStagingDirectory(nodeAliasesProperty: any): Task
prepareUpgradeZip
- prepareUpgradeZip(): Task
saveContextData
- saveContextData(argv: any, targetFile: string, parser: any): Task
Parameters
- argv: any
- targetFile: string
- parser: any
sendFreezeUpgradeTransaction
- sendFreezeUpgradeTransaction(): Task
sendNodeCreateTransaction
- sendNodeCreateTransaction(): Task
sendNodeDeleteTransaction
- sendNodeDeleteTransaction(): Task
sendNodeUpdateTransaction
- sendNodeUpdateTransaction(): Task
sendPrepareUpgradeTransaction
- sendPrepareUpgradeTransaction(): Task
setupNetworkNodes
- setupNetworkNodes(nodeAliasesProperty: string, isGenesis?: boolean): Task
Parameters
- nodeAliasesProperty: string
- isGenesis: boolean = false
sleep
- sleep(title: string, milliseconds: number): Task
Parameters
- title: string
- milliseconds: number
startNodes
- startNodes(nodeAliasesProperty: string): Task
Parameters
- nodeAliasesProperty: string
taskCheckNetworkNodePods
- taskCheckNetworkNodePods(
ctx: any,
task: TaskWrapper<any, any, any>,
nodeAliases: NodeAliases,
maxAttempts?: any,
): Listr Parameters
- ctx: any
- task: TaskWrapper<any, any, any>
- nodeAliases: NodeAliases
- maxAttempts: any = undefined
Returns Listr
triggerStakeWeightCalculate
uploadStateToNewNode
- uploadStateToNewNode(): Task
Return task for check if node proxies are ready