Show / Hide Table of Contents

Class ScheduleNetworkUpgradeParams

Transaction parameters for scheduling a previously prepared network upgrade.

Inheritance
object
TransactionParams
TransactionParams<TransactionReceipt>
ScheduleNetworkUpgradeParams
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Hiero
Assembly: Hiero.dll
Syntax
public sealed class ScheduleNetworkUpgradeParams : TransactionParams<TransactionReceipt>
Examples

Step 2 of the upgrade flow: commit to the consensus timestamp at which every node will bounce and load the staged upgrade:

// After a successful PrepareNetworkUpgrade, commit to a consensus
// timestamp when nodes will bounce and load the new image.
var receipt = await client.ScheduleNetworkUpgradeAsync(new ScheduleNetworkUpgradeParams
{
    Consensus = new ConsensusTimeStamp(DateTime.UtcNow.AddHours(2))
});
Console.WriteLine($"Schedule status: {receipt.Status}");

Properties

| Edit this page View Source

CancellationToken

An optional cancellation token that can be used to interrupt the transaction.

Declaration
public CancellationToken? CancellationToken { get; set; }
Property Value
Type Description
CancellationToken?
| Edit this page View Source

Consensus

The time of consensus that nodes will stop services, this date must be in the future relative to the submission of this transaction.

Declaration
public ConsensusTimeStamp Consensus { get; set; }
Property Value
Type Description
ConsensusTimeStamp
| Edit this page View Source

Signatory

Optional additional signatories.

Declaration
public Signatory? Signatory { get; set; }
Property Value
Type Description
Signatory
  • Edit this page
  • View Source
In this article
Back to top .NET Client Library for Hiero Network and Hedera Hashgraph