Inspired by #7DaysOfBitcoin, I'm embarking on a #30DaysOfBitcoin challenge to learn, document, build, and deep-dive into #Bitcoin over the summers.

Bookmark this thread for daily updates. 🧵
Day 2: Read about the wire message type for advertising versions, used for negotiating p2p connections.

Implemented MsgVersion with its decoder/encoder in #Python.

https://anirudha.co/30daysofbitcoin/msgversion.txt

#Bitcoin #30DaysOfBitcoin #100DaysOfCode
Day 4: Implemented a Merkle root validator in #typescript. 🌲

Included in block headers, the Merkle root is a cryptographic proof of which transactions are in the block, and which order they are in.

Code: https://anirudha.co/30daysofbitcoin/merkletrees.txt

#Bitcoin #30DaysOfBitcoin #100DaysOfCode
Day 8: Read the first two chapters of "The price of tomorrow" by @JeffBooth.

My world view is shifting rapidly. This is the Economics 101 we all deserved, but never had.

#30DaysOfBitcoin
Day 9: Generation and verification of Merkle proofs in #typescript. 🌲

This method was outlined by Satoshi under "Simplified Payment Verification" in the Bitcoin paper.

Code: https://anirudha.co/30daysofbitcoin/merkleproof.txt

#Bitcoin #30DaysOfBitcoin #100DaysOfCode
Day 10: Probably the most important update in this thread.

The mempool has cleared, and off goes my little donation to the "India Covid-Crypto Relief Fund".

https://twitter.com/balajis/status/1386321253682741253?s=20

#Bitcoin #30DaysOfBitcoin #CovidIndia
You can follow @onybose.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled: