Struct BlockDemand
Struct represents Swarm<T>'s block demand status.
Assembly: Libplanet.dll
Syntax
public readonly struct BlockDemand : IBlockExcerpt
Constructors
|
Improve this Doc
View Source
BlockDemand(BlockHeader, BoundPeer, DateTimeOffset)
Declaration
public BlockDemand(BlockHeader header, BoundPeer peer, DateTimeOffset timestamp)
Parameters
Fields
|
Improve this Doc
View Source
Header
Declaration
public readonly BlockHeader Header
Field Value
|
Improve this Doc
View Source
Peer
Declaration
public readonly BoundPeer Peer
Field Value
|
Improve this Doc
View Source
Timestamp
The DateTimeOffset when
the corresponding block information was received.
Declaration
public readonly DateTimeOffset Timestamp
Field Value
Properties
|
Improve this Doc
View Source
Hash
Declaration
public readonly BlockHash Hash { get; }
Property Value
|
Improve this Doc
View Source
Index
Declaration
public readonly long Index { get; }
Property Value
|
Improve this Doc
View Source
ProtocolVersion
Declaration
public readonly int ProtocolVersion { get; }
Property Value
|
Improve this Doc
View Source
TotalDifficulty
Declaration
public readonly BigInteger TotalDifficulty { get; }
Property Value
Implements
Extension Methods