C# 클래스 BitSharp.Core.Domain.BlockHeader

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

공개 메소드들

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

메소드 상세

BlockHeader() 공개 메소드

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
리턴 BitSharp.Common

CalculateTarget() 공개 메소드

public CalculateTarget ( ) : UInt256
리턴 UInt256

CalculateWork() 공개 메소드

public CalculateWork ( ) : UInt256
리턴 UInt256

Create() 공개 정적인 메소드

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

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

With() 공개 메소드

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

operator() 공개 정적인 메소드

public static operator ( ) : bool
리턴 bool