C# Class BitSharp.Core.Storage.Memory.MemoryUnconfirmedTxesCursor

Inheritance: IUnconfirmedTxesCursor
Mostrar archivo Open project: pmlyon/BitSharp

Public Methods

Method Description
BeginTransaction ( bool readOnly ) : void
CommitTransaction ( ) : void
ContainsTransaction ( UInt256 txHash ) : bool
Dispose ( ) : void
GetTransactionsSpending ( BitSharp.Core.Domain.TxOutputKey prevTxOutputKey ) : UnconfirmedTx>.ImmutableDictionary
RollbackTransaction ( ) : void
TryAddTransaction ( UnconfirmedTx unconfirmedTx ) : bool
TryGetTransaction ( UInt256 txHash, UnconfirmedTx &unconfimedTx ) : bool
TryRemoveTransaction ( UInt256 txHash ) : bool

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
CheckTransaction ( ) : void
CheckWriteTransaction ( ) : void
MemoryUnconfirmedTxesCursor ( BitSharp.Core.Storage.Memory.MemoryUnconfirmedTxesStorage unconfirmedTxesStorage ) : BitSharp.Common

Method Details

BeginTransaction() public method

public BeginTransaction ( bool readOnly ) : void
readOnly bool
return void

CommitTransaction() public method

public CommitTransaction ( ) : void
return void

ContainsTransaction() public method

public ContainsTransaction ( UInt256 txHash ) : bool
txHash UInt256
return bool

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetTransactionsSpending() public method

public GetTransactionsSpending ( BitSharp.Core.Domain.TxOutputKey prevTxOutputKey ) : UnconfirmedTx>.ImmutableDictionary
prevTxOutputKey BitSharp.Core.Domain.TxOutputKey
return UnconfirmedTx>.ImmutableDictionary

RollbackTransaction() public method

public RollbackTransaction ( ) : void
return void

TryAddTransaction() public method

public TryAddTransaction ( UnconfirmedTx unconfirmedTx ) : bool
unconfirmedTx BitSharp.Core.Domain.UnconfirmedTx
return bool

TryGetTransaction() public method

public TryGetTransaction ( UInt256 txHash, UnconfirmedTx &unconfimedTx ) : bool
txHash UInt256
unconfimedTx BitSharp.Core.Domain.UnconfirmedTx
return bool

TryRemoveTransaction() public method

public TryRemoveTransaction ( UInt256 txHash ) : bool
txHash UInt256
return bool