Flow.Net
Show / Hide Table of Contents

Class BlockHeader

Inheritance
Object
BlockHeader
Implements
Google.Protobuf.IMessage<BlockHeader>
IEquatable<BlockHeader>
Google.Protobuf.IDeepCloneable<BlockHeader>
Google.Protobuf.IBufferMessage
Google.Protobuf.IMessage
Namespace: Flow.Net.Sdk.Protos.entities
Assembly: Flow.Net.Sdk.Client.Grpc.dll
Syntax
public sealed class BlockHeader : IMessage<BlockHeader>, IEquatable<BlockHeader>, IDeepCloneable<BlockHeader>, IBufferMessage, IMessage

Constructors

| Improve this Doc View Source

BlockHeader()

Declaration
public BlockHeader()
| Improve this Doc View Source

BlockHeader(BlockHeader)

Declaration
public BlockHeader(BlockHeader other)
Parameters
Type Name Description
BlockHeader other

Fields

| Improve this Doc View Source

ChainIdFieldNumber

Field number for the "chain_id" field.

Declaration
public const int ChainIdFieldNumber = 11
Field Value
Type Description
Int32
| Improve this Doc View Source

HeightFieldNumber

Field number for the "height" field.

Declaration
public const int HeightFieldNumber = 3
Field Value
Type Description
Int32
| Improve this Doc View Source

IdFieldNumber

Field number for the "id" field.

Declaration
public const int IdFieldNumber = 1
Field Value
Type Description
Int32
| Improve this Doc View Source

ParentIdFieldNumber

Field number for the "parent_id" field.

Declaration
public const int ParentIdFieldNumber = 2
Field Value
Type Description
Int32
| Improve this Doc View Source

ParentVoterIdsFieldNumber

Field number for the "parent_voter_ids" field.

Declaration
public const int ParentVoterIdsFieldNumber = 7
Field Value
Type Description
Int32
| Improve this Doc View Source

ParentVoterIndicesFieldNumber

Field number for the "parent_voter_indices" field.

Declaration
public const int ParentVoterIndicesFieldNumber = 12
Field Value
Type Description
Int32
| Improve this Doc View Source

ParentVoterSigDataFieldNumber

Field number for the "parent_voter_sig_data" field.

Declaration
public const int ParentVoterSigDataFieldNumber = 8
Field Value
Type Description
Int32
| Improve this Doc View Source

PayloadHashFieldNumber

Field number for the "payload_hash" field.

Declaration
public const int PayloadHashFieldNumber = 5
Field Value
Type Description
Int32
| Improve this Doc View Source

ProposerIdFieldNumber

Field number for the "proposer_id" field.

Declaration
public const int ProposerIdFieldNumber = 9
Field Value
Type Description
Int32
| Improve this Doc View Source

ProposerSigDataFieldNumber

Field number for the "proposer_sig_data" field.

Declaration
public const int ProposerSigDataFieldNumber = 10
Field Value
Type Description
Int32
| Improve this Doc View Source

TimestampFieldNumber

Field number for the "timestamp" field.

Declaration
public const int TimestampFieldNumber = 4
Field Value
Type Description
Int32
| Improve this Doc View Source

ViewFieldNumber

Field number for the "view" field.

Declaration
public const int ViewFieldNumber = 6
Field Value
Type Description
Int32

Properties

| Improve this Doc View Source

ChainId

