Show / Hide Table of Contents

Class SuspendNetworkParams

Parameters to set the period of time where the network will suspened will stop creating events and accepting transactions. This can be used to safely shut down the platform for maintenance and for upgrades if the file information is included.

Inheritance
Object
SuspendNetworkParams
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Hashgraph
Assembly: Hashgraph.dll
Syntax
public sealed class SuspendNetworkParams

Properties

| Improve this Doc View Source

Duration

The period of time the network should remain deactivated.

Declaration
public TimeSpan Duration { get; set; }
Property Value
Type Description
TimeSpan
| Improve this Doc View Source

Starting

The amount time to wait before the the network should deactivate.

Declaration
public TimeSpan Starting { get; set; }
Property Value
Type Description
TimeSpan
| Improve this Doc View Source

UpdateFile

Optional Address of the File to be loaded if this suspension is part of a maintanance update. (Typically the network will only accept a special well known file number.)

Declaration
public Address UpdateFile { get; set; }
Property Value
Type Description
Address
| Improve this Doc View Source

UpdateFileHash

Hash value of the contents of the upgrade file (if included). The network relies on this hash to verify the file contents before performing the maintanance update.

Declaration
public ReadOnlyMemory<byte> UpdateFileHash { get; set; }
Property Value
Type Description
ReadOnlyMemory<Byte>
  • Improve this Doc
  • View Source
In This Article
Back to top .NET Client Library for Hedera Hashgraph