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.
Inherited Members
Namespace: Hashgraph
Assembly: Hashgraph.dll
Syntax
public sealed class SuspendNetworkParams
Properties
| Improve this Doc View SourceDuration
The period of time the network should remain deactivated.
Declaration
public TimeSpan Duration { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
Starting
The amount time to wait before the the network should deactivate.
Declaration
public TimeSpan Starting { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
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 |
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> |