C# Class BitSharp.Core.Domain.BlockHeader

Afficher le fichier Open project: pmlyon/BitSharp Class Usage Examples

Méthodes publiques

Méthode Description
BlockHeader ( UInt32 version, UInt256 previousBlock, UInt256 merkleRoot, DateTimeOffset time, UInt32 bits, UInt32 nonce, UInt256 hash ) : BitSharp.Common
CalculateTarget ( ) : UInt256
CalculateWork ( ) : UInt256
Create ( UInt32 version, UInt256 previousBlock, UInt256 merkleRoot, DateTimeOffset time, UInt32 bits, UInt32 nonce ) : BlockHeader
Equals ( object obj ) : bool
GetHashCode ( ) : int
With ( UInt32 Version = null, UInt256 PreviousBlock = null, UInt256 MerkleRoot = null, DateTimeOffset Time = null, UInt32 Bits = null, UInt32 Nonce = null ) : BlockHeader
operator ( ) : bool

Method Details

BlockHeader() public méthode

public BlockHeader ( UInt32 version, UInt256 previousBlock, UInt256 merkleRoot, DateTimeOffset time, UInt32 bits, UInt32 nonce, UInt256 hash ) : BitSharp.Common
version System.UInt32
previousBlock UInt256
merkleRoot UInt256
time DateTimeOffset
bits System.UInt32
nonce System.UInt32
hash UInt256
Résultat BitSharp.Common

CalculateTarget() public méthode

public CalculateTarget ( ) : UInt256
Résultat UInt256

CalculateWork() public méthode

public CalculateWork ( ) : UInt256
Résultat UInt256

Create() public static méthode

public static Create ( UInt32 version, UInt256 previousBlock, UInt256 merkleRoot, DateTimeOffset time, UInt32 bits, UInt32 nonce ) : BlockHeader
version System.UInt32
previousBlock UInt256
merkleRoot UInt256
time DateTimeOffset
bits System.UInt32
nonce System.UInt32
Résultat BlockHeader

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

With() public méthode

public With ( UInt32 Version = null, UInt256 PreviousBlock = null, UInt256 MerkleRoot = null, DateTimeOffset Time = null, UInt32 Bits = null, UInt32 Nonce = null ) : BlockHeader
Version System.UInt32
PreviousBlock UInt256
MerkleRoot UInt256
Time DateTimeOffset
Bits System.UInt32
Nonce System.UInt32
Résultat BlockHeader

operator() public static méthode

public static operator ( ) : bool
Résultat bool