Block
The transactions history is permanently recorded in the network through items called blocks. A block is a record of some or all of the most recent transactions that have not yet been recorded in any prior blocks. Each block memorializes what took place immediately before it was created.
Block structure
Field | Type | sizeof | Description |
Magic number | unsigned int | 4 | Always 0xE5E9E8E4 |
Block size | unsigned int | 4 | Number of bytes following up to end of block |
Block header | struct | 80 | Consists of 6 items |
Transactions count | Variable integer | 1 - 9 | - |
Transactions set | transaction[] | Transactions size | List of transactions |
Header signature | unsigned char[] | <= 72 | Signature for Proof-of-Stake is placed here. |