Esempio n. 1
0
 public static Gen <TxOut> WitnessOutput() =>
 from m in MoneyGenerator.Money()
 from spk in ScriptGenerator.WitnessScriptPubKey()
 select new TxOut(m, spk);
Esempio n. 2
0
 public static Gen <TxIn> WitnessInput() =>
 from txin in LegacyTransactionGenerators.Input()
 from witscript in ScriptGenerator.RandomWitScript()
 select AttachWitScript(txin, witscript);