BitSharp.Core.Domain.UnspentTx.UnspentTx C# (CSharp) Method

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
        public UnspentTx(UInt256 txHash, int blockIndex, int txIndex, uint txVersion, bool isCoinbase, OutputStates outputStates)
        {
            TxHash = txHash;
            BlockIndex = blockIndex;
            TxIndex = txIndex;
            TxVersion = txVersion;
            IsCoinbase = isCoinbase;
            OutputStates = outputStates;
            IsFullySpent = OutputStates.All(x => x == OutputState.Spent);
        }

Same methods

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