News for hackers. Stuff that matters.
Re:El Salvador adopts Bitcoin as official currency, first co... by vavooom on Tuesday September 07, 2021 @12:10PM (#28446449)
Found this interesting deck[1] on El Salvador's digital climate while looking for smart phone adoption statistics. It would appear that there are more than enough smart devices to allow for such a transition successfully. Already on Twitter we're seeing crypto-punks there using Bitcoin to pay for their McDonalds, paying something like 0.000002 Bitcoin. I can't help but wonder what the outcome +1 year / + 5 years will be.

[1] https://datareportal.com/reports/digital-2021-el-salvador

Re:El Salvador adopts Bitcoin as official currency, first co... by mytailorisrich on Tuesday September 07, 2021 @12:24PM (#28446635)
I don't know the exact law in El Salvador, but in general "legal tender" does not imply an obligation to accept as payment in stores, it just means that most debts are discharged if the debtor offers (tenders) to settle the debt using a 'legal tender'.

So, for instance, if your plumber did some work for you and sends you an invoice afterwards then that debt is discharged if you offer to settle it using a 'legal tender'.

However, shopping in a store is usually not the same because payments do not settle an existing debt.

Again, I'm not sure exactly what El Salvador's new law entails.

Re:El Salvador adopts Bitcoin as official currency, first co... by space_rock on Tuesday September 07, 2021 @12:27PM (#28446674)
In El Salvador it means an obligation to accept it. Which is good for bitcoin adoption but does reduce people's freedom to refuse it
Re:El Salvador adopts Bitcoin as official currency, first co... by throwdecro on Tuesday September 07, 2021 @12:36PM (#28446788)
I'm envisioning a lot of dirty looks from paper cash-preferring shopkeepers to crypto tourists when the tourists buy up all shop's inventory and leave the shopkeeper with just a few numbers in some app.

EDIT: To be clear, I mean tourists each individually buying a normal amount of things using BTC, which adds up to the store exchanging it's inventory for a number in the app.

Re:El Salvador adopts Bitcoin as official currency, first co... by bee_rider on Tuesday September 07, 2021 @01:04PM (#28447149)
I suspect the number of people who would actually do this sort of thing is quite minuscule. They could probably be handled with something like "Well tourist, the cops here think it is a civil matter so you can spend the rest of your vacation dealing with the local legal system if you really want to buy everything in this random shop for some reason."

I suspect more likely some rich people will find it more convenient to pay their tax bill.

Re:El Salvador adopts Bitcoin as official currency, first co... by throwdecro on Tuesday September 07, 2021 @01:11PM (#28447228)
I didn't mean one tourist buying everything (which would be problematic no matter what the currency was), I meant in the aggregate. I've added an edit to my comment to clarify.
Re:El Salvador adopts Bitcoin as official currency, first co... by bee_rider on Tuesday September 07, 2021 @05:10PM (#28450004)
Bitcoins are currently at $45k, so I guess this would mostly just be an issue at a luxury car place, which... should probably prepare to handle these types of transactions I guess. But that's not like Grandpa's Little Old General Store, so I bet they can handle it.

I'm actually curious how this will be implemented specifically. I guess (although I'm not well-informed on the ecosystem) that most of the places that let you do small cryptocoin transaction either use some smaller coin, or they must have some way of doing fractions of a bitcoin, right? In which case, the fraction system would have to be proprietary, I guess? I can't imagine the law required shopkeepers to use any particular proprietary exchange...

Re:El Salvador adopts Bitcoin as official currency, first co... by topranks on Wednesday September 08, 2021 @02:29PM (#28461199)
Bitcoin was always designed to allow fractions of 1 coin.

Its fundamental unit it the "Satoshi", of which there are 100 million in a "Bitcoin".

Re:El Salvador adopts Bitcoin as official currency, first co... by carnitine on Tuesday September 07, 2021 @12:54PM (#28447015)
Didn’t the grandparent comment explain that in such a case, legal tender doesn’t apply? There’s no debt in a normal shopping transaction, the shopkeeper is free to accept whatever they wish or reject the transaction entirely.
Re:El Salvador adopts Bitcoin as official currency, first co... by arcticbull on Tuesday September 07, 2021 @01:03PM (#28447137)
That's how it works in the US but it's mandatory in El Salvador. I believe the dictator there has been threatening folks who don't accept Bitcoin with punishment. Needless to say this is good for Bitcoin. [1]

[1] https://u.today/el-salvador-government-to-punish-businesses-...

Re:El Salvador adopts Bitcoin as official currency, first co... by paulgb on Tuesday September 07, 2021 @01:04PM (#28447151)
El Salvador’s adoption goes beyond making it legal tender, they require acceptance:

> every economic agent must accept bitcoin as payment when offered to him by whoever acquires a good or service

https://theconversation.com/bitcoin-will-soon-be-legal-tende...

Re:El Salvador adopts Bitcoin as official currency, first co... by bee_rider on Tuesday September 07, 2021 @05:12PM (#28450020)
Bitcoins are at like $45k, if somebody comes in to the local CVS or whatever and buys a stick of gum with a bitcoin, are they expected to have $44,999 in change sitting around? That seems... odd.
Re:El Salvador adopts Bitcoin as official currency, first co... by topranks on Wednesday September 08, 2021 @02:32PM (#28461240)
The law is here:

https://twitter.com/nayibbukele/status/1402446890466217985

Art. 7 states "Every economic agent must accept bitcoin as payment when offered to him by whoever acquires a good or service".

So it goes beyond merely saying it's "legal tender".

Re:El Salvador adopts Bitcoin as official currency, first co... by imtringued on Tuesday September 07, 2021 @01:37PM (#28447523)
The law that forces them to accept it also is what gives BTC value in El Salvador.
Re:El Salvador adopts Bitcoin as official currency, first co... by space_rock on Tuesday September 07, 2021 @01:10PM (#28447212)
The government made a wallet so they can easily convert to USD
Re:El Salvador adopts Bitcoin as official currency, first co... by BelenusMordred on Tuesday September 07, 2021 @01:11PM (#28447229)
And then they walk down the bank 5 minutes later to cash it out?
Re:El Salvador adopts Bitcoin as official currency, first co... by hsavit1 on Tuesday September 07, 2021 @12:17PM (#28446550)
what an awful waste of energy. Each bitcoin transaction uses the energy equivalent the entire lifespan of a tree. Effectively, each bitcoin transaction is cutting down of tree... in this case, for a hamburger
Re:El Salvador adopts Bitcoin as official currency, first co... by option_greek on Tuesday September 07, 2021 @12:21PM (#28446599)
They are using lightning wallets. So no on chain settling. No (extra) trees were harmed for hamburgers (though obviously opening and closing of channels and initial mining it self is energy intensive).
Re:El Salvador adopts Bitcoin as official currency, first co... by simiones on Tuesday September 07, 2021 @12:36PM (#28446794)
Actually, they are not even using lighning wallets. They are using a centralized payment processor that has personal accounts for users, like any other payment app. This centralized processor happens to use lightning wallets in its backend, but there is no 1:1 mapping of payment_account:lightning_wallet. And since Lightning itself doesn't interact with the blockchain except when you open/close payment channels, there is no actual use of bitcoin in the whole scheme.

Which is of course to be expected, as the bitcoin network is entirely unable to process the transactions of a small rural town.

Basically, people in El Salvador will use a centralized payment app that happens to denominate prices in Bitcoin. It will be interesting to see how much this actually works with the extreme volatility of Bitcoin, but for a country that is apparently desperate to get foreign value into the country it may be the worse option, except for all the others.

Re:El Salvador adopts Bitcoin as official currency, first co... by m00dy on Tuesday September 07, 2021 @12:43PM (#28446894)
I think you are spreading misinformation. Your whole comment is absolutely wrong.

[0]: https://twitter.com/OpenNodeCo/status/1435264127241527306

Re:El Salvador adopts Bitcoin as official currency, first co... by yebyen on Tuesday September 07, 2021 @12:56PM (#28447037)
Chivo wallet, the official standard and the new national wallet of El Salvador, evidently has an interface with Lightning and the Bitcoin network, and it is an optional way for merchants and consumers in El Salvador to begin accepting payments denominated in Bitcoin or USD.

Nobody is required to use Chivo, but people are required to accept legal tender. There's no reason to expect that Chivo-Chivo transfers will go to the trouble of opening individual lightning channels for each user, which costs non trivial amounts of money for each opened and closed channel.

It would make sense that users of the app can settle with each other and it doesn't so much as escape the four walls of a database at Chivo-HQ. But McDonalds is a multi-national enterprise and won't be trusting Chivo (or any El-Salvador official banking infra, I'd assume) to manage their wallets.

It is really cool to see a (hopefully) successful application of Lightning on Bitcoin in the wild, from a person who has been nay-saying about Lightning. I will be really glad to see it succeed. But I'm dubious about the success of this app.

One should hope the two successes are not tied to each other – it's encouraging that there are other companies. I have no way to judge Chivo and I've never used their software, but I have little trust of governments to implement complex systems well, and if there ever was a case study of a burgeoningly complex system, I think Lightning and Bitcoin is the big one.

Re:El Salvador adopts Bitcoin as official currency, first co... by el-salvador on Tuesday September 07, 2021 @04:54PM (#28449815)
From a screenshot I earlier today, McD El Salvador is using Opennode.com for Bitcoin payments.
Re:El Salvador adopts Bitcoin as official currency, first co... by yebyen on Wednesday September 08, 2021 @02:22PM (#28461096)
I'm hearing reports (unsubstantiated, but reports) that Chivo is built on "a partition" of lightning and that it will be difficult for people who want to get their money out.

I don't know enough about lightning to dispute it, but it would seem these reports about Opennode and McDonalds are in conflict with those reports. Do you have any local color or stories to add? I'm interested in what they actually are technically doing, I didn't know that Lightning could be "partitioned" but my Technical Spanish is rusty.

Are there any controls that would prevent folks from using Chivo to spend their $30 literally anywhere they wanted, in as much as there is a Bitcoin receiving address for them? (If I opened it up to "all lightning-capable nodes" would that change the story? I understand little in spite of knowing lots about Bitcoin and friends, something something, needs to be a route/path from one node to another?)

Re:El Salvador adopts Bitcoin as official currency, first co... by bubersson on Saturday September 11, 2021 @09:08PM (#28497676)
Chivo is a "custodial" wallet, so Chivo is in charge of the funds and can block sending those anywhere if they want. From the current reports the $30 needs to be send to another Chivo to be able to spend it on whatever. After this initial back and forth, it's spendable anywhere.

Chivo has just usual Lightning node as any other, you can follow it publicly here: https://amboss.space/node/02f72978d40efeffca537139ad6ac9f099... and you can see that they have direct channels with IBEX and others, so payment to many businesses from Chivo can literally be done with 0 sats fee. IBEX then has channel with OpenNode, so when paying to McDonalds there's a chance that IBEX will take some fee.

Re:El Salvador adopts Bitcoin as official currency, first co... by simiones on Tuesday September 07, 2021 @01:09PM (#28447205)
I was a bit too direct - it's true that officially bitcoin transactions must be accepted, and any valid bitcoin app would work - including anything based on Lightning.

But in practice, it's absurd to imagine that the population of a whole country will learn about lightning or bitcoin directly and create their own Lightning channels or bitcoin wallets (though doubtless some will). Instead, most will use an app that hides all the complexity from them, and since the government is advertising one particular app, that will likely see overwhelming use.

And then, the official app or any other app will likely avoid wasting money on lightning or bitcoin to settle app-app transfers, and instead settle most transactions in their own centralized backend.

Re:El Salvador adopts Bitcoin as official currency, first co... by Karrot_Kream on Tuesday September 07, 2021 @04:29PM (#28449518)
> I was a bit too direct

You're just moving the goal posts. Here was your original statement:

> Actually, they are not even using lighning wallets

Here is your updated statement:

> it's absurd to imagine that the population of a whole country will learn about lightning or bitcoin directly and create their own Lightning channels or bitcoin wallets (though doubtless some will)

You started with what sounded like fact, then revealed that the justification is just the invocation of a thought experiment. There's nothing but speculation here. You're right this may happen, but a hyperbolic angry comment isn't the way to add to the discussion. This is why HN cryptocurrency threads are garbage dumps.

Re:El Salvador adopts Bitcoin as official currency, first co... by SantalBlush on Tuesday September 07, 2021 @08:32PM (#28451527)
The two parts you quoted aren't as different as you claim, and are still more correct than the one they're responding to:

>They are using lightning wallets.

If your real intent is to improve discussion, maybe you should address that instead of erroneously invoking the "move the goalposts" fallacy. Moreover, I think both comments had substance to them, especially when compared to, again, the original comment about the lightning network.

Re:El Salvador adopts Bitcoin as official currency, first co... by Karrot_Kream on Tuesday September 07, 2021 @09:08PM (#28451770)
Do you know the ground truth about which apps, nodes, and Layer 2 protocols are being used by El Salvadorans right now? If not then all of these are just posts in a chain of speculation. I don't, and I'm not going to claim that I know what's happening. But invoking suspicion to make a strong claim isn't the way to have an effective or illuminating conversation.
Re:El Salvador adopts Bitcoin as official currency, first co... by simiones on Wednesday September 08, 2021 @05:58AM (#28455055)
Yes, my original statement was too direct - I said "they are not using lightning wallets" in response to someone saying "they are using lightning wallets".

The non-hyperbolic statement would have been "they will (99.99% certainly) not be using even lightning wallets".

Still, while this is a forward-looking statement, it is more than idle speculation - the government is encouraging the population to install one specific app, even offering money to anyone that does. In contrast, running your own lightning channels is known to be very difficult to do, so it is a priori extremely unlikely for a large proportion of the population to run their own.

Re:El Salvador adopts Bitcoin as official currency, first co... by m00dy on Wednesday September 08, 2021 @07:21AM (#28455513)
deactive hn account

pull the plug of your computer

leave the metaverse

Re:El Salvador adopts Bitcoin as official currency, first co... by FabHK on Tuesday September 07, 2021 @02:35PM (#28448246)
The capacity of BTC is so low that if it had universal adoption, every human being could do around one or two transactions in their lifetime.
Re:El Salvador adopts Bitcoin as official currency, first co... by hackingforfun on Tuesday September 07, 2021 @03:56PM (#28449102)
What's your source on this? Are you figuring in the Lightning Network?
Re:El Salvador adopts Bitcoin as official currency, first co... by simiones on Wednesday September 08, 2021 @05:31AM (#28454918)
The figures for the bitcoin blockchain are public and monitored by most exchanges. They are at about 11000 transactions/hour[0] - ~3 transactions/second for the entire world.

The lightning network is a separate system for transactions denominated in bitcoin. It does nothing to modify the capacity of the bitcoin network, it creates a way to do transactions WITHOUT using the bitcoin network (except occasionally).

[0] https://bitinfocharts.com/bitcoin/

Re:El Salvador adopts Bitcoin as official currency, first co... by FabHK on Tuesday September 07, 2021 @06:52PM (#28450852)
> What's your source on this? The well known numbers for BTC transactions per seconds, number of people on the planet, average life expectancy, and maths.

> Are you figuring in the Lightning Network?

No.

Re:El Salvador adopts Bitcoin as official currency, first co... by wyager on Tuesday September 07, 2021 @12:59PM (#28447077)
You can use any lightning wallet in El Salvador. There’s no need to use a particular provider, or even a provider at all. If you want to buy the requisite hardware (I think a raspberry pi and a USB SSD is the budget approach) you can completely self-host.
Re:El Salvador adopts Bitcoin as official currency, first co... by simiones on Tuesday September 07, 2021 @01:05PM (#28447161)
True, but how many people will use anything other than the officially recommended app? How many businesses even will go to the trouble of looking for an app to use, other than the default?
Re:El Salvador adopts Bitcoin as official currency, first co... by malkia on Tuesday September 07, 2021 @01:08PM (#28447195)
So centralized frontend -> middle-something, decentralized backend :) - lol
Re:El Salvador adopts Bitcoin as official currency, first co... by doomroot on Tuesday September 07, 2021 @12:43PM (#28446890)
You have the first part right, but to insinuate that lightning is not using the bitcoin blockchain is entirely wrong. In the case of lightning, the bitcoin blockchain is only used in a dispute over funds. This is how you properly scale a decentralized blockchain.
Re:El Salvador adopts Bitcoin as official currency, first co... by simiones on Tuesday September 07, 2021 @01:16PM (#28447273)
So the way to scale the blockchain is to avoid putting transactions on it. If I promise you that if you give me your burger you'll have 5SAT from me, and later you ask for my water and offer to reduce my debt to 4SAT in exchange, did we use the bitcoin blockchain in our transaction?

With ligthning, you're not using the bitcoin network to process transactions. If we opened a lightning channel for our 2 personal bitcoin wallets, and I paid you 1000SAT over the channel, and then someone checked my bitcoin wallet, they would see that I still have all those SATs (of course, I can't double spend them).

Re:El Salvador adopts Bitcoin as official currency, first co... by loo on Tuesday September 07, 2021 @01:52PM (#28447695)
Jo sends $100 from Bank A to Alice at Bank B, then Bob sends $100 from Bank B to Jo. The banks will have no USD to settle at clearing as a result.

Did Jo and Alice participate in a USD transaction?

Re:El Salvador adopts Bitcoin as official currency, first co... by simiones on Wednesday September 08, 2021 @05:03AM (#28454751)
Yes, they traded in USD. But they did not use the Fed's accounting systems to do so.

Similarly, if I send you 1000SAT through the lightning network, I am trading in bitcoin, but not using the bitcoin blockchain to do so.

Sure, Lightning relies on guarantees offered by the bitcoin blockchain to promise payment security. But it's not the same thing, and the Lightning network could become compromised even if the bitcoin blockchain remain secure For example, if Lightning accidentally started adding an extra 0 to transactions, if I send you 100 SAT over the LN you could see that you are receiving 1000 SAT and send me some products. Later, when the channel is closed, the bitcoin blockchain would refuse the final transfer, but it may be too late.

Re:El Salvador adopts Bitcoin as official currency, first co... by tuxman on Tuesday September 07, 2021 @02:44PM (#28448348)
I think that is a great analogy. If you view Bitcoin on the main blockchain as M0 money supply, then side channels like the Lightning Network and other centralized payment processors that have been popping up can be viewed as M1 and more commonly M2.

If Bitcoin's original thesis of truly decentralized P2P cash still holds, then it should be viewed as an M0 money supply. Financial services and products build on top of and separately from the main chain make sense as analogues to reserve banks and payment processors that do not handle the majority of transfers in physical cash.

Re:El Salvador adopts Bitcoin as official currency, first co... by thebean11 on Tuesday September 07, 2021 @05:30PM (#28450200)
I don't like that analogy. Unlike M0 and M1, every BTC on the lightning network represents one BTC on the L1 chain. The L1 funds are locked in order to participate in L2.
Re:El Salvador adopts Bitcoin as official currency, first co... by boogies on Tuesday September 07, 2021 @07:00PM (#28450914)
Unlike current USD, but like USD before Nixon abolished the gold standard, right?
Re:El Salvador adopts Bitcoin as official currency, first co... by simiones on Wednesday September 08, 2021 @05:10AM (#28454785)
That's a promise that Lightning makes and that you can check in their code today, but it is not a fundamental guarantee the way that the bitcoin blockchain offers guarantees.
Re:El Salvador adopts Bitcoin as official currency, first co... by thebean11 on Wednesday September 08, 2021 @10:21AM (#28457420)
Sure, if you changed the code of lightning then it would work differently. If you changed the code of the L1 chain it could work differently too. How are those guarantees different?

Calling it a promise makes it sound like there's counterparty risk and you're relying on them not changing the code. Changing the lightning code would have no effect on your funds locked into lightning using the old code.

Re:El Salvador adopts Bitcoin as official currency, first co... by la_fayette on Tuesday September 07, 2021 @12:45PM (#28446920)
I think awful is how the banks of the developed world are earning money with the poorest. The fees for remitance make up for a large portion of the el salvadors GDP. The developed world is responsible for climate change, so I guess the poorest have their right to use their money how they want and not in the way some banks or you consider it.

The impact of the lightning network on energy consumption is even neglible...

Re:El Salvador adopts Bitcoin as official currency, first co... by fennecfoxen on Tuesday September 07, 2021 @01:13PM (#28447245)
> I think awful is how the banks of the developed world are earning money with the poorest. The fees for remitance make up for a large portion of the el salvadors GDP.

The fees are high because the costs are high.

Existing remittance channels are shackled by anti-money-laundering, anti-organized-crime, anti-terrorism, know-your-customer compliance costs (typically enforced by the governments of multiple jurisdictions leaning on the money transfer operator's banking partners, who tend to be skittish about these things as a result). The world average of a ~$14 fee on a $200 remittance is easily in line with these costs; any crypto-remittance system which offers lower fees is only able to do so because it bypasses these controls.

If you wanted to reform this in the existing world banking system, you'd need the US and El Salvador government to work with each other to some treaty which streamlines these channels; this would lower costs either directly or when competition arose.

Re:El Salvador adopts Bitcoin as official currency, first co... by el-salvador on Tuesday September 07, 2021 @04:58PM (#28449862)
> If you wanted to reform this in the existing world banking system, you'd need the US and El Salvador government to work with each other to some treaty which streamlines these channels; this would lower costs either directly or when competition arose

Major banks in El Salvador accept cheques from US banks, sometimes of them without any fees or very low fees. Main disadvantage is that it is slow.

I haven't seen this used as a mainstream remmitance channel though. But an Salvadoran American relative could give their family a checkbook and they could deposit it here.

This is for cheques though. Different from Panama and Mexico whose ACH systems are connected with the US Fed ACH system in a way El Salvador isn't.

Re:El Salvador adopts Bitcoin as official currency, first co... by tehjoker on Tuesday September 07, 2021 @02:16PM (#28447978)
El Salvador was the site of Ronald Regan's financing of death squads in the 1980s. The cost of preventing these crimes and terrorism pales in comparison to the official terrorism that was perpetrated on that country.

I'm not sure if there's a direct tie to Iran-Contra, but in Nicaragua Regan directly contravened a congressional funding ban and used Iranian and CIA drug money to fund the death squads there. Similar funding sources were probably at play in El Salvador.

Re:El Salvador adopts Bitcoin as official currency, first co... by exdsq on Tuesday September 07, 2021 @01:42PM (#28447563)
And all the other fees taken along the way too

https://www.moneyandbanking.com/commentary/2018/2/18/the-stu...

Re:El Salvador adopts Bitcoin as official currency, first co... by topranks on Wednesday September 08, 2021 @09:47AM (#28456879)
The fees are inflated because the block size is artificially limited. The mining reward is likely still enough to incentivize miners without any significant fee market, and difficulty adjustment is part of the protocol anyway.
Re:El Salvador adopts Bitcoin as official currency, first co... by JumpCrisscross on Tuesday September 07, 2021 @02:13PM (#28447951)
> fees for remitance make up for a large portion of the el salvadors GDP

Average remittance costs for El Salvador are between 1.67% and 4.33%, with the average being 2.85% [1]. Meanwhile, the two Bitcoin ATMs in the country charged a 5% fee.

[1] https://sites.krieger.jhu.edu/iae/files/2021/06/Bukeles-Bitc...

Re:El Salvador adopts Bitcoin as official currency, first co... by oh_sigh on Tuesday September 07, 2021 @01:27PM (#28447384)
In most cases, economic transactions are beneficial for both parties. Yes, banks are "earning money with the poorest", but only because banks and literally every business engage in activities which (ideally) earn them money. Right now, the poor have a choice of using a banks service, or to not use it. The bank could, I guess, not offer services to the poor, but that seems like you're removing choices from the poor, not protecting them. They don't hunt down poor people and make them use their services. Yes, the poor and rich alike have the right to use their money how they see fit. But I'm curious - if I have a pile of $20 bills here in Florida, how exactly do I 'use it how I want' by letting my grandmom in El Salvador buy food at the local grocer?
Re:El Salvador adopts Bitcoin as official currency, first co... by la_fayette on Tuesday September 07, 2021 @02:15PM (#28447971)
The homo economicus would search for the cheapest way to do so, thats why they start to use bitcoin and tranfer it to tjeir grandmom...
Re:El Salvador adopts Bitcoin as official currency, first co... by oh_sigh on Tuesday September 07, 2021 @02:19PM (#28448027)
Sure, but when a more cost effective technology comes along, it doesn't mean that it indicates that the old way was a rip off or exploitative, especially when the newer method lacks numerous requirements the government put in place for the old method.
Re:El Salvador adopts Bitcoin as official currency, first co... by drdeca on Tuesday September 07, 2021 @12:27PM (#28446662)
How do you reach that number? (CO2/block) / (transactions/block)?

I imagine these transactions are being done over the lightning network or something like that(I could be wrong on this though), in which case that calculation wouldn’t give the right answer.

In addition, I think I would evaluate the CO2 costs per transaction based on the contributions to the mining reward (because this is the part of transaction which has an influence on how much power people use to mine), which I think for bitcoin is still relatively small compared to the block reward part? Well, there’s also the influence on the price that making transactions has.

Re:El Salvador adopts Bitcoin as official currency, first co... by okl on Tuesday September 07, 2021 @02:04PM (#28447826)
Check the numbers. Bitcoin is just not worth it's ecological footprint: https://digiconomist.net/bitcoin-energy-consumption
Re:El Salvador adopts Bitcoin as official currency, first co... by zsmi on Tuesday September 07, 2021 @02:49PM (#28448417)
That's new to me. It seems the argument hinges on this fact, "Bitcoin could therefore theoretically handle around 220 million transactions annually."

I think the assumption that there will be no innovation in this space, optimizations will never decrease the amount of computing resources required for a bitcoin transaction, and nothing can be done, is probably incorrect.

Some prospects:

https://en.wikipedia.org/wiki/Bitcoin_scalability_problem#Ef...

Re:El Salvador adopts Bitcoin as official currency, first co... by okl on Tuesday September 07, 2021 @03:05PM (#28448580)
The pollution is happening right now. You must realize that appealing to a hypothetical future solution doesn't excuse us from our obligation to do things right in the present.
Re:El Salvador adopts Bitcoin as official currency, first co... by lostmsu on Tuesday September 07, 2021 @07:09PM (#28450969)
Can you outline how that could have worked for cars, trains, and all other automation, which were all extremely polluting and inefficient, and were slowly refined over a course of XX century?
Re:El Salvador adopts Bitcoin as official currency, first co... by buildbuildbuild on Tuesday September 07, 2021 @12:34PM (#28446776)
Not necessarily with the Lightning Network. Strike is actively advising El Salvador in this, they develop a lightning app.
Re:El Salvador adopts Bitcoin as official currency, first co... by bethecloud on Tuesday September 07, 2021 @12:19PM (#28446570)
Nope. Bitcoin use and mining power are completely uncorrelated. By mining bitcoins, your earn as much as the computational fraction you are representing. So, indeed, there was a race to more and more mining power in the recent years but it can completely be reversed. For example if electricity prices rises.

Bitcoin could be used by the whole world with mining only happening on a laptop. That would not change anything for Bitcoin users.

Re:El Salvador adopts Bitcoin as official currency, first co... by simiones on Tuesday September 07, 2021 @12:31PM (#28446713)
> Bitcoin could be used by the whole world with mining only happening on a laptop. That would not change anything for Bitcoin users.

No, that is completely inaccurate.

First of all, with current parameters that would mean that you need a good few hundred years to process a few seconds of world-wide transactions.

And if the parameters were adjusted such that it would be that easy to mine blocks, bitcoin would become valueless, as everyone with a laptop could produce their own longest blockchain where they have half of all bitcoin.

Proof of work systems will always require absurd wastes of energy - that is, by definition, the only way they ensure the correctness of the blockchain.

Re:El Salvador adopts Bitcoin as official currency, first co... by solveit on Tuesday September 07, 2021 @12:41PM (#28446869)
So, you're correct, but the previous poster did that thing we so often do where we go too far to make a correct point.

In this case, the correct point is that the waste of energy is to ensure the security of the blockchain (as you correctly pointed out), and not to process transactions. The marginal cost of processing another transaction is completely negligible compared to the cost of securing the blockchain, and so naive comparisons saying that a single transaction uses as much energy as XXX where XXX is the total energy cost divided by the number of transactions is misguided. You could send a million more transactions and the energy cost wouldn't budge.

Of course, the overreach is in the part where they said a single laptop could run all of Bitcoin. Marginal transactions are cheap, but not that cheap, and a single laptop couldn't secure shit. (Again, all as you correctly pointed out. I just wanted to clarify where everyone was coming from for readers who aren't familiar with how Bitcoin works.)

Re:El Salvador adopts Bitcoin as official currency, first co... by lottin on Tuesday September 07, 2021 @02:43PM (#28448345)
What? Securing the blockchain and processing transactions is the same thing. What do you think "securing the blockchain" entails other than processing transactions?
Re:El Salvador adopts Bitcoin as official currency, first co... by topranks on Wednesday September 08, 2021 @01:12PM (#28460078)
The point is the number of transactions in a block could vary, and not require additional hashpower.

Obviously it's limited now by the blocksize (let's not go there). But the point is the "per transaction" figure is based on the currently imposed limits.

Re:El Salvador adopts Bitcoin as official currency, first co... by lottin on Wednesday September 08, 2021 @05:15PM (#28463155)
Okay, but this has nothing to do with the fact that miners do one job, and this job is processing transactions. They don't have another job that consists in "securing the network", in addition to processing transactions. Therefore the entirety of the energy spent by miners is spent processing transactions.
Re:El Salvador adopts Bitcoin as official currency, first co... by xur17 on Tuesday September 07, 2021 @12:39PM (#28446831)
> No, that is completely inaccurate.

> First of all, with current parameters that would mean that you need a good few hundred years to process a few seconds of world-wide transactions.

If you settle everything onchain, maybe (I haven't done the math on this, so I honestly don't know), but storing every transaction for a cup of coffee in a datastore that persists across tens of thousands of computers for the rest of time is absurd.

Long term Bitcoin layer 1 (onchain) is likely to be the settlement layer for large transactions, and other layers (lightning network, etc) will be used for every day activities like buying coffee, sending funds to a friend, etc.

Re:El Salvador adopts Bitcoin as official currency, first co... by simiones on Tuesday September 07, 2021 @01:19PM (#28447306)
But the total amount of data stored in the Lightning network is even more absurd. Not only do we store "A has paid B 1 SAT" for all time, we actually store "A is paying C 1SAT for B; C is paying D 1SAT for B; E is paying F 1SAT for B; F is paying B 1SAT".
Re:El Salvador adopts Bitcoin as official currency, first co... by datadata on Tuesday September 07, 2021 @02:26PM (#28448113)
The transactions within an open channel are only stored by the two owners of the channel. The entire network does not need to store, nor does it even get to see these transactions. They can even be private. When the channel is closed none of the channel transactions need to be committed to the blockchain, only the final balances of the channel between the two participants.

A lightning channel does require an onchain bitcoin transaction both to be opened and closed, but while open it supports unlimited transactions within the channel while it is open without increasing the onchain storage burden on the network validation nodes further beyond the two transactions to open and close the channel.

Re:El Salvador adopts Bitcoin as official currency, first co... by modo_mario on Wednesday September 08, 2021 @06:27AM (#28455227)
I'm a layman when it comes to this but doesn't that mean the amount of "channels" is still severely limited? Someone mentioned 220million transactions annually. Even if those channels only open and close the balance once a year that's very little it seems.

Or can there be more than 2 owners of a channel?

Re:El Salvador adopts Bitcoin as official currency, first co... by SamPatt on Tuesday September 07, 2021 @01:55PM (#28447723)
Not everyone is forced to store it though.

You don't need consensus about the state of the entire network on layer 2 like you do on layer 1.

So it's not really a problem.

Re:El Salvador adopts Bitcoin as official currency, first co... by xur17 on Tuesday September 07, 2021 @02:21PM (#28448046)
More specifically, only the channel participants have to store it, and only as long as the channel is open.
Re:El Salvador adopts Bitcoin as official currency, first co... by Tenoke on Tuesday September 07, 2021 @12:35PM (#28446780)
A laptop is an exaggeration but the general point that if you reduce the hashrate say 10fold you'll still be processing exactly the same amount of transactions (after the difficulty adjusts at least) is true.
Re:El Salvador adopts Bitcoin as official currency, first co... by ajkdhcb2 on Tuesday September 07, 2021 @12:38PM (#28446821)
>First of all, with current parameters that would mean that you need a good few hundred years to process a few seconds of world-wide transactions.

Completely wrong. Go run a testnet yourself and you will see.

>And if the parameters were adjusted such that it would be that easy to mine blocks, bitcoin would become valueless, as everyone with a laptop could produce their own longest blockchain where they have half of all bitcoin.

The difficulty adjusts automatically. The energy usage comes only from the competition aspect - people are competing to earn blocks. You are lacking basic understanding of how PoW functions.

Re:El Salvador adopts Bitcoin as official currency, first co... by simiones on Tuesday September 07, 2021 @12:52PM (#28446989)
> Completely wrong. Go run a testnet yourself and you will see.

If you imagine that a laptop has enough hashrate to mine all the world's transactions in realtime, then how do you explain to yourself that the actual Bitcoin network is only able to add a few hundred transactions per second to the chain?

> The difficulty adjusts automatically. The energy usage comes only from the competition aspect - people are competing to earn blocks. You are lacking basic understanding of how PoW functions.

PoW works because miners have to invest significant resources in building and maintaining their mining rigs. As such, no one who wins the race to add a new block will want that block to contain false transactions, as that would bring down the value of the currency and leave them with extremely expensive mining equipment that is useless (once the deception would be noticed by others).

If the bitcoin network was run on 3 laptops, I could buy 100 laptops and start advertising my own blockchain which reverts the entire previous blockchain and replaces it with transactions I like. Since I can mine many more blocks with my 100 laptops, I can create a longer chain, so all clients will accept my chain and discard the old one, reverting all transactions that ever happened.

Instead, if I wanted to mount such an attack on the actual bitcoin network today, I would have to spend billions of dollars on equipment and electricity - ensuring that I wouldn't want to do so.

Re:El Salvador adopts Bitcoin as official currency, first co... by ajkdhcb2 on Tuesday September 07, 2021 @01:14PM (#28447252)
I am struggling the follow the argument through the comment chain. Energy is used to secure the chain via mining; a secure network is required to be a payment system, but the energy usage is not from processing transactions.

Originally the discussion is about people "using Bitcoin to pay for their McDonalds". Then the commenter erroneously stated, in response to that, that a "bitcoin transaction uses the energy equivalent the entire lifespan of a tree". El Salvador is using the lightning network. These transactions are done off-chain. So the transaction fees do not even go to miners. There can be thousands of McDonalds transactions that occur off-chain and are eventually settled on-chain in one transaction. Processing and validating transactions is very computationally easy. You can indeed do it on a laptop.

Mining blocks is a separate issue. If you ignore the competitive security race, then the network can indeed function on a laptop. Most the mining race that is currently occurring is because people are fighting to win the block reward - this would happen even if nobody were transacting, and someone doing a lightning network transaction has truly negligible effect on that energy usage.

When you said "bitcoin would become valueless, as everyone with a laptop could produce their own longest blockchain where they have half of all bitcoin" this shows you don't understand the process, because the difficulty would rise until people can no longer produce blocks so rapidly. You're describing a situation where miners are not even on the same network so it doesnt make sense

Re:El Salvador adopts Bitcoin as official currency, first co... by simiones on Wednesday September 08, 2021 @05:23AM (#28454869)
This is pretty muddled up.

Let's look at it like this: a block on the blockchain has a maximum size. A transaction has a minimum size. So, each block contains a maximum number of transactions. Miners must waste a certain amount of energy hashing a block to ensure the security of the network (through the incentive mechanisms described above).

So, we can compute a practical energy/block, which translates to an energy/typical transaction.

Now, the block size is a kind of free parameter - the blockchain guarantees wouldn't be significantly different with 1GB blocks instead of 1MB. And that, in turn, would reduce the energy cost per transaction dramatically, and allow the network to process more transactions/second.

Similarly, if there were fewer people putting fewer resources into mining bitcoin, the energy cost/block could go down. This would affect the security of the network though, as it also brings down the cost of a 51% attack.

But miners are opposed to such changes, which have been proposed before. So, in practice, the bitcoin network as it is today has a huge energy cost/mined transaction.

Again, if you don't believe this, you should ask yourself what stops the bitcoin blockchain from processing 1 billion transactions/second instead of the current pitiful ~2 hundred transactions.

Re:El Salvador adopts Bitcoin as official currency, first co... by ajkdhcb2 on Wednesday September 08, 2021 @07:43AM (#28455672)
Do you know what the lightning network is? It changes all of these relationships, and it is key to what we are talking about, but you didnt mention it in this comment.

Separately to the lightning network, the security (hashrate, energy usage) is still not directly linked to the number of on-chain transactions that are processed. You can compute "a practical energy/block" specifically for bitcoin but it does not translate to a meaningful energy/transaction value because the quantity of energy used is not directly caused by transactions. You can have a less-secure blockchain that does many more transactions than bitcoin with low energy usage (altcoins exist) - if these are low value transactions then people won't even be incentivised to attack it. The relationship is NOT just energy/transaction. Your estimated energy/transaction value will keep changing because that's not the relationship; the new coins in the block reward will eventually drop to zero, the value processed by the network will change, the ASIC development situation will change, etc. It's like finding a runner that eats icecream and computing icecream/kilometre.

>Again, if you don't believe this, you should ask yourself what stops the bitcoin blockchain from processing 1 billion transactions/second instead of the current pitiful ~2 hundred transactions.

Nothing is stopping it. Run your own lightning node and you can do more transactions than what you are erroneously claiming

Re:El Salvador adopts Bitcoin as official currency, first co... by simiones on Wednesday September 08, 2021 @12:44PM (#28459636)
What do off-chain transactions like Lightning have to do with the transaction costs of the blockchain itself? We can trade bitcoin over HN comments, that doesn't mean that the bitcoin blockchain is involved in our trade.

The whole discussion is about the Bitcoin blockchain itself. Altcoins, lightning, payment apps etc are all entirely irrelevant to this point.

The bitcoin blockchain as it exists today has a pretty well fixed energy cost per transaction. All sorts of things could change this - changes in the protocol to allow bigger blocks, changes in the hashrate that most miners are willing to invest, changes in mining hardware efficiency etc.

But what you are claiming is like saying that it's meaningless to talk about the gas/mile of a diesel Ford Mustang, since you could always change the engine (block size), or change from gas to another fuel (better ASICs), or choose to ship the car by ferry somewhere(use Lightning instead)!

> You can compute "a practical energy/block" specifically for bitcoin but it does not translate to a meaningful energy/transaction value because the quantity of energy used is not directly caused by transactions.

Why does it matter that "it's not caused by " the number of transactions? As long as the block size is fixed, the number of transactions that can be processed by the existing bitcoin network is directly linked to the energy expenditure of the existing bitcoin network. Other hypothetical versions of the bitcoin network could achieve other energy/transaction thresholds. But the one we have today is extremely wasteful.

> Nothing is stopping it. Run your own lightning node and you can do more transactions than what you are erroneously claiming

"Why can't my car do 600km/h, it can only do 200km/h?" "Nothing is stopping it. Board a maglev train and you can do far more than 200 km/h."

Re:El Salvador adopts Bitcoin as official currency, first co... by ajkdhcb2 on Sunday September 12, 2021 @01:08PM (#28502878)
The block reward will continue to repeatedly halve over time until it reaches zero and dramatically decreases the incentive to mine. That requires no changes.

>"Why can't my car do 600km/h, it can only do 200km/h?" "Nothing is stopping it. Board a maglev train and you can do far more than 200 km/h."

Going by this analogy, you are commenting on an article about maglev trains. The article is about lightning network transactions. So you've gone completely off-topic? Why even talk about "transaction costs of the blockchain itself" if you think lightning transactions arent bitcoin transactions?

>What do off-chain transactions like Lightning have to do with the transaction costs of the blockchain itself?

Facilitating off-chain transactions lowers demand for on-chain transactions. Off-chain transactions arent possible without the underlying blockchain, yet they can fulfill the use-case of small bitcoin transactions. You can't separate the two.

>All sorts of things could change this - changes in the protocol to allow bigger blocks, changes in the hashrate that most miners are willing to invest, changes in mining hardware efficiency etc. But what you are claiming...

Back up the comment chain you were arguing that changing electricity prices etc would not affect the energy usage... I think you have changed what you are arguing about. Previously you disagreed with this:

"Bitcoin use and mining power are completely uncorrelated. By mining bitcoins, your earn as much as the computational fraction you are representing. So, indeed, there was a race to more and more mining power in the recent years but it can completely be reversed. For example if electricity prices rises."

Re:El Salvador adopts Bitcoin as official currency, first co... by topranks on Wednesday September 08, 2021 @01:27PM (#28460299)
I hear where you are coming from.

But changing the blocksize is just a software change. It doesn't require outlay on a "bigger engine", or any new engineering. The "existing bitcoin network" could switch to it with a 1 line change in the code.

So it's not quite the same as some of your examples.

Re:El Salvador adopts Bitcoin as official currency, first co... by simiones on Thursday September 09, 2021 @08:34AM (#28468960)
> just a software change

It's not "just" a software change. It's a huge political and organizational issue. It has been proposed and agreed and disagreed and fought over for many years, with no plausible change in site.

Turns out, changing fundamental limits of a truly distributed system is actually very hard. True, not entirely for engineering reasons, but that makes it even worse - engineering can in principle be solved, people problems can be forever.

https://en.wikipedia.org/wiki/Bitcoin_scalability_problem#Bl...

Re:El Salvador adopts Bitcoin as official currency, first co... by chriswilmer on Tuesday September 07, 2021 @02:51PM (#28448439)
You are correct! The other person is wrong. Transaction volume has almost zero relationship with mining energy usage (there are some very subtle connections, but those nuances are hardly worth getting into for this discussion).
Re:El Salvador adopts Bitcoin as official currency, first co... by wittycardio on Tuesday September 07, 2021 @01:11PM (#28447224)
Please stop you clearly don't understand this at all
Re:El Salvador adopts Bitcoin as official currency, first co... by only_as_i_fall on Tuesday September 07, 2021 @02:38PM (#28448285)
Isn't the security of the blockchain fundamentally tied to the mining difficultly?

I don't see how you could significantly reduce the energy usage without sacrificing security (unless you make structural changes such as moving to POS)

Re:El Salvador adopts Bitcoin as official currency, first co... by topranks on Wednesday September 08, 2021 @01:28PM (#28460317)
You could reduce the energy use per-transaction if the block size limit was increased.

That's not gonna happen at this stage however.

Re:El Salvador adopts Bitcoin as official currency, first co... by geofft on Tuesday September 07, 2021 @12:45PM (#28446919)
That's not how either Bitcoin or electricity pricing works.

Bitcoin is secure only under the assumption that a 51% attack is computationally difficult, i.e., that it is not cheaper to acquire more mining capacity than the non-malicious miners collectively have (whether by creating a conspiracy of existing miners, or by becoming new miners) than to actually pay whatever transaction you're trying to get away with not paying.

This means two things (which are, in a sense, the same thing in two different directions).

First, Bitcoin needs to have a nontrivial fraction of the world's computational power in order to be secure. If mining happens on a laptop, well, I personally own at least two laptops, so I can easily double-spend coins, making the currency worthless. It doesn't have to be 51% of the world's total computational power, but it has to be enough that nobody can easily and cheaply put together enough additional power to mine false chains at a rate that keeps up with the non-malicious miners.

Second, if it were ever the case that secure mining was happening on a single laptop, that would mean that this one laptop represents a huge portion of humanity's computing power, meaning that, first of all, the fair market value of being able to use this laptop would be incredibly high (both because it needs to be high enough that a double-spend attack isn't profitable, and because of simple supply and demand), and second, there would be a separate moral question of why we're using this laptop to mine Bitcoin instead of, say, powering any of the scientific research (like vaccine development) that now has to happen on TI-83s.

It is technically true that Bitcoin could "work" with mining only happening on a laptop (and probably did "work" in this sense when Satoshi was developing it on his personal laptop), but that's like saying that, say, MD5 is a "secure" hash provided the attacker only has pen and paper. True, but that's not what anyone means by "secure."