Class RenderRecord.BlockBase
Represents a block event.
Inherited Members
Namespace: Libplanet.Blockchain.Renderers.Debug
Assembly: Libplanet.dll
Syntax
public abstract class BlockBase : RenderRecord
Constructors
| Improve this Doc View SourceBlockBase(Int64, String, Block, Block, Boolean)
Represents a block event.
Declaration
protected BlockBase(long index, string stackTrace, Block oldTip, Block newTip, bool end = false)
Parameters
Type | Name | Description |
---|---|---|
Int64 | index | |
String | stackTrace | |
Block | oldTip | |
Block | 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 NewTip { get; }
Property Value
Type | Description |
---|---|
Block |
OldTip
The tip before update.
Declaration
public Block OldTip { get; }
Property Value
Type | Description |
---|---|
Block |
Methods
| Improve this Doc View SourceToString()
Represents a block event.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |