Class RenderRecord<T>.Reorg
Represents a reorg event.
Inherited Members
Namespace: Libplanet.Blockchain.Renderers.Debug
Assembly: Libplanet.dll
Syntax
public class Reorg : RenderRecord<T>.BlockBase
Constructors
| Improve this Doc View SourceReorg(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
|
| Boolean | end | Whether it is an |
Properties
| Improve this Doc View SourceBranchpoint
Declaration
public Block<T> Branchpoint { get; }
Property Value
| Type | Description |
|---|---|
| Block<T> |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| String |