@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
43 lines (34 loc) • 1.16 kB
text/typescript
// SPDX-License-Identifier: Apache-2.0
import {Exclude, Expose, Type} from 'class-transformer';
import {WrapsSchema} from './wraps-schema.js';
export class TssSchema {
public messageSizeSoftLimitBytes: number;
public messageSizeHardLimitBytes: number;
public timeoutAfterReadySeconds: number;
public readyMaxAttempts: number;
public readyBackoffSeconds: number;
public wraps: WrapsSchema;
public constructor(
messageSizeSoftLimitBytes?: number,
messageSizeHardLimitBytes?: number,
timeoutAfterReadySeconds?: number,
readyMaxAttempts?: number,
readyBackoffSeconds?: number,
wraps?: WrapsSchema,
) {
this.messageSizeSoftLimitBytes = messageSizeSoftLimitBytes ?? 4_194_304;
this.messageSizeHardLimitBytes = messageSizeHardLimitBytes ?? 37_748_736;
this.timeoutAfterReadySeconds = timeoutAfterReadySeconds ?? 10;
this.readyMaxAttempts = readyMaxAttempts ?? 60;
this.readyBackoffSeconds = readyBackoffSeconds ?? 3;
this.wraps = wraps || new WrapsSchema();
}
}