}
/// <summary>
- /// Return a new instance of WrappedList object for current code bytes
+ /// Return a new instance of ByteQueue object for current code bytes
/// </summary>
/// <returns></returns>
- public WrappedList<byte> GetWrappedList()
+ public ByteQueue GetWrappedList()
{
- return new WrappedList<byte>(codeBytes);
+ return new ByteQueue(codeBytes);
}
/// <summary>
{
get
{
- WrappedList<byte> wCodeBytes = new WrappedList<byte>(codeBytes);
+ ByteQueue wCodeBytes = new ByteQueue(codeBytes);
opcodetype opcode; // Current opcode
IEnumerable<byte> pushArgs; // OP_PUSHDATAn argument
{
get
{
- WrappedList<byte> wCodeBytes = new WrappedList<byte>(codeBytes);
+ ByteQueue wCodeBytes = new ByteQueue(codeBytes);
opcodetype opcode; // Current opcode
IEnumerable<byte> pushArgs; // OP_PUSHDATAn argument
/// <returns>Amount of sigops</returns>
public int GetSigOpCount(bool fAccurate)
{
- WrappedList<byte> wCodeBytes = new WrappedList<byte>(codeBytes);
+ ByteQueue wCodeBytes = new ByteQueue(codeBytes);
opcodetype opcode; // Current opcode
IEnumerable<byte> pushArgs; // OP_PUSHDATAn argument
// This is a pay-to-script-hash scriptPubKey;
// get the last item that the scriptSig
// pushes onto the stack:
- WrappedList<byte> wScriptSig = scriptSig.GetWrappedList();
+ ByteQueue wScriptSig = scriptSig.GetWrappedList();
opcodetype opcode; // Current opcode
IEnumerable<byte> pushArgs; // OP_PUSHDATAn argument
public override string ToString()
{
StringBuilder sb = new StringBuilder();
- WrappedList<byte> wCodeBytes = new WrappedList<byte>(codeBytes);
+ ByteQueue wCodeBytes = new ByteQueue(codeBytes);
opcodetype opcode; // Current opcode
IEnumerable<byte> pushArgs; // OP_PUSHDATAn argument