C# Class BitSharp.Core.Domain.UnspentTx

Represents a transaction that has unspent outputs in the UTXO.
Mostrar archivo Open project: pmlyon/BitSharp Class Usage Examples

Public Methods

Method Description
Equals ( object obj ) : bool
SetOutputState ( int index, OutputState value ) : UnspentTx
ToSpentTx ( ) : SpentTx

Create a spent transaction representation of this unspent transaction.

UnspentTx ( UInt256 txHash, int blockIndex, int txIndex, uint txVersion, bool isCoinbase, OutputStates outputStates ) : BitSharp.Common
UnspentTx ( UInt256 txHash, int blockIndex, int txIndex, uint txVersion, bool isCoinbase, int length, OutputState state ) : BitSharp.Common

Method Details

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

SetOutputState() public method

public SetOutputState ( int index, OutputState value ) : UnspentTx
index int
value OutputState
return UnspentTx

ToSpentTx() public method

Create a spent transaction representation of this unspent transaction.
public ToSpentTx ( ) : SpentTx
return SpentTx

UnspentTx() public method

public UnspentTx ( UInt256 txHash, int blockIndex, int txIndex, uint txVersion, bool isCoinbase, OutputStates outputStates ) : BitSharp.Common
txHash UInt256
blockIndex int
txIndex int
txVersion uint
isCoinbase bool
outputStates OutputStates
return BitSharp.Common

UnspentTx() public method

public UnspentTx ( UInt256 txHash, int blockIndex, int txIndex, uint txVersion, bool isCoinbase, int length, OutputState state ) : BitSharp.Common
txHash UInt256
blockIndex int
txIndex int
txVersion uint
isCoinbase bool
length int
state OutputState
return BitSharp.Common