コード例 #1
0
 public UnspentTx(UInt256 txHash, int blockIndex, int txIndex, int length, OutputState state)
 {
     this.txHash       = txHash;
     this.blockIndex   = blockIndex;
     this.txIndex      = txIndex;
     this.outputStates = new OutputStates(length, state);
 }
コード例 #2
0
 public UnspentTx(UInt256 txHash, int blockIndex, int txIndex, OutputStates outputStates)
 {
     this.txHash       = txHash;
     this.blockIndex   = blockIndex;
     this.txIndex      = txIndex;
     this.outputStates = outputStates;
 }
コード例 #3
0
ファイル: UnspentTx.cs プロジェクト: yonglehou/BitSharp
 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);
 }
コード例 #4
0
 public UnspentTx(UInt256 confirmedBlockHash, int length, OutputState state)
 {
     this.confirmedBlockHash = confirmedBlockHash;
     this.outputStates       = new OutputStates(length, state);
 }
コード例 #5
0
 public UnspentTx(UInt256 confirmedBlockHash, OutputStates outputStates)
 {
     this.confirmedBlockHash = confirmedBlockHash;
     this.outputStates       = outputStates;
 }