Пример #1
0
        /// Lock an output data.
        /// TODO - we should track identifier on these outputs (not just n_child)
        public void Lock_output(OutputData outd)
        {
            var outToLock = Outputs[outd.KeyId];

            if (outToLock?.Value == outd.Value)
            {
                outToLock.Lock();
            }
        }
Пример #2
0
 /// Append a new output data to the wallet data.
 /// TODO - we should check for overwriting here - only really valid for
 /// unconfirmed coinbase
 public void Add_output(OutputData outd)
 {
     Outputs.Add(outd.KeyId, outd.Clone());
 }