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

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

공개 메소드들

메소드 설명
ChainState ( BitSharp.Core.Domain.Chain chain, IStorageManager storageManager ) : BitSharp.Common
ContainsBlockSpentTxes ( int blockIndex ) : bool
ContainsBlockUnmintedTxes ( UInt256 blockHash ) : bool
ContainsHeader ( UInt256 blockHash ) : bool
ContainsUnspentTx ( UInt256 txHash ) : bool
ContainsUnspentTxOutput ( BitSharp.Core.Domain.TxOutputKey txOutputKey ) : bool
Dispose ( ) : void
ReadUnspentTransactions ( ) : IEnumerable
TryGetBlockSpentTxes ( int blockIndex, BlockSpentTxes &spentTxes ) : bool
TryGetBlockUnmintedTxes ( UInt256 blockHash, IImmutableList &unmintedTxes ) : bool
TryGetHeader ( UInt256 blockHash, ChainedHeader &header ) : bool
TryGetUnspentTx ( UInt256 txHash, UnspentTx &unspentTx ) : bool
TryGetUnspentTxOutput ( BitSharp.Core.Domain.TxOutputKey txOutputKey, TxOutput &txOutput ) : bool

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

메소드 상세

ChainState() 공개 메소드

public ChainState ( BitSharp.Core.Domain.Chain chain, IStorageManager storageManager ) : BitSharp.Common
chain BitSharp.Core.Domain.Chain
storageManager IStorageManager
리턴 BitSharp.Common

ContainsBlockSpentTxes() 공개 메소드

public ContainsBlockSpentTxes ( int blockIndex ) : bool
blockIndex int
리턴 bool

ContainsBlockUnmintedTxes() 공개 메소드

public ContainsBlockUnmintedTxes ( UInt256 blockHash ) : bool
blockHash UInt256
리턴 bool

ContainsHeader() 공개 메소드

public ContainsHeader ( UInt256 blockHash ) : bool
blockHash UInt256
리턴 bool

ContainsUnspentTx() 공개 메소드

public ContainsUnspentTx ( UInt256 txHash ) : bool
txHash UInt256
리턴 bool

ContainsUnspentTxOutput() 공개 메소드

public ContainsUnspentTxOutput ( BitSharp.Core.Domain.TxOutputKey txOutputKey ) : bool
txOutputKey BitSharp.Core.Domain.TxOutputKey
리턴 bool

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

ReadUnspentTransactions() 공개 메소드

public ReadUnspentTransactions ( ) : IEnumerable
리턴 IEnumerable

TryGetBlockSpentTxes() 공개 메소드

public TryGetBlockSpentTxes ( int blockIndex, BlockSpentTxes &spentTxes ) : bool
blockIndex int
spentTxes BlockSpentTxes
리턴 bool

TryGetBlockUnmintedTxes() 공개 메소드

public TryGetBlockUnmintedTxes ( UInt256 blockHash, IImmutableList &unmintedTxes ) : bool
blockHash UInt256
unmintedTxes IImmutableList
리턴 bool

TryGetHeader() 공개 메소드

public TryGetHeader ( UInt256 blockHash, ChainedHeader &header ) : bool
blockHash UInt256
header ChainedHeader
리턴 bool

TryGetUnspentTx() 공개 메소드

public TryGetUnspentTx ( UInt256 txHash, UnspentTx &unspentTx ) : bool
txHash UInt256
unspentTx UnspentTx
리턴 bool

TryGetUnspentTxOutput() 공개 메소드

public TryGetUnspentTxOutput ( BitSharp.Core.Domain.TxOutputKey txOutputKey, TxOutput &txOutput ) : bool
txOutputKey BitSharp.Core.Domain.TxOutputKey
txOutput TxOutput
리턴 bool