Init some fields, add ToString() for Hash160 and Hash256, start implementation of...
[NovacoinLibrary.git] / Novacoin / CBlock.cs
1 \feffusing System;
2
3 namespace Novacoin
4 {
5         /// <summary>
6         /// Represents the block. Block consists of header, transaction array and header signature.
7         /// </summary>
8         public class CBlock
9         {
10                 /// <summary>
11                 /// Block header.
12                 /// </summary>
13                 public CBlockHeader header;
14
15                 /// <summary>
16                 /// Transactions array.
17                 /// </summary>
18                 public CTransaction[] tx;
19
20                 /// <summary>
21                 /// Block header signature.
22                 /// </summary>
23                 public byte[] signature = {};
24
25                 public CBlock ()
26                 {
27                 }
28         }
29 }
30