Beispiel #1
0
 /// <summary>
 /// Creates a new instance of the class with the specified parameters.
 /// </summary>
 /// <param name="version">An int indicating the version of the transaction.</param>
 /// <param name="lockTime">A LockTime containing the transaction locktime.</param>
 /// <param name="inputs">An InputList containing a list of inputs.</param>
 /// <param name="outputs">An OutputList containing a list of outputs.</param>
 public Transaction(int version, LockTime lockTime, InputList inputs, OutputList outputs)
 {
     Version  = version;
     LockTime = lockTime;
     Inputs   = inputs;
     Outputs  = outputs;
 }
Beispiel #2
0
 /// <summary>
 /// Creates a new instance of the class with the specified parameters.
 /// </summary>
 /// <param name="version">An int indicating the version of the transaction.</param>
 /// <param name="lockTime">A LockTime containing the transaction locktime.</param>
 public Transaction(int version, LockTime lockTime)
     : this(version, lockTime, new InputList(), new OutputList())
 {
 }