Implements
Google.Protobuf.IBufferMessage
Google.Protobuf.IMessage
Assembly: Flow.Net.Sdk.Client.Grpc.dll
public sealed class BlockHeader : IMessage<BlockHeader>, IEquatable<BlockHeader>, IDeepCloneable<BlockHeader>, IBufferMessage, IMessage
Constructors
|
Improve this Doc
View Source
Declaration
|
Improve this Doc
View Source
Declaration
public BlockHeader(BlockHeader other)
Parameters
Fields
|
Improve this Doc
View Source
Field number for the "chain_id" field.
Declaration
public const int ChainIdFieldNumber = 11
Field Value
|
Improve this Doc
View Source
Field number for the "height" field.
Declaration
public const int HeightFieldNumber = 3
Field Value
|
Improve this Doc
View Source
Field number for the "id" field.
Declaration
public const int IdFieldNumber = 1
Field Value
|
Improve this Doc
View Source
Field number for the "parent_id" field.
Declaration
public const int ParentIdFieldNumber = 2
Field Value
|
Improve this Doc
View Source
Field number for the "parent_voter_ids" field.
Declaration
public const int ParentVoterIdsFieldNumber = 7
Field Value
|
Improve this Doc
View Source
Field number for the "parent_voter_indices" field.
Declaration
public const int ParentVoterIndicesFieldNumber = 12
Field Value
|
Improve this Doc
View Source
Field number for the "parent_voter_sig_data" field.
Declaration
public const int ParentVoterSigDataFieldNumber = 8
Field Value
|
Improve this Doc
View Source
Field number for the "payload_hash" field.
Declaration
public const int PayloadHashFieldNumber = 5
Field Value
|
Improve this Doc
View Source
Field number for the "proposer_id" field.
Declaration
public const int ProposerIdFieldNumber = 9
Field Value
|
Improve this Doc
View Source
Field number for the "proposer_sig_data" field.
Declaration
public const int ProposerSigDataFieldNumber = 10
Field Value
|
Improve this Doc
View Source
Field number for the "timestamp" field.
Declaration
public const int TimestampFieldNumber = 4
Field Value
|
Improve this Doc
View Source
Field number for the "view" field.
Declaration
public const int ViewFieldNumber = 6
Field Value
Properties
|
Improve this Doc
View Source
Declaration
public string ChainId { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
|
Improve this Doc
View Source
Declaration
public ulong Height { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public ByteString Id { get; set; }
Property Value
Type |
Description |
Google.Protobuf.ByteString |
|
|
Improve this Doc
View Source
Declaration
public ByteString ParentId { get; set; }
Property Value
Type |
Description |
Google.Protobuf.ByteString |
|
|
Improve this Doc
View Source
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
Declaration
public ByteString ParentVoterIndices { get; set; }
Property Value
Type |
Description |
Google.Protobuf.ByteString |
|
|
Improve this Doc
View Source
Declaration
public ByteString ParentVoterSigData { get; set; }
Property Value
Type |
Description |
Google.Protobuf.ByteString |
|
|
Improve this Doc
View Source
Declaration
public static MessageParser<BlockHeader> Parser { get; }
Property Value
Type |
Description |
Google.Protobuf.MessageParser<BlockHeader> |
|
|
Improve this Doc
View Source
Declaration
public ByteString PayloadHash { get; set; }
Property Value
Type |
Description |
Google.Protobuf.ByteString |
|
|
Improve this Doc
View Source
Declaration
public ByteString ProposerId { get; set; }
Property Value
Type |
Description |
Google.Protobuf.ByteString |
|
|
Improve this Doc
View Source
Declaration
public ByteString ProposerSigData { get; set; }
Property Value
Type |
Description |
Google.Protobuf.ByteString |
|
|
Improve this Doc
View Source
Declaration
public Timestamp Timestamp { get; set; }
Property Value
Type |
Description |
Google.Protobuf.WellKnownTypes.Timestamp |
|
|
Improve this Doc
View Source
Declaration
public ulong View { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Declaration
public int CalculateSize()
Returns
|
Improve this Doc
View Source
Declaration
public BlockHeader Clone()
Returns
|
Improve this Doc
View Source
Declaration
public bool Equals(BlockHeader other)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
Object |
other |
|
Returns
Overrides
|
Improve this Doc
View Source
Declaration
public override int GetHashCode()
Returns
Overrides
|
Improve this Doc
View Source
Declaration
public void MergeFrom(BlockHeader other)
Parameters
|
Improve this Doc
View Source
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedInputStream |
input |
|
|
Improve this Doc
View Source
Declaration
public override string ToString()
Returns
Overrides
|
Improve this Doc
View Source
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedOutputStream |
output |
|
Explicit Interface Implementations
|
Improve this Doc
View Source
Declaration
void IBufferMessage.InternalMergeFrom(ref ParseContext input)
Parameters
Type |
Name |
Description |
Google.Protobuf.ParseContext |
input |
|
|
Improve this Doc
View Source
Declaration
void IBufferMessage.InternalWriteTo(ref WriteContext output)
Parameters
Type |
Name |
Description |
Google.Protobuf.WriteContext |
output |
|
|
Improve this Doc
View Source
Declaration
MessageDescriptor IMessage.Descriptor { get; }
Returns
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
Implements
Google.Protobuf.IMessage<T>
Google.Protobuf.IDeepCloneable<T>
Google.Protobuf.IBufferMessage
Google.Protobuf.IMessage