Inspired by #7DaysOfBitcoin, I& #39;m embarking on a #30DaysOfBitcoin challenge to learn, document, build, and deep-dive into #Bitcoin
https://abs.twimg.com/hashflags... draggable="false" alt=""> over the summers.
Bookmark this thread for daily updates.
https://abs.twimg.com/emoji/v2/... draggable="false" alt="🧵" title="Thread" aria-label="Emoji: Thread">
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://abs.twimg.com/emoji/v2/... draggable="false" alt="🚄" title="Hochgeschwindigkeitszug" aria-label="Emoji: Hochgeschwindigkeitszug">
https://github.com/btcsuite/btcd/pull/1684
https://github.com/btcsuite/... href="https://twtext.com//hashtag/Bitcoin"> #Bitcoin
https://abs.twimg.com/hashflags... draggable="false" alt=""> #30DaysOfBitcoin
Early results on testnet3 show a speedup of 20% in full sync!
https://github.com/btcsuite/btcd/pull/1684
https://github.com/btcsuite/... href="https://twtext.com//hashtag/Bitcoin"> #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
https://anirudha.co/30daysofb... href="https://twtext.com//hashtag/Bitcoin"> #Bitcoin
https://abs.twimg.com/hashflags... draggable="false" alt=""> #30DaysOfBitcoin #100DaysOfCode
Implemented MsgVersion with its decoder/encoder in #Python.
https://anirudha.co/30daysofbitcoin/msgversion.txt
https://anirudha.co/30daysofb... href="https://twtext.com//hashtag/Bitcoin"> #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
https://github.com/btcsuite/... href="https://twtext.com//hashtag/Bitcoin"> #Bitcoin
https://abs.twimg.com/hashflags... draggable="false" alt=""> #30DaysOfBitcoin
https://github.com/btcsuite/btcd/issues/1706
https://github.com/btcsuite/... href="https://twtext.com//hashtag/Bitcoin"> #Bitcoin
Day 4: Implemented a Merkle root validator in #typescript.
https://abs.twimg.com/emoji/v2/... draggable="false" alt="🌲" title="Immergrüner Baum" aria-label="Emoji: Immergrüner Baum">
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
https://anirudha.co/30daysofb... href="https://twtext.com//hashtag/Bitcoin"> #Bitcoin
https://abs.twimg.com/hashflags... draggable="false" alt=""> #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
https://anirudha.co/30daysofb... href="https://twtext.com//hashtag/Bitcoin"> #Bitcoin
Day 5: Slow reading of BIP 0340 - Schnorr signatures for secp256k1.
https://abs.twimg.com/emoji/v2/... draggable="false" alt="➰" title="Geringelte Schleife" aria-label="Emoji: Geringelte Schleife">
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
https://github.com/bitcoin/b... href="https://twtext.com//hashtag/Bitcoin"> #Bitcoin
https://abs.twimg.com/hashflags... draggable="false" alt=""> #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
https://github.com/bitcoin/b... href="https://twtext.com//hashtag/Bitcoin"> #Bitcoin
Day 6-7: Attending the Texas A&M Bitcoin Conference.
https://mays.tamu.edu/bitcoin
https://mays.tamu.edu/bitcoin&q... href="https://twtext.com//hashtag/Bitcoin"> #Bitcoin
https://abs.twimg.com/hashflags... draggable="false" alt=""> #30DaysOfBitcoin
https://mays.tamu.edu/bitcoin
https://mays.tamu.edu/bitcoin&q... href="https://twtext.com//hashtag/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.
https://abs.twimg.com/emoji/v2/... draggable="false" alt="🌲" title="Immergrüner Baum" aria-label="Emoji: Immergrüner Baum">
This method was outlined by Satoshi under "Simplified Payment Verification" in the Bitcoin paper.
Code: https://anirudha.co/30daysofbitcoin/merkleproof.txt
https://anirudha.co/30daysofb... href="https://twtext.com//hashtag/Bitcoin"> #Bitcoin
https://abs.twimg.com/hashflags... draggable="false" alt=""> #30DaysOfBitcoin #100DaysOfCode
This method was outlined by Satoshi under "Simplified Payment Verification" in the Bitcoin paper.
Code: https://anirudha.co/30daysofbitcoin/merkleproof.txt
https://anirudha.co/30daysofb... href="https://twtext.com//hashtag/Bitcoin"> #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
https://twitter.com/balajis/s... href="https://twtext.com//hashtag/Bitcoin"> #Bitcoin
https://abs.twimg.com/hashflags... draggable="false" alt=""> #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
https://twitter.com/balajis/s... href="https://twtext.com//hashtag/Bitcoin"> #Bitcoin