KzBTransaction BuildSpendingTransaction(KzScript scriptSig, KzBTransaction txCredit) { var tx = new KzBTransaction { LockTime = 0, Version = 1, }; tx.AddIn(new KzOutPoint(), Kz.Script().Push(0).Push(0)); //tx.AddOut(scriptPubKey, nValue); return(tx); }
protected override void Dispose(bool disposing) { if (disposing) { if (Gz != null) { Gz.Dispose(); Gz = null; } if (Kz != null) { Kz.Dispose(); Kz = null; } } base.Dispose(disposing); }