Method | Description | |
---|---|---|
CalculateBlockHash ( |
||
CalculateBlockHash ( |
||
CalculateWork ( |
||
FromCompact ( uint compact ) : UInt256 | ||
FromCompact ( uint compact, bool &negative, bool &overflow ) : UInt256 | ||
ToCompact ( UInt256 value, bool negative = false ) : uint |
Method | Description | |
---|---|---|
HighBit ( UInt256 value ) : int |
public static CalculateBlockHash ( |
||
blockHeader | ||
return | UInt256 |
public static CalculateBlockHash ( |
||
Version | ||
PreviousBlock | UInt256 | |
MerkleRoot | UInt256 | |
Time | DateTimeOffset | |
Bits | ||
Nonce | ||
return | UInt256 |
public static CalculateWork ( |
||
blockHeader | ||
return | UInt256 |
public static FromCompact ( uint compact ) : UInt256 | ||
compact | uint | |
return | UInt256 |
public static FromCompact ( uint compact, bool &negative, bool &overflow ) : UInt256 | ||
compact | uint | |
negative | bool | |
overflow | bool | |
return | UInt256 |
public static ToCompact ( UInt256 value, bool negative = false ) : uint | ||
value | UInt256 | |
negative | bool | |
return | uint |