Live data from Hacker News

A from-scratch tour of Bitcoin in Python

karpathy.github.io

81–90 of 293 posts

Re: A from-scratch tour of Bitcoin in Python

#81
post #71

Earlier quoted context omitted.

What happened to the lightning network? (Serious question, I am out of the loop.)

It launched, is usable in most wallets, and is starting to get adoption. It's going to be a key piece of the recently passed legislation in El Salvador which makes Bitcoin legal tender.

El Salvador not Colombia

Re: A from-scratch tour of Bitcoin in Python

#82
post #71

Earlier quoted context omitted.

What happened to the lightning network? (Serious question, I am out of the loop.)

It launched, is usable in most wallets, and is starting to get adoption. It's going to be a key piece of the recently passed legislation in El Salvador which makes Bitcoin legal tender.

Using a closed, centralized implementation that doesn't accept third party nodes. The use of bitcoin is pure marketing, it's just MySQL with extra steps.

Re: A from-scratch tour of Bitcoin in Python

#83
post #71
post #61

"...Bitcoin is a living, breathing, developing code base that is moving forward with new features to continue to scale..." There is exactly zero progress to make it scale in the last 10+ years.

What happened to the lightning network? (Serious question, I am out of the loop.)

Apparently it has serious design flaws that compromise its security and performance.

Re: A from-scratch tour of Bitcoin in Python

#84
post #61

"...Bitcoin is a living, breathing, developing code base that is moving forward with new features to continue to scale..." There is exactly zero progress to make it scale in the last 10+ years.

segwit facilitates the construction of lightning channels.

taproot, which recently locked in, reduces the space needed to represent complex contracts.

moreover, bitcoin aims at being a concise and focused base layer on top of which secondary layers and sidechains can be built.

your absolute statement "exactly zero" is absolutely wrong.

Re: A from-scratch tour of Bitcoin in Python

#85

Earlier quoted context omitted.

It launched, is usable in most wallets, and is starting to get adoption. It's going to be a key piece of the recently passed legislation in El Salvador which makes Bitcoin legal tender.

El Salvador not Colombia

Yes. Not sure why I wrote Colombia. Thx.

Re: A from-scratch tour of Bitcoin in Python

#86
post #11

Earlier quoted context omitted.

Shor's algorithm, which runs partially on a classical computer and a portion on a quantum computer, breaks elliptic-curve cryptography.

Yes, with major caveats - knowing the public key and having 100s of messages signed by corresponding private key. Nowadays people only expose their public key one time per transaction, and never reuse their address. So to steal coins, not only do you have only ~10 mins between blocks to find the private key, currently Shor's algorithm is unfeasible with only 1 signed message.

Sorry if that's a naive question but why do you need several signed messages? If you have a quantum computer and a quantum period finding function don't you get immediately the discrete log? Assuming you have one public key (not hashed) doesn't that give you the private key immediately?

Re: A from-scratch tour of Bitcoin in Python

#87
post #11

Earlier quoted context omitted.

Shor's algorithm, which runs partially on a classical computer and a portion on a quantum computer, breaks elliptic-curve cryptography.

Yes, with major caveats - knowing the public key and having 100s of messages signed by corresponding private key. Nowadays people only expose their public key one time per transaction, and never reuse their address. So to steal coins, not only do you have only ~10 mins between blocks to find the private key, currently Shor's algorithm is unfeasible with only 1 signed message.

Shor's integer factorization algorithm needs a single number or key to factor, not hundreds of transactions. I've certainly sent money to old addresses, which exist in perpetuity on the blockchain. I can also use web searches to find hundreds of current public keys in a matter of minutes.

> currently Shor's algorithm is unfeasible with only 1 signed message.

The algorithm is currently unfeasible with 100s of messages. Shor's algorithm uses a quantum computer to reduce the complexity of integer factorization from sub-exponential to polynomial-time. It is not an attack that fine-tunes the output according to the amount of network traffic.

Re: A from-scratch tour of Bitcoin in Python

#88
post #71
post #61

"...Bitcoin is a living, breathing, developing code base that is moving forward with new features to continue to scale..." There is exactly zero progress to make it scale in the last 10+ years.

What happened to the lightning network? (Serious question, I am out of the loop.)

It exists, and it very much works [0] but it has yet to reach the massive levels of adoption people would have expected by now. Simple as that.

[0] https://1ml.com/

Re: A from-scratch tour of Bitcoin in Python

#89
post #76
post #67

Earlier quoted context omitted.

Taproot doesn't make bitcoin scale its mainly to increase privacy.

Taproot decreases the size of multisig and other complex transactions significantly, in the happy path of a cooperative signature. It also enables Schnorr, which produces smaller signatures than ECDSA. It also contains features to further improve the efficiency of Lightning, which is a shockingly effective scaling mechanism.

Lightning doesn't work because it either leads to a chaos of routing that doesn't scale or it ends up centralized and you lose the point of bitcoin in the first step.

And don't bother coming up with hand wavy explanations of how it could work, some day. People have been talking about Lightning for years, literally billions of dollars have been poured into the "tech", the fact that even bitcoin enthusiasts barely ever use it is all the proof I need.

I wonder how many more years of empty promises we'll have to suffer through before people accept that cryptocurrencies are a very good pyramid scheme with a thick layer of technobabble around it.

Re: A from-scratch tour of Bitcoin in Python

#90
post #71
post #61

"...Bitcoin is a living, breathing, developing code base that is moving forward with new features to continue to scale..." There is exactly zero progress to make it scale in the last 10+ years.

What happened to the lightning network? (Serious question, I am out of the loop.)

Lightning network more or less failed to live up to the hype. Problems like routing complexity, liquidity, and a lack of on-chain space to open and close channels have delayed/limited its impact.
Post reply on HN