C# 클래스 BCNet.BlockHeader

파일 보기 프로젝트 열기: GarageGames/Bitcoin 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
mDifficultyBits uint
mHash byte[]
mMerkleRoot byte[]
mNOnce uint
mPrevBlock byte[]
mTimestamp uint
mVersion uint

공개 메소드들

메소드 설명
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

메소드 상세

BlockHeader() 공개 메소드

public BlockHeader ( ) : System
리턴 System

BlockHeader() 공개 메소드

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
리턴 System

ComputeHash() 공개 메소드

public ComputeHash ( bool useScrypt ) : void
useScrypt bool
리턴 void

Load() 공개 메소드

public Load ( BinaryReader br ) : void
br System.IO.BinaryReader
리턴 void

Save() 공개 메소드

public Save ( BinaryWriter bw ) : void
bw System.IO.BinaryWriter
리턴 void

ValidateHash() 공개 메소드

public ValidateHash ( ) : bool
리턴 bool

프로퍼티 상세

mDifficultyBits 공개적으로 프로퍼티

public uint mDifficultyBits
리턴 uint

mHash 공개적으로 프로퍼티

public byte[] mHash
리턴 byte[]

mMerkleRoot 공개적으로 프로퍼티

public byte[] mMerkleRoot
리턴 byte[]

mNOnce 공개적으로 프로퍼티

public uint mNOnce
리턴 uint

mPrevBlock 공개적으로 프로퍼티

public byte[] mPrevBlock
리턴 byte[]

mTimestamp 공개적으로 프로퍼티

public uint mTimestamp
리턴 uint

mVersion 공개적으로 프로퍼티

public uint mVersion
리턴 uint