Struct PeerChainState
Assembly: Libplanet.Net.dll
Syntax
public readonly struct PeerChainState
Constructors
|
Improve this Doc
View Source
PeerChainState(BoundPeer, Int64, BigInteger)
Declaration
public PeerChainState(BoundPeer peer, long tipIndex, BigInteger totalDifficulty)
Parameters
Type |
Name |
Description |
BoundPeer |
peer |
|
Int64 |
tipIndex |
|
BigInteger |
totalDifficulty |
|
Properties
|
Improve this Doc
View Source
Peer
Declaration
public readonly BoundPeer Peer { get; }
Property Value
|
Improve this Doc
View Source
TipIndex
Declaration
public readonly long TipIndex { get; }
Property Value
|
Improve this Doc
View Source
TotalDifficulty
The total difficulty of the blockchain of the BoundPeer.
Declaration
public readonly BigInteger TotalDifficulty { get; }
Property Value
Type |
Description |
BigInteger |
|
Methods
|
Improve this Doc
View Source
ToString()
Declaration
public override readonly string ToString()
Returns