sharp-cryptonote-tool/BlockTemplate.cs

29 lines
704 B
C#

using System;
namespace cryptonote
{
public class BlockTemplate
{
public BlockTemplate(byte[] blob, Int64 difficulty, Int64 height, string prev_hash, Int64 reserved_offset, Int64 reserve_size)
{
this.Blob = blob;
this.Height = height;
this.Difficulty = difficulty;
this.PreviousHash = prev_hash;
this.ReservedOffset = reserved_offset;
this.ReserveSize = reserve_size;
}
public byte[] Blob { get; private set; }
public Int64 Difficulty { get; private set; }
public Int64 Height { get; private set; }
public Int64 ReservedOffset { get; private set; }
public Int64 ReserveSize { get; private set; }
public string PreviousHash { get; private set; }
}
}