Show / Hide Table of Contents

Class RenderRecord<T>.Reorg

Represents a reorg event.

Inheritance
Object
RenderRecord<T>
RenderRecord.BlockBase<>
RenderRecord<T>.Reorg
Inherited Members
RenderRecord<T>.BlockBase.OldTip
RenderRecord<T>.BlockBase.NewTip
RenderRecord<T>.BlockBase.Begin
RenderRecord<T>.BlockBase.End
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 class Reorg : RenderRecord<T>.BlockBase

Constructors

| Improve this Doc View Source

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

Creates a reorg event record.

Declaration
public Reorg(long index, string stackTrace, Block<T> oldTip, Block<T> newTip, Block<T> branchpoint, bool end = false)
Parameters
Type Name Description
Int64 index

The ordinal number of the render event.

String stackTrace

The stack trace of the render event.

Block<T> oldTip

The tip before update.

Block<T> newTip

The tip after update.

Block<T> branchpoint

The topmost common ancestor between oldTip and newTip.

Boolean end

Whether it is an End event.

Properties

| Improve this Doc View Source

Branchpoint

The topmost common ancestor between OldTip and NewTip.

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

Methods

| Improve this Doc View Source

ToString()

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