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.

Bookmark this thread for daily updates.

Day 1: Finished reviewing a btcd pull request on zero-alloc optimization of txscript.
Early results on testnet3 show a speedup of 20% in full sync!
https://github.com/btcsuite/btcd/pull/1684
#Bitcoin
#30DaysOfBitcoin
Early results on testnet3 show a speedup of 20% in full sync!

https://github.com/btcsuite/btcd/pull/1684
#Bitcoin

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
Implemented MsgVersion with its decoder/encoder in #Python.
https://anirudha.co/30daysofbitcoin/msgversion.txt
#Bitcoin

Day 3: Drafted release notes for the upcoming btcd v0.22.0 release, and triaged some issues.
https://github.com/btcsuite/btcd/issues/1706
#Bitcoin
#30DaysOfBitcoin
https://github.com/btcsuite/btcd/issues/1706
#Bitcoin

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

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

Day 5: Slow reading of BIP 0340 - Schnorr signatures for secp256k1. 
This looks like a vast improvement over ECDSA. I wonder what happens to OP_CHECKSIG in future.
https://github.com/bitcoin/bips/blob/master/bip-0340.mediawiki
#Bitcoin
#30DaysOfBitcoin

This looks like a vast improvement over ECDSA. I wonder what happens to OP_CHECKSIG in future.
https://github.com/bitcoin/bips/blob/master/bip-0340.mediawiki
#Bitcoin

Day 6-7: Attending the Texas A&M Bitcoin Conference.
https://mays.tamu.edu/bitcoin
#Bitcoin
#30DaysOfBitcoin
https://mays.tamu.edu/bitcoin
#Bitcoin

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
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

This method was outlined by Satoshi under "Simplified Payment Verification" in the Bitcoin paper.
Code: https://anirudha.co/30daysofbitcoin/merkleproof.txt
#Bitcoin

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
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
