Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        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);
        }