Day 8: Proof-of-Work
Lecture Topics
- notes
- blocks
- proof-of-work (PoW)
- hash chains/block chains
Problems
- required: new block addition (and PoW):
- block validation (without hashing):
Blk.validate_and_update_utxos
- computing block hashes:
In.to_bytes
Out.to_bytes
Tx.to_bytes
Blk.to_bytes
Blk.get_hash
- block addition:
Blk.is_hash_valid
BlkChain.add_block
- block validation (without hashing):