@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
18 lines • 597 B
JavaScript
// SPDX-License-Identifier: Apache-2.0
import { GenesisNetworkDataWrapper } from './genesis-network-data-wrapper.js';
export class GenesisNetworkRosterEntryDataWrapper extends GenesisNetworkDataWrapper {
nodeId;
constructor(nodeId) {
super(nodeId);
this.nodeId = nodeId;
}
toObject() {
return {
nodeId: this.nodeId,
gossipEndpoint: this.gossipEndpoint,
gossipCaCertificate: this.gossipCaCertificate,
weight: this.weight,
};
}
}
//# sourceMappingURL=genesis-network-roster-entry-data-wrapper.js.map