Building Blocks
We must start somewhere. In this chapter, I go over the basic data structures and functions used in this blockchain.
The hashing algorithm used is blake3
.
Throughout this book, we will need to use P
-bit integers. I have found that P
should
be somewhere around 32
, so I'm going to stick with that for simplicity, and not refer to P
all the time. We'll just say u32
for an unsigned 32-bit integer, and call it a day.
It's worth noting that from a theoretical perspective, P
could change as time goes on.