8
Data Structures for Blockchain
8.1 Data Structures for Blockchain
This section will discuss the important data structures used by blockchain.
Hash pointers: A pointer in data structures is used to pint address of value stored in memory. The process of fetching the value stored at any memory location is called dereferencing the pointer (Refer Fig. 8.1). Additionally, a hash pointer is a type of pointer that points to address of hash value in order to make it tamper proof. Particularly, rather than just consisting of address of immediate previous block, it also has the hash of data in the previous block. Notably, hash pointers are used to construct a linked list called blockchain. In blockchain, hash pointer points to the hash of data stored ...