Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mastering Bitcoin: Chapters 7 & 8 #34

Merged
merged 1 commit into from
Apr 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 78 additions & 0 deletions content/events/2024-01-17-bitcoin-socratic-seminar-24.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
---
date: '2024-01-17'
title: 'Bitcoin Socratic Seminar #24'
type: Doc
---

![Bitcoin Socratic Seminar #24](/bitcoin-socratic-seminar-24.jpg)

It’s almost time for <a href="https://www.meetup.com/atlantabitdevs/events/298228374/">Bitcoin Socratic Seminar #24</a>!

## What is a Socratic Seminar?

Inspired by other BitDevs meetups around the US, our Socratic Seminar events are formatted to foster debate, information sharing and lively discussion.

1. Discussion topics are provided ahead of the event
2. The event moderator(s) leads the audience through the topics
3. Raise your hand to grab the mic and participate in the conversation
4. We go to a bar afterwards

## Logistics for Tonight

Tonight we'll be meeting at ATL BitLab. If this is your first time attending a meetup at BitLab, follow these <a href="https://atlantabitdevs.org/parking-instructions-for-atl-bitlab/" target="_blank">parking instructions</a> and join our <a href="https://atlantabitdevs.org/telegram/" target="_blank">telegram channel</a> in case you need to ask for help finding us the night of the event.

## Topics

### 🧡 Bitcoin

[Opinion: Why Inscriptions are an exploit](https://njump.me/naddr1qqxnzdesxyurwd3jxuengv3nqgsr9cvzwc652r4m83d86ykplrnm9dg5gwdvzzn8ameanlvut35wy3grqsqqqa280afpv2)

[payjoin-0.12.0 Released](https://github.com/payjoin/rust-payjoin/releases/tag/payjoin-0.12.0)

#### Bitcoin Design: Multi-wallet Management Page

[Bitcoin Design Guide: Multiple Wallets](https://bitcoin.design/guide/multiple-wallets/)

[PR #1040: New multi-wallet management page](https://github.com/BitcoinDesign/Guide/pull/1040)

### ⚡️ Lightning

[Introducing FiatLink: A Lightning ↔ Fiat Standard](https://medium.com/breez-technology/introducing-fiatlink-a-lightning-fiat-standard-68ab380febb2)

[\[Lightning-dev\] Liquidity Ads: Updated Spec Posted, please review](https://lists.linuxfoundation.org/pipermail/lightning-dev/2023-November/004217.html)

<a href="https://twitter.com/Strike/status/1731783448975568926" target="_blank">Strike adds support for sending to Lightning address</a> (Previously receive only)

[Peerswaps: A Lightning channel rebalancing mechanism](https://strike.me/blog/peerswaps/)

[Lightning Mailing List moves](https://tldr.bitcoinsearch.xyz/summary/lightning-dev/Nov_2023/004223_Mailing-List-Future?replies=13)

[LN-Symmetry Project Recap](https://delvingbitcoin.org/t/ln-symmetry-project-recap/359)

### 🟣 Nostr

[Nostream v 2.0.0 release: NIP-26 support removed](https://njump.me/nevent1qqsft5rh982grz60cmj2lx949dveadydze9qe9eg6a2alk2x4x84alspzamhxue69uhhyetvv9ujuurvv438xarj9e3k7mgpzemhxue69uhhyetvv9ujuurjd9kkzmpwdejhgq3qqqqqqqyz0la2jjl752yv8h7wgs3v098mh9nztd4nr6gynaef6uqqhc6n6r)

[Mutiny Wallet: Nostr contact search](https://nostr.com/note1j7ya7h3tcxqpglqprz7quq0kjzzhmhltxkyvl7xwzdfnfvgvg2dseexw4e)

### 📊 Business

[BitcoinConnect wins Legends of Lightning hackathon](https://bitcoin-connect.com/)

[Local Abbot project wins Community & Education prize at Legends of Lightning](https://abbot.atlbitlab.com/)

[CoinGate reports increased lightning network usage from their customers in 2023](https://coingate.com/blog/post/crypto-payments-report-2023)

[VanEck promises to donate 5% of Bitcoin ETF profits to Bitcoin Core Devs via Brink](https://nitter.net/vaneck_us/status/1743300722928619779)

[Bitwise will donate 10% of Bitcoin ETF profits to Brink, HRF, and OpenSats](https://nitter.net/BitwiseInvest/status/1745205436708421691)

### 🕵️‍♂️ Privacy & InfoSec

<a href="https://twitter.com/bantg/status/1735279127752540465" target="_blank">Ledger library files compromised with a drainer</a>

[Tether's Letter To Lawmakers Reveals It 'Recently Onboarded' Secret Service On Its Platform](https://www.ibtimes.com/tethers-letter-lawmakers-reveals-it-recently-onboarded-secret-service-its-platform-3720845)

[Governments spying on Apple, Google users through push notifications - US senator](https://www.reuters.com/technology/cybersecurity/governments-spying-apple-google-users-through-push-notifications-us-senator-2023-12-06/?ref=nobsbitcoin.com)

[LNbank Vulnerability Recap](https://d11n.net/lnbank-vulnerability-recap)
53 changes: 53 additions & 0 deletions content/events/2024-01-31-mastering-bitcoin-chapters-1-2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
date: '2024-01-31'
title: 'Mastering Bitcoin: Chapters 1 & 2'
type: Doc
---

![Mastering Bitcoin](/mastering-bitcoin-1-2.jpg)

Join our vibrant reading discussion group as we dive into <a href="https://www.amazon.com/Mastering-Bitcoin-Programming-Open-Blockchain/dp/1098150090?crid=3FFD1FN2H7TZF&keywords=mastering+bitcoin+3rd+edition&qid=1703963363&sprefix=mastering+bitcoin,aps,153&sr=8-1&ufe=app_do:amzn1.fos.006c50ae-5d4c-4777-9bc0-4513d670b6bc" target="_blank">Mastering Bitcoin</a>, the ultimate technical guide to understanding Bitcoin. Perfect for those eager to deeply grasp the intricacies of Bitcoin, this group combines a fun and supportive environment for learning complex technical concepts.

Each week, we'll explore a different pair of chapters, enriching your self-reading experience. We'll provide thought-provoking questions ahead of each session to guide your reading and fuel engaging discussions. Our meetups are not just about discussing the book; they're about building a community of Bitcoin enthusiasts and builders.

Discover, discuss, and delve into the world of Bitcoin with us. Your journey towards mastering Bitcoin starts here!

<a href="https://www.meetup.com/atlantabitdevs/events/298230369/" target="_blank">RSVP for Meetup Here</a>

## How It Works

We recommend that you read up on the <a href="/page/mastering-bitcoin" target="_blank">event format</a> before you attend.

## This Session

In this session, <a href="https://twitter.com/StephenDeLorme" target="_blank">Stephen DeLorme</a> will lead us through a discussion of:

- Chapter 1: Introduction
- Chapter 2: How Bitcoin Works

### Study Questions

These questions are provided to help guide your thinking as read the material. We'll try to answer these together when we meet to discuss the chapter.

#### Chapter 1

1. Does Bitcoin have individual coins?
2. What is Bitcoin's monetary policy?
3. What are 4 innovations that were combined to make Bitcoin?
4. What are some different ways to categorize Bitcoin wallets?
5. Who are the "peers" in Bitcoin's Peer-to-Peer network?
6. How do you find the price of bitcoin?

#### Chapter 2

1. What tool could you use to visualize a Bitcoin transaction?
2. What kind of data might be included in a Bitcoin "invoice"?
3. What is a name for the smallest onchain unit of bitcoin?
4. Generally speaking, how do transaction inputs and outputs work?
5. How do is a transaction's fee indicated?
6. What is _coin selection_?
7. What are some common forms of transactions?
8. What is a UTXO?
9. What is it called when a Bitcoin node shares a new transaction with other Bitcoin nodes?
10. What's a good analogy to describe mining?
11. A new transaction is not confirmed until it has been included in a valid \_ \_ \_ \_ _ by a _ \_ \_ \_ \_.
49 changes: 49 additions & 0 deletions content/events/2024-02-15-mastering-bitcoin-chapters-3-4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
date: '2024-02-15'
title: 'Mastering Bitcoin: Chapters 3 & 4'
type: Doc
---

![Mastering Bitcoin](/mastering-bitcoin-3-4.jpg)

Join our vibrant reading discussion group as we dive into <a href="https://www.amazon.com/Mastering-Bitcoin-Programming-Open-Blockchain/dp/1098150090?crid=3FFD1FN2H7TZF&keywords=mastering+bitcoin+3rd+edition&qid=1703963363&sprefix=mastering+bitcoin,aps,153&sr=8-1&ufe=app_do:amzn1.fos.006c50ae-5d4c-4777-9bc0-4513d670b6bc" target="_blank">Mastering Bitcoin</a>, the ultimate technical guide to understanding Bitcoin. Perfect for those eager to deeply grasp the intricacies of Bitcoin, this group combines a fun and supportive environment for learning complex technical concepts.

Each week, we'll explore a different pair of chapters, enriching your self-reading experience. We'll provide thought-provoking questions ahead of each session to guide your reading and fuel engaging discussions. Our meetups are not just about discussing the book; they're about building a community of Bitcoin enthusiasts and builders.

Discover, discuss, and delve into the world of Bitcoin with us. Your journey towards mastering Bitcoin starts here!

<a href="https://www.meetup.com/atlantabitdevs/events/298230384/" target="_blank">RSVP for Meetup Here</a>

## How It Works

We recommend that you read up on the <a href="/page/mastering-bitcoin" target="_blank">event format</a> before you attend.

## This Session

In this session, <a href="#" target="_blank">somebody</a> will lead us through a discussion of:

- Chapter 3: Bitcoin Core: The Reference Implementation
- Chapter 4: Keys & Addresses

### Study Questions

These questions are provided to help guide your thinking as read the material. We'll try to answer these together when we meet to discuss the chapter.

#### Chapter 3

- Which command enables you to enable or disable bitcoin features when building bitcoin core?
- Where is the default location of bitcoind?
- How much data is initially required for bitcoin blockchain data for a full node?
- How much data is required for transactions over 30 days for a full node?
- What does block height mean?

#### Chapter 4

- What are bitcoin addresses in terms of public/private key encryption?
- What evidence is typically required to be authorized to spend in a bitcoin transaction?
- Why is it hard to determine one's private key from a public key in elliptic curve cryptography?
- What is the purpose of base58check encoding?
- What are the steps involved in base58check encoding?
- What tradeoffs does Bech32 have compared to base58check encoding?
- What is the difference between Bech32 and Bech32m?
- What is compressed in a "compressed private key"?
74 changes: 74 additions & 0 deletions content/events/2024-02-21-bitcoin-socratic-seminar-25.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
---
date: '2024-02-21'
title: 'Bitcoin Socratic Seminar #25'
type: Doc
---

![Bitcoin Socratic Seminar #25](/bitcoin-socratic-seminar-25.jpg)

It’s almost time for <a href="https://www.meetup.com/atlantabitdevs/events/298228392/">Bitcoin Socratic Seminar #25</a>!

## What is a Socratic Seminar?

Inspired by other BitDevs meetups around the US, our Socratic Seminar events are formatted to foster debate, information sharing and lively discussion.

1. Discussion topics are provided ahead of the event
2. The event moderator(s) leads the audience through the topics
3. Raise your hand to grab the mic and participate in the conversation
4. We go to a bar afterwards

## Logistics for Tonight

Tonight we'll be meeting at ATL BitLab. If this is your first time attending a meetup at BitLab, follow these <a href="https://atlantabitdevs.org/parking-instructions-for-atl-bitlab/" target="_blank">parking instructions</a> and join our <a href="https://atlantabitdevs.org/telegram/" target="_blank">telegram channel</a> in case you need to ask for help finding us the night of the event.

## Topics

### 🤙 Opening Demo

We're going to hear from <a href="https://twitter.com/chdwlch">Chad Welch</a> to learn about his livestreaming platform <a href="https://sats.gg">Sats.gg</a>, built with Nostr and Lightning.

### 🧡 Bitcoin

<a href="https://twitter.com/TheBlueMatt/status/1756463212990472335">BIP for human readable payment instructions</a>

[New "BINANA" documentation repo for Bitcoin Inquisition](https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2024-January/022289.html)

[Aqua wallet announced](https://aquawallet.io/)

[PR 28948 merged - v3 transaction policy for anti-pinning](https://github.com/bitcoin/bitcoin/pull/28948)

### ⚡️ Lightning

[LNBits adds a login system](https://github.com/lnbits/lnbits/releases/tag/0.12.0)

<a href="https://twitter.com/niftynei/status/1757465056508285036">Lightning v2 channel opens spec merged</a>

[Block-stalling issue in Bitcoin Core prior to v22.0 affects LN nodes](https://delvingbitcoin.org/t/block-stalling-issue-in-core-prior-to-v22-0/499)

<a href="https://github.com/lightning/blips/pull/32">BLIP-0032 - DNSSEC proof querying over onion messages</a>

### 🟣 Nostr

[DLC Experiments: Superposition and Note Duel](https://blog.mutinywallet.com/note-duel-superposition/)

<a href="https://njump.me/nevent1qqs2kplrvu3sdvlhht7ak29p78f5ntjqdtv5ykysu27hp7kqlyehy4gppamhxue69uhk2tnwdaejumr0dsqs6amnwvaz7tmwdaejumr0dsq36amnwvaz7tmwdaehgu3dwp6kytnhv4kxcmmjv3jhytnwv46qzrmhwden5te0dehhxarj9ekk7mgzyrwlqwk2skk7qw0xwsk4hmea7dfd7xvap5c7y2uctrn7m2zukwamuunhv9f">Cashu Address</a>

### 📊 Business

<a href="https://twitter.com/bitwiseinvest/status/1757813223536103568">Bitwise moves their ETF holdings to native segwit addresses</a>

[Apple disables PWAs (Progressive Web Apps) in the European Union](https://developer.apple.com/support/dma-and-apps-in-the-eu#dev-qaa)

<a href="https://njump.me/nevent1qqs9g20n5r3cyn82du4eqvemdpy96vnm2uncn2wcfan7x7uxp5p9q8spp4mhxue69uhkummn9ekx7mqpzfmhxue69uhk7enxvd5xz6tw9ec82cspz3mhxue69uhhyetvv9ujumn0wd68ytnzvuq3vamnwvaz7tmjv4kxz7fwwpexjmtpdshxuet5qgsd79ejwuvz7v246danxqs3hgw7f2q4qrqz6x27je8er0nhfmykwzqyeeypl">Mutiny Wallet affected by Apple's decision</a>

<a href="https://cointelegraph.com/news/argentina-inflation-unofficial-exchange-crypto-caves">In inflation-torn Argentina, locals use ‘crypto caves’ — and avoid Bitcoin</a>

### 🕵️‍♂️ Privacy & InfoSec

<a href="https://www.youtube.com/watch?v=HAX8GFn5uCI">Nutband - a post fiat apocalypse Cashu client working over Reticulum</a>

[Keep your phone number private with Signal usernames](https://signal.org/blog/phone-number-privacy-usernames/?ref=nobsbitcoin.com)

[Inside the Underground Site Where ‘Neural Networks’ Churn Out Fake IDs](https://www.404media.co/inside-the-underground-site-where-ai-neural-networks-churns-out-fake-ids-onlyfake/)

[Nightshade AI poisoning](https://venturebeat.com/ai/nightshade-the-free-tool-that-poisons-ai-models-is-now-available-for-artists-to-use/)
92 changes: 92 additions & 0 deletions content/events/2024-03-06-mastering-bitcoin-chapters-5-6.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
---
date: '2024-03-06'
title: 'Mastering Bitcoin: Chapters 5 & 6'
type: Doc
---

![Mastering Bitcoin](/mastering-bitcoin-5-6.jpg)

Join our vibrant reading discussion group as we dive into <a href="https://www.amazon.com/Mastering-Bitcoin-Programming-Open-Blockchain/dp/1098150090?crid=3FFD1FN2H7TZF&keywords=mastering+bitcoin+3rd+edition&qid=1703963363&sprefix=mastering+bitcoin,aps,153&sr=8-1&ufe=app_do:amzn1.fos.006c50ae-5d4c-4777-9bc0-4513d670b6bc" target="_blank">Mastering Bitcoin</a>, the ultimate technical guide to understanding Bitcoin. Perfect for those eager to deeply grasp the intricacies of Bitcoin, this group combines a fun and supportive environment for learning complex technical concepts.

Each week, we'll explore a different pair of chapters, enriching your self-reading experience. We'll provide thought-provoking questions ahead of each session to guide your reading and fuel engaging discussions. Our meetups are not just about discussing the book; they're about building a community of Bitcoin enthusiasts and builders.

Discover, discuss, and delve into the world of Bitcoin with us. Your journey towards mastering Bitcoin starts here!

<a href="https://www.meetup.com/atlantabitdevs/events/298230410/" target="_blank">RSVP for Meetup Here</a>

## How It Works

We recommend that you read up on the <a href="/page/mastering-bitcoin" target="_blank">event format</a> before you attend.

## This Session

In this session, <a href="https://twitter.com/nonni_io" target="_blank">Bryan Nonni</a> will lead us through a discussion of:

- Chapter 5: Wallet Recovery
- Chapter 6: Transactions

### Study Questions

These questions are provided to help guide your thinking as read the material. We'll try to answer these together when we meet to discuss the chapter.

#### Chapter 5

- What is a bitcoin wallet? Describe the miconceptions and the components.
- What is the difference between a "wallet database" and a "wallet application"?
- What is the trade off of onle using a single public key?
- Describe the difference between independent / nondeterministic and deterministic key generation.
- What are the different types of recovery codes in wide use today? List some advantages and disagvantages.
- Which recovery code schemes allow for an optional passphrase?
- What are the 4 components needed to recover funds froim data loss? Why is the fourth needed?
- Are version numbers important for recovery code schemes?
- Are 12 words (128 bits of entropy) enough? What are advantages and disadvantages of using 12 vs. 24 words?
- Advantages and disadvantages of using a passphrase.
- Any questions about generating HD wallet from seed and seed from recovery code?
- What is gap limit and how can it be handled?
- What is the difference between child and hardened child addresses? Why are hardened important?
- Is openly sharing your xpub bad?

Links:

- <a href="https://docs.google.com/document/d/1mMIF0WxJXkEckZBq23UC_j1EiQqQoCOrZedgj7_2p0Q/edit#heading=h.repnjp7ccvzy" _target="blank">Chaincode Seminar Week 5: Notes</a>

#### Chapter 6

##### General

- Difference between v1 and v2 transactions?
- What is the purpose of the marker and flag fields?
- Each input in a transaction must contain what? What does each of them do?
- How do full nodes use the previous output data?
- How does Bitcoin Core track of all previous outputs?
- What was the originally intended purpose of the sequence field as explained by Satoshi?
- What are the problems associated with this use of the sequence field?
- What ended up replacing the inteded mechanism of the sequence field?
- What constraint did BIP68 add to the sequence field?
- What are the min/max values allowed in the amount field of an output? What are the practicality of these numbers?
- What are uneconomical outputs and what are the problems associated with them?
- What are these outputs called? What protects full nodes from these outputs? Explain. Any exceptions?
- What makes OP_RETURN transactions special?
- Is there a min/max for output scripts? How and when are these enforced?
- Can anyone recall examples of an output script that tookup or almost tookup a whole tx?
- How about a tx that took up (almost) a whole block?

##### Segwit

- What is a "witness" in bitcoin?
- Why are they important?
- Why do they exist?
- What problems do they solve?
- How are they used in bitcoin?
- How do they allow users to spend UTXOs?
- What problems did Segwit solve?
- What is tx malleability, how did segwit solve this and why is it important?
- What is an anyone-can-spend output script and how does it allow us to soft-fork Segwit into Bitcoin?
- What defines a segwit output script template?
- What are the two types of templates? How do they work?

Links:

- <a href="https://chaincode.gitbook.io/seminars/bitcoin-protocol-development/segwit" target="_blank">Chaincode Seminar Week 2: Segwit</a>
- <a href="https://docs.google.com/document/d/1uwHZ8zYnEVOAUaFv14_qngy9j3QK5WLctsTtivzqCGk/edit#heading=h.iwqqf2id6ggo" target="_blank">Chaincode Seminar Week 2: Notes</a>
- <a href="https://www.youtube.com/watch?v=Txfy2mFe16A" target="_blank">Segwit Video w/ Jimmy Song</a>
Loading