Class RenderRecord<T>.BlockBase
Represents a block/reorg event.
Inherited Members
Namespace: Libplanet.Blockchain.Renderers.Debug
Assembly: Libplanet.dll
Syntax
public abstract class BlockBase : RenderRecord<T>
Constructors
| Improve this Doc View SourceBlockBase(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 SourceBegin
Whether it is not an End
event.
Declaration
public bool Begin { get; }
Property Value
Type | Description |
---|---|
Boolean |
End
Whether it is an End
event.
Declaration
public bool End { get; }
Property Value
Type | Description |
---|---|
Boolean |
NewTip
The tip after update.
Declaration
public Block<T> NewTip { get; }
Property Value
Type | Description |
---|---|
Block<T> |
OldTip
The tip before update.
Declaration
public Block<T> OldTip { get; }
Property Value
Type | Description |
---|---|
Block<T> |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |
Overrides
Libplanet.Blockchain.Renderers.Debug.RenderRecord<T>.ToString()