Show / Hide Table of Contents

Class RenderRecord<T>.BlockBase

Represents a block/reorg event.

Inheritance
Object
RenderRecord<T>
RenderRecord<T>.BlockBase
RenderRecord<T>.Block
RenderRecord<T>.Reorg
Inherited Members
RenderRecord<T>.Index
RenderRecord<T>.StackTrace
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: Libplanet.Blockchain.Renderers.Debug
Assembly: Libplanet.dll
Syntax
public abstract class BlockBase : RenderRecord<T>

Constructors

| Improve this Doc View Source

BlockBase(Int64, String, Block<T>, Block<T>, Boolean)

Declaration
protected BlockBase(long index, string stackTrace, Block<T> oldTip, Block<T> newTip, bool end = false)
Parameters
Type Name Description
Int64 index
String stackTrace
Block<T> oldTip
Block<T> newTip
Boolean end

Properties

| Improve this Doc View Source

Begin

Whether it is not an End event.

Declaration
public bool Begin { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

End

Whether it is an End event.

Declaration
public bool End { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

NewTip

The tip after update.

Declaration
public Block<T> NewTip { get; }
Property Value
Type Description
Block<T>
| Improve this Doc View Source

OldTip

The tip before update.

Declaration
public Block<T> OldTip { get; }
Property Value
Type Description
Block<T>

Methods

| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
String
Overrides
Libplanet.Blockchain.Renderers.Debug.RenderRecord<T>.ToString()
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2021 Planetarium