using System;
using System.Text;
namespace Novacoin
{
///
/// Transaction output.
///
public class CTxOut
{
///
/// Input value.
///
public ulong nValue = 0;
///
/// Second half of script which contains spending instructions.
///
public byte[] scriptPubKey;
public CTxOut ()
{
}
public override string ToString ()
{
StringBuilder sb = new StringBuilder ();
sb.AppendFormat ("CTxOut(nValue={0},scriptPubKey={1}", nValue, scriptPubKey.ToString());
return sb.ToString ();
}
}
}