Flow.Net
Show / Hide Table of Contents

Class Block

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

Constructors

| Improve this Doc View Source

Block()

Declaration
public Block()
| Improve this Doc View Source

Block(Block)

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

Fields

| Improve this Doc View Source

BlockHeaderFieldNumber

Field number for the "block_header" field.

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

BlockSealsFieldNumber

Field number for the "block_seals" field.

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

CollectionGuaranteesFieldNumber

Field number for the "collection_guarantees" field.

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

ExecutionReceiptMetaListFieldNumber

Field number for the "execution_receipt_metaList" field.

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

ExecutionResultListFieldNumber

Field number for the "execution_result_list" field.

Declaration
public const int ExecutionResultListFieldNumber = 9
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

SignaturesFieldNumber

Field number for the "signatures" field.

Declaration
public const int SignaturesFieldNumber = 7
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

Properties

| Improve this Doc View Source

BlockHeader

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

BlockSeals

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

CollectionGuarantees

Declaration
public RepeatedField<CollectionGuarantee> CollectionGuarantees { get; }
Property Value
Type Description
Google.Protobuf.Collections.RepeatedField<CollectionGuarantee>
| 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

ExecutionReceiptMetaList

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

ExecutionResultList

Declaration
public RepeatedField<ExecutionResult> ExecutionResultList { get; }
Property Value
Type Description
Google.Protobuf.Collections.RepeatedField<ExecutionResult>
| 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

Parser

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

Signatures

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

Timestamp

Declaration
public Timestamp Timestamp { get; set; }
Property Value
Type Description
Google.Protobuf.WellKnownTypes.Timestamp

Methods

| Improve this Doc View Source

CalculateSize()

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

Clone()

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

Equals(Block)

Declaration
public bool Equals(Block other)
Parameters
Type Name Description
Block 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(Block)

Declaration
public void MergeFrom(Block other)
Parameters
Type Name Description
Block 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