Struct PeerChainState
The blockchain state of BoundPeer.
Inherited Members
Namespace: Libplanet.Net
Assembly: Libplanet.Net.dll
Syntax
public readonly struct PeerChainState
Constructors
| Improve this Doc View SourcePeerChainState(BoundPeer, Int64)
The blockchain state of BoundPeer.
Declaration
public PeerChainState(BoundPeer peer, long tipIndex)
Parameters
Type | Name | Description |
---|---|---|
BoundPeer | peer | |
Int64 | tipIndex |
Properties
| Improve this Doc View SourcePeer
The peer with chain.
Declaration
public readonly BoundPeer Peer { get; }
Property Value
Type | Description |
---|---|
BoundPeer |
TipIndex
The blockchain tip of the BoundPeer.
Declaration
public readonly long TipIndex { get; }
Property Value
Type | Description |
---|---|
Int64 |
Methods
| Improve this Doc View SourceToString()
The blockchain state of BoundPeer.
Declaration
public override readonly string ToString()
Returns
Type | Description |
---|---|
String |