C# Класс BitSharp.Core.Domain.UnspentTx

Represents a transaction that has unspent outputs in the UTXO.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

Equals() публичный Метод

public Equals ( object obj ) : bool
obj object
Результат bool

SetOutputState() публичный Метод

public SetOutputState ( int index, OutputState value ) : UnspentTx
index int
value OutputState
Результат UnspentTx

ToSpentTx() публичный Метод

Create a spent transaction representation of this unspent transaction.
public ToSpentTx ( ) : SpentTx
Результат SpentTx

UnspentTx() публичный Метод

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
Результат BitSharp.Common

UnspentTx() публичный Метод

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
Результат BitSharp.Common