C# Class BCNet.BlockHeader

Afficher le fichier Open project: GarageGames/Bitcoin Class Usage Examples

Méthodes publiques

Свойство Type Description
mDifficultyBits uint
mHash byte[]
mMerkleRoot byte[]
mNOnce uint
mPrevBlock byte[]
mTimestamp uint
mVersion uint

Méthodes publiques

Méthode Description
BlockHeader ( ) : System
BlockHeader ( uint version, byte prevBlock, byte merkleRoot, uint timestamp, uint bits, uint nonce ) : System
ComputeHash ( bool useScrypt ) : void
Load ( BinaryReader br ) : void
Save ( BinaryWriter bw ) : void
ValidateHash ( ) : bool

Method Details

BlockHeader() public méthode

public BlockHeader ( ) : System
Résultat System

BlockHeader() public méthode

public BlockHeader ( uint version, byte prevBlock, byte merkleRoot, uint timestamp, uint bits, uint nonce ) : System
version uint
prevBlock byte
merkleRoot byte
timestamp uint
bits uint
nonce uint
Résultat System

ComputeHash() public méthode

public ComputeHash ( bool useScrypt ) : void
useScrypt bool
Résultat void

Load() public méthode

public Load ( BinaryReader br ) : void
br System.IO.BinaryReader
Résultat void

Save() public méthode

public Save ( BinaryWriter bw ) : void
bw System.IO.BinaryWriter
Résultat void

ValidateHash() public méthode

public ValidateHash ( ) : bool
Résultat bool

Property Details

mDifficultyBits public_oe property

public uint mDifficultyBits
Résultat uint

mHash public_oe property

public byte[] mHash
Résultat byte[]

mMerkleRoot public_oe property

public byte[] mMerkleRoot
Résultat byte[]

mNOnce public_oe property

public uint mNOnce
Résultat uint

mPrevBlock public_oe property

public byte[] mPrevBlock
Résultat byte[]

mTimestamp public_oe property

public uint mTimestamp
Résultat uint

mVersion public_oe property

public uint mVersion
Résultat uint