1. The
Bitcoin protocol uses the SHA-256 function for this purpose
2. So how is the lucky
node decided on? It is the node that solves the block by finding a special input to the SHA256
hash function.
3. The Bitcoin address described at length earlier in this book is actually a hash of the public key, using the SHA256 and RIPEMD160 hash functions.