Declaration
public string ChainId { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

Descriptor

Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Type Description
Google.Protobuf.Reflection.MessageDescriptor
| Improve this Doc View Source

Height

Declaration
public ulong Height { get; set; }
Property Value
Type Description
UInt64
| Improve this Doc View Source

Id

Declaration
public ByteString Id { get; set; }
Property Value
Type Description
Google.Protobuf.ByteString
| Improve this Doc View Source

ParentId

Declaration
public ByteString ParentId { get; set; }
Property Value
Type Description
Google.Protobuf.ByteString
| Improve this Doc View Source

ParentVoterIds

deprecated!! value will be empty. replaced by parent_vote_indices

Declaration
public RepeatedField<ByteString> ParentVoterIds { get; }
Property Value
Type Description
Google.Protobuf.Collections.RepeatedField<Google.Protobuf.ByteString>
| Improve this Doc View Source

ParentVoterIndices

Declaration
public ByteString ParentVoterIndices { get; set; }
Property Value
Type Description
Google.Protobuf.ByteString
| Improve this Doc View Source

ParentVoterSigData

Declaration
public ByteString ParentVoterSigData { get; set; }
Property Value
Type Description
Google.Protobuf.ByteString
| Improve this Doc View Source

Parser

Declaration
public static MessageParser<BlockHeader> Parser { get; }
Property Value
Type Description
Google.Protobuf.MessageParser<BlockHeader>
| Improve this Doc View Source

PayloadHash

Declaration
public ByteString PayloadHash { get; set; }
Property Value
Type Description
Google.Protobuf.ByteString
| Improve this Doc View Source

ProposerId

Declaration
public ByteString ProposerId { get; set; }
Property Value
Type Description
Google.Protobuf.ByteString
| Improve this Doc View Source

ProposerSigData

Declaration
public ByteString ProposerSigData { get; set; }
Property Value
Type Description
Google.Protobuf.ByteString
| Improve this Doc View Source

Timestamp

Declaration
public Timestamp Timestamp { get; set; }
Property Value
Type Description
Google.Protobuf.WellKnownTypes.Timestamp
| Improve this Doc View Source

View

Declaration
public ulong View { get; set; }
Property Value
Type Description
UInt64

Methods

| Improve this Doc View Source

CalculateSize()

Declaration
public int CalculateSize()
Returns
Type Description
Int32
| Improve this Doc View Source

Clone()

Declaration
public BlockHeader Clone()
Returns
Type Description
BlockHeader
| Improve this Doc View Source

Equals(BlockHeader)

Declaration
public bool Equals(BlockHeader other)
Parameters
Type Name Description
BlockHeader other
Returns
Type Description
Boolean
| Improve this Doc View Source

Equals(Object)

Declaration
public override bool Equals(object other)
Parameters
Type Name Description
Object other
Returns
Type Description
Boolean
Overrides
Object.Equals(Object)
| Improve this Doc View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
Object.GetHashCode()
| Improve this Doc View Source

MergeFrom(BlockHeader)

Declaration
public void MergeFrom(BlockHeader other)
Parameters
Type Name Description
BlockHeader other
| Improve this Doc View Source

MergeFrom(CodedInputStream)

Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Type Name Description
Google.Protobuf.CodedInputStream input
| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
String
Overrides
Object.ToString()
| Improve this Doc View Source

WriteTo(CodedOutputStream)

Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Type Name Description
Google.Protobuf.CodedOutputStream output

Explicit Interface Implementations

| Improve this Doc View Source

IBufferMessage.InternalMergeFrom(ref ParseContext)

Declaration
void IBufferMessage.InternalMergeFrom(ref ParseContext input)
Parameters
Type Name Description
Google.Protobuf.ParseContext input
| Improve this Doc View Source

IBufferMessage.InternalWriteTo(ref WriteContext)

Declaration
void IBufferMessage.InternalWriteTo(ref WriteContext output)
Parameters
Type Name Description
Google.Protobuf.WriteContext output
| Improve this Doc View Source

IMessage.Descriptor

Declaration
MessageDescriptor IMessage.Descriptor { get; }
Returns
Type Description
Google.Protobuf.Reflection.MessageDescriptor

Implements

Google.Protobuf.IMessage<T>
System.IEquatable<T>
Google.Protobuf.IDeepCloneable<T>
Google.Protobuf.IBufferMessage
Google.Protobuf.IMessage
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX