public static Types.Transaction AddInput(this Types.Transaction tx, byte[] txHash, int index)
 {
     return(tx.AddInput(new Types.Outpoint(txHash, (uint)index)));
 }
 public static Types.Transaction AddInput(this Types.Transaction tx, Types.Transaction txRef, int index)
 {
     return(tx.AddInput(new Types.Outpoint(Merkle.transactionHasher.Invoke(txRef), (uint)index)));
 }