Table of Contents

Class FinalizationSummary

Namespace
Concordium.Grpc.V2
Assembly
Concordium.Sdk.dll

Details about a finalization record included in a block.

public sealed class FinalizationSummary : IMessage<FinalizationSummary>, IEquatable<FinalizationSummary>, IDeepCloneable<FinalizationSummary>, IBufferMessage, IMessage
Inheritance
FinalizationSummary
Implements
IDeepCloneable<FinalizationSummary>
IBufferMessage
IMessage
Inherited Members

Constructors

FinalizationSummary()

public FinalizationSummary()

FinalizationSummary(FinalizationSummary)

public FinalizationSummary(FinalizationSummary other)

Parameters

other FinalizationSummary

Fields

BlockFieldNumber

Field number for the "block" field.

public const int BlockFieldNumber = 1

Field Value

int

DelayFieldNumber

Field number for the "delay" field.

public const int DelayFieldNumber = 3

Field Value

int

FinalizersFieldNumber

Field number for the "finalizers" field.

public const int FinalizersFieldNumber = 4

Field Value

int

IndexFieldNumber

Field number for the "index" field.

public const int IndexFieldNumber = 2

Field Value

int

Properties

Block

Block that was finalized by the finalization record.

public BlockHash Block { get; set; }

Property Value

BlockHash

Delay

Finalization delay used for the finalization round.

public BlockHeight Delay { get; set; }

Property Value

BlockHeight

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Finalizers

List of all finalizers with information about whether they signed the finalization record or not.

public RepeatedField<FinalizationSummaryParty> Finalizers { get; }

Property Value

RepeatedField<FinalizationSummaryParty>

Index

Index of the finalization round that finalized the block.

public FinalizationIndex Index { get; set; }

Property Value

FinalizationIndex

Parser

public static MessageParser<FinalizationSummary> Parser { get; }

Property Value

MessageParser<FinalizationSummary>

Methods

CalculateSize()

Calculates the size of this message in Protocol Buffer wire format, in bytes.

public int CalculateSize()

Returns

int

The number of bytes required to write this message to a coded output stream.

Clone()

Creates a deep clone of this object.

public FinalizationSummary Clone()

Returns

FinalizationSummary

A deep clone of this object.

Equals(FinalizationSummary)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(FinalizationSummary other)

Parameters

other FinalizationSummary

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object other)

Parameters

other object

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

MergeFrom(FinalizationSummary)

Merges the given message into this one.

public void MergeFrom(FinalizationSummary other)

Parameters

other FinalizationSummary

Remarks

See the user guide for precise merge semantics.

MergeFrom(CodedInputStream)

Merges the data from the specified coded input stream with the current message.

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

Remarks

See the user guide for precise merge semantics.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

WriteTo(CodedOutputStream)

Writes the data to the given coded output stream.

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream

Coded output stream to write the data to. Must not be null.