using System;
using System.Text;
namespace Novacoin
{
///
/// Transaction input.
///
public class CTxIn
{
///
/// Hash of parent transaction.
///
public Hash256 txID = new Hash256();
///
/// Parent input number.
///
public uint nInput = 0;
///
/// First half of script, signatures for the scriptPubKey
///
public byte[] scriptSig;
///
/// Transaction variant number, irrelevant if nLockTime isn't specified. Its value is 0xffffffff by default.
///
public uint nSequence = 0xffffffff;
public CTxIn ()
{
}
public override string ToString ()
{
StringBuilder sb = new StringBuilder ();
sb.AppendFormat ("CTxIn(txId={0},n={1},scriptSig={2}", nInput, nInput, scriptSig.ToString());
return sb.ToString ();
}
}
}