Пример #1
0
 public TaprootReadyPrecomputedTransactionData(Transaction tx, TxOut[] spentOutputs) : base(tx)
 {
     SpentOutputs       = spentOutputs;
     HashOutputsSingle  = tx.GetHashOutputs(HashVersion.Taproot);
     HashSequenceSingle = tx.GetHashSequence(HashVersion.Taproot);
     HashPrevoutsSingle = tx.GetHashPrevouts(HashVersion.Taproot);
     HashAmountsSingle  = tx.GetHashAmounts(HashVersion.Taproot, spentOutputs);
     HashScriptsSingle  = tx.GetHashScripts(HashVersion.Taproot, spentOutputs);
 }