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