C# Class BitSharp.Core.Domain.UnspentTx

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

Méthodes publiques

Méthode 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 méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

SetOutputState() public méthode

public SetOutputState ( int index, OutputState value ) : UnspentTx
index int
value OutputState
Résultat UnspentTx

ToSpentTx() public méthode

Create a spent transaction representation of this unspent transaction.
public ToSpentTx ( ) : SpentTx
Résultat SpentTx

UnspentTx() public méthode

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
Résultat BitSharp.Common

UnspentTx() public méthode

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
Résultat BitSharp.Common