News for hackers. Stuff that matters.
Re:El Salvador's Bitcoin use grows but headaches persist by jdhn on Thursday October 07, 2021 @05:32PM (#28792366)
Personally, I think that the growing pains are going to result in a much needed UX improvement for bitcoin, and crypto in general.
Re:El Salvador's Bitcoin use grows but headaches persist by fleddr on Thursday October 07, 2021 @05:42PM (#28792486)
Agreed. This is a fascinating beta test for the masses. Another one around the corner is Bitcoin (and NFT) integration within Twitter.
Re:El Salvador's Bitcoin use grows but headaches persist by kd913 on Thursday October 07, 2021 @05:43PM (#28792503)
Purely bitcoin transactions will never be for the masses. It can't even scale past what 350k per day?

For that it consumes the equivalent power of Countries?

Re:El Salvador's Bitcoin use grows but headaches persist by Centmo on Thursday October 07, 2021 @06:19PM (#28792822)
These transactions are not occurring on the bitcoin network - they are occurring on the lightning network which is a second layer on top of the base bitcoin layer. Transactions here are virtually free and use virtually no energy. This is how bitcoin scales for many small transactions.
Re:El Salvador's Bitcoin use grows but headaches persist by kd913 on Thursday October 07, 2021 @06:25PM (#28792881)
Transactions on the lightning network have difficulty scaling because each node needs to what compute the entire graph/nodes and setup channels?

A problem which scales even worse the more nodes in play.

https://www.reddit.com/r/Bitcoincash/comments/8n9xbp/why_the...

Re:El Salvador's Bitcoin use grows but headaches persist by panarky on Thursday October 07, 2021 @08:24PM (#28794012)
The lightning node running on my Raspberry Pi doesn't have any trouble finding routes so it can't be too compute-intensive.

Most transactions settle in two seconds or less for a fraction of a cent in fees.

Re:El Salvador's Bitcoin use grows but headaches persist by stimpson_j_cat on Thursday October 07, 2021 @08:57PM (#28794338)
The only knowledge you have of the lightning network is a YouTube video from 3 years ago posted on a subreddit with a financial interest in badmouthing BTC?
Re:El Salvador's Bitcoin use grows but headaches persist by NicoJuicy on Friday October 08, 2021 @07:18AM (#28797951)
So, what is not correct in the video?
Re:El Salvador's Bitcoin use grows but headaches persist by 0x000000001 on Friday October 08, 2021 @08:54AM (#28798664)
Pretty much all of it
Re:El Salvador's Bitcoin use grows but headaches persist by NicoJuicy on Friday October 08, 2021 @09:43AM (#28799193)
Specify
Re:El Salvador's Bitcoin use grows but headaches persist by stimpson_j_cat on Friday October 08, 2021 @01:50PM (#28802018)
LN has 75k channels right now and 3k BTC locked https://1ml.com/

Did the GP provide any specific reason why LN can't scale other than "here's a link to youtube from 2018?"

Re:El Salvador's Bitcoin use grows but headaches persist by NicoJuicy on Saturday October 09, 2021 @12:13PM (#28811051)
I'm not really sure if this is the proof I'm looking for.

The author of the video was explaining how the LN works and it seems to be an exponential routing calculation problem ( similar to traveling salesman )

So while it could work for 75 k channels, it's not going to work for 1 million.

If the explanation of that video is correct (since you didn't disagree that), then how many channels it has now is irrelevant from my POV.

Re:El Salvador's Bitcoin use grows but headaches persist by NicoJuicy on Saturday October 09, 2021 @08:16PM (#28814570)
Found this, so i believe it's still a valid problem: https://news.ycombinator.com/item?id=16155835
Re:El Salvador's Bitcoin use grows but headaches persist by duud on Thursday October 07, 2021 @11:42PM (#28795504)
If I want to remit US$100 from the US to someone in El Salvador and they want USD cash, how much is going to be left after all is said and done?
Re:El Salvador's Bitcoin use grows but headaches persist by anonomousename on Friday October 08, 2021 @12:45AM (#28795825)
On the original network - about an hour and a half and ~$9. On the lightning network (layer 2) it would be about $0.09 and take less than a minute.
Re:El Salvador's Bitcoin use grows but headaches persist by nextaccountic on Friday October 08, 2021 @01:27AM (#28796030)
An hour and a half? But there are new blocks every 10 minutes!
Re:El Salvador's Bitcoin use grows but headaches persist by jakopo87 on Friday October 08, 2021 @05:49AM (#28797400)
Transactions are confirmed when they are at least 6 blocks deep to avoid double spending.

https://en.bitcoin.it/wiki/Confirmation

Re:El Salvador's Bitcoin use grows but headaches persist by nextaccountic on Friday October 08, 2021 @06:18AM (#28797580)
Confirmed by who? Coinbase currently requires only 3 confirmations[0]. Binance requires only 1 confirmation for deposits and 2 for withdraw[1].

Actually. Was there a successful double spend in Bitcoin ever?

I mean, this kind of attack can't be done in secret, right? Such attack wold immediately make the news, because the blockchain is public. And to pull it off you need a substantial % of the mining capacity, so only a handful entities in world can coordinate such high hashrate attack.

It just doesn't seem very likely, and specially not if you're just reversing a low value retail purchase. I'd wager the rate of counterfeit money you receive when dealing with cash is way higher.

[0] https://help.coinbase.com/en/coinbase/getting-started/crypto... "Coinbase requires 3 confirmations to consider a bitcoin transaction final."

[1] https://finance.yahoo.com/news/binance-cuts-time-needed-btc-...

Re:El Salvador's Bitcoin use grows but headaches persist by 0x000000001 on Friday October 08, 2021 @09:01AM (#28798743)
It's not about double spend. It's entirely possible two miners successfully mine a block simultaneously but one of the miners didn't include your transaction in the block they mined. Now there's two competing blockchains and every miner chooses which one is the truth... longest blockchain wins, so whichever gets the most participants is likely to be the final blockchain

Now your transaction may not be included until a future block or be lost forever, though I'm not certain what it takes to be dropped from the mempool.

Re:El Salvador's Bitcoin use grows but headaches persist by jakopo87 on Saturday October 09, 2021 @04:09AM (#28807951)
> It's not about double spend.

The wait for confirmation is exactly to avoid double spend (but not only), as the Bitcoin wiki says[0].

> It's entirely possible two miners successfully mine a block simultaneously but one of the miners didn't include your transaction in the block they mined.

The example you make would work with just 1 block of confirmation, just keep try to include the transaction into the next block.

> longest blockchain wins, so whichever gets the most participants is likely to be the final blockchain

It's more about hashrate power rather than number of participants, however the longest blockchain of confirmed blocks wins, unconfirmed blocks may be invalidated and transactions pushed to the next ones or dropped.

> I'm not certain what it takes to be dropped from the mempool.

After 2 weeks[1] the transaction is considered invalid and should get dropped from the mempool (not all nodes use the same software version or they may run a fork with different settings)

[0] https://en.bitcoin.it/wiki/Irreversible_Transactions

[1] https://github.com/bitcoin/bitcoin/pull/9312

EDIT: grammar

Re:El Salvador's Bitcoin use grows but headaches persist by 0x000000001 on Sunday October 10, 2021 @12:01PM (#28819443)
You make good points I wasn't considering when I wrote that, and thanks for the mempool expiration info
Re:El Salvador's Bitcoin use grows but headaches persist by jakopo87 on Saturday October 09, 2021 @03:41AM (#28807832)
I quote from the link [1] you posted:

> To be clear, the respective blockchains will confirm blocks as normal and are not controlled by Binance. For the faster service, the exchange is accepting a reduced number of confirmations as sufficient to alter wallet balances within its own systems.

Binance and Coinbase on their own nodes can choose a lower number of blocks for confirmation but the network may reject it later, if that's the case they will have to put the transaction in another block to be mined.

Re:El Salvador's Bitcoin use grows but headaches persist by c54 on Thursday October 07, 2021 @05:54PM (#28792592)
Lightning network and power consumption have been discussed in countless HN threads
Re:El Salvador's Bitcoin use grows but headaches persist by johnla on Thursday October 07, 2021 @06:15PM (#28792789)
And coin exchanges are becoming mainstream. There are lots of transactional coins that can be converted into. Although there are still some usability hurdles, it's getting better all the time.