News for hackers. Stuff that matters.
Re:Attack of the 50 foot Blockchain (2017) by throwaway77770 on Wednesday July 14, 2021 @09:45AM (#27832918)
The other side of that coin is, obviously, coiners who deduce that anyone opposing Bitcoin must be angry about being poor.

It's possible to dislike Bitcoin for its waste of its energy, centralization one step removed or economic policy without being "the guy who bought at the top".

Re:Attack of the 50 foot Blockchain (2017) by keymone on Wednesday July 14, 2021 @09:47AM (#27832938)
waste is subjective
Re:Attack of the 50 foot Blockchain (2017) by lottin on Wednesday July 14, 2021 @09:56AM (#27833034)
Waste is not subjective. If the minimum cost to achieve a goal is X, and it costs you Y (where Y > X) to achieve it, you're wasting Y - X.
Re:Attack of the 50 foot Blockchain (2017) by keymone on Wednesday July 14, 2021 @10:06AM (#27833140)
sure, but it is subjective what is the goal and what is it's value.
Re:Attack of the 50 foot Blockchain (2017) by lottin on Wednesday July 14, 2021 @11:44AM (#27834390)
What the goal is is not subjective either, and its value is irrelevant for the purposes of this calculation.
Re:Attack of the 50 foot Blockchain (2017) by keymone on Wednesday July 14, 2021 @11:50AM (#27834462)
how is goal not subjective? do you know what my goal is without me telling you? demonstrate please.
Re:Attack of the 50 foot Blockchain (2017) by lottin on Wednesday July 14, 2021 @03:07PM (#27837059)
Somebody's goal is not a matter of taste or personal opinion, but a fact. If my goal is X, then this what my goal is, and that is independent of opinions and perceptions.
Re:Attack of the 50 foot Blockchain (2017) by keymone on Wednesday July 14, 2021 @03:16PM (#27837164)
> Somebody's goal is not a matter of taste or personal opinion

citation needed

> If my goal is X, then this what my goal is

does this not strike you as circular? :)

Re:Attack of the 50 foot Blockchain (2017) by lottin on Wednesday July 14, 2021 @03:56PM (#27837669)
It seems that you're just trying to waste my time without providing a counterargument, so I'll leave it here.
Re:Attack of the 50 foot Blockchain (2017) by keymone on Wednesday July 14, 2021 @03:59PM (#27837699)
lol, you're the one claiming a very non intuitive thing - that one's goals don't depend on tastes and preferences, if you can't back up that claim by anything then just say so. no need to weasel out with "don't waste my time".

one of my goals is to visit nepal. tell me how is that objective?

Re:Attack of the 50 foot Blockchain (2017) by lottin on Wednesday July 14, 2021 @04:44PM (#27838179)
If you want to believe that "whether your goal is to visit Nepal or not" is an opinion, go ahead. Nobody cares.
Re:Attack of the 50 foot Blockchain (2017) by user-the-name on Wednesday July 14, 2021 @12:31PM (#27834953)
Using 0.1% of all the energy produced on the entire planet to do seven transactions per second, something a single desktop computer from 2004 could handle just fine on its own, is not a waste that is "subjective".

It is the most outlandishly, ridiculously wasteful that humanity has ever produced. There is nothing in the history of mankind that comes even close to this level of utterly deranged waste.

Re:Attack of the 50 foot Blockchain (2017) by keymone on Wednesday July 14, 2021 @01:30PM (#27835703)
Most of that energy would not have been produced and it’s orders of mignutude more tps.
Re:Attack of the 50 foot Blockchain (2017) by user-the-name on Wednesday July 14, 2021 @05:54PM (#27838904)
It literally is seven transactions per second, that is all that Bitcoin can do.

Actually it's even less than that in practice. It really is that shit.

Re:Attack of the 50 foot Blockchain (2017) by keymone on Thursday July 15, 2021 @01:13AM (#27841593)
Nope, it’s probably in millions per second already, read about lightning network.
Re:Attack of the 50 foot Blockchain (2017) by user-the-name on Thursday July 15, 2021 @03:45AM (#27842332)
I am very familiar with the lightning network. It only exists in toy form. What currently exists can not scale, and nobody know how to make it scale.

As it exists, it does not work beyond the toy levels of usage it is seeing today.

Re:Attack of the 50 foot Blockchain (2017) by keymone on Thursday July 15, 2021 @04:12AM (#27842466)
a toy form with 1800BTC ($54mil) only in public channels. i don't think you're familiar with it at all, it scales very well because payments are actual peer to peer, don't need to be globally broadcast and checkpointed. millions tps.
Re:Attack of the 50 foot Blockchain (2017) by user-the-name on Thursday July 15, 2021 @04:22AM (#27842509)
It does not scale. At all. The only reason it works at all at the moment is strong centralisation.

Routing in the Lightning network is an open problem in computer science, one that nobody know how to solve. Payments aren't peer to peer, they have to be routed through intermediaries. And how to do that is basically impossible to figure out, except if you just have a handful of giant hubs you can route through.

Re:Attack of the 50 foot Blockchain (2017) by keymone on Thursday July 15, 2021 @04:42AM (#27842615)
> Routing in the Lightning network is an open problem in computer science

if you're trying to say that routing in lightning is an instance of traveling salesman, you're not only wrong - routing is actually shortest path problem, but even if you were right, your statement that TSP somehow makes the system unworkable is simply false in light of the fact that businesses like USPS and DHL and countless more delivery companies exist and are profitable.

> Payments aren't peer to peer, they have to be routed through intermediaries

by this metric nothing on the internet is peer to peer, because packets are routed through intermediaries.

> how to do that is basically impossible to figure out, except if you just have a handful of giant hubs you can route through

yes, there will be hubs, large and small and there will be clusters of interconnected local meshes and there will be users routing however they wish through the system instead of taking the cheapest most connected path.

if you say something is impossible to figure out - you need to back up that claim with something, anything.

what if i told you, you were lied to by skeptics and scammers, trying to sell their shitcoins, and you need to put away your biases for just a minute and invest a little time to see, if what they were saying is actually true?

Re:Attack of the 50 foot Blockchain (2017) by user-the-name on Thursday July 15, 2021 @05:18AM (#27842809)
> if you're trying to say that routing in lightning is an instance of traveling salesman, you're not only wrong - routing is actually shortest path problem

I am not. I am saying we don't have the map that we need to solved the shortest path problem, and we have no way to get that map.

> by this metric nothing on the internet is peer to peer, because packets are routed through intermediaries

And we have routing protocols to do so for the internet. We do not have one for the Lightning network that works at scale.

> yes, there will be hubs, large and small and there will be clusters of interconnected local meshes and there will be users routing however they wish through the system instead of taking the cheapest most connected path.

No, there will only be a small number of very large hubs. Nothing else actually works in practice.

Re:Attack of the 50 foot Blockchain (2017) by keymone on Thursday July 15, 2021 @05:29AM (#27842868)
> I am saying we don't have the map that we need to solved the shortest path problem, and we have no way to get that map.

of course we do, connectivity graph and updates to it are gossiped all the time and each node has imperfect representation of it.

> we have routing protocols to do so for the internet. We do not have one for the Lightning network that works at scale.

we do, lightning nodes do that all the time right now.

> there will only be a small number of very large hubs. Nothing else actually works in practice.

again, you're making a statement without backing it up by anything.

your entire argument boils down to: if a node can't have perfect information about connectivity graph, then it can't perfectly route payments.

and you're right, that statement is true, but it is irrelevant because imperfect routing through imperfect connectivity graph is fine and works great.

Re:Attack of the 50 foot Blockchain (2017) by user-the-name on Thursday July 15, 2021 @06:22AM (#27843180)
> of course we do, connectivity graph and updates to it are gossiped all the time and each node has imperfect representation of it.

Yes, that is exactly the part that does not scale beyond a toy network, and for which there is no solution.

Re:Attack of the 50 foot Blockchain (2017) by keymone on Thursday July 15, 2021 @06:49AM (#27843341)
maintaining a perfect and complete connectivity graph - hard.

maintaining imperfect and incomplete connectivity graph - much less hard.

be careful, maybe you're invested into something that becomes irrelevant if LN works, in which case you might want to be less rigid in your thinking and follow the developments more closely to pull out or risk losing your investment. because LN already works: tens of thousands of nodes and channels, millions of dollars in the network and growing at healthy rates.

Re:Attack of the 50 foot Blockchain (2017) by user-the-name on Thursday July 15, 2021 @06:59AM (#27843398)
And the bigger the network are and the more transactions there are, the more important a complete connectivity graph is, and the more failed transfers you will get if you have an inaccurate graph. However, the bigger the network is, the harder it is to actually gather an accurate graph.

Thus, it doesn't scale.

Re:Attack of the 50 foot Blockchain (2017) by keymone on Thursday July 15, 2021 @07:18AM (#27843479)
> Thus, it doesn't scale

you're wrong for two reasons:

- hubs do exist (big and small) and can exchange connectivity information more efficiently (and take fees for that service), so the network isn't growing like a full mesh (that is indeed very hard to maintain connectivity graph of) but rather as a collection of interconnected smaller meshes

- payments can be split up into smaller chunks that follow different paths and are executed atomically (either all or none), and if some chunks fail you can retry them within the same payment context

Re:Attack of the 50 foot Blockchain (2017) by user-the-name on Thursday July 15, 2021 @07:21AM (#27843495)
So in the first case, as I said, it can work with a few giant hubs. In the second case, it just progressively works worse and worse. Doing multiple routes atomically just gives you more reasons a single payment can fail.
Re:Attack of the 50 foot Blockchain (2017) by keymone on Thursday July 15, 2021 @07:25AM (#27843523)
> as I said, it can work with a few giant hubs

right, there will definitely be huge hubs. what you didn't even try to demonstrate is why can't there be smaller hubs?

> it just progressively works worse and worse. Doing multiple routes atomically just gives you more reasons a single payment can fail.

no, exactly the opposite is true. in case with single payment for X satoshi you need to re-try it multiple times until you find a route that has X capacity on every hop. with atomic multipath payments you need to find N routes that support X/N capacity (much easier) and if any number of those fail you can retry only those failed parts, so after 2-3 iterations your entire payment succeeds.

Re:Attack of the 50 foot Blockchain (2017) by user-the-name on Thursday July 15, 2021 @07:36AM (#27843575)
But again, at actual scale, there is no guarantee that the transactions that worked on your previous attempt will work on the next one, because lots of other people will also be attempting to use them.
Re:Attack of the 50 foot Blockchain (2017) by keymone on Thursday July 15, 2021 @07:42AM (#27843622)
when you run multipath payment, each chunk that succeeds locks that capacity for some time until you figure out rest of the chunks. and since each chunk is tiny, the chance that all of them succeed on first try is actually quite large.
Re:Attack of the 50 foot Blockchain (2017) by user-the-name on Thursday July 15, 2021 @09:28AM (#27844403)
So you can DoS the network by spamming it with transactions that are set up to fail and lock up large sums of money?

Maybe you are right that I do not know enough about the Lightning network, because I was not aware there was a vulnerability that big and easy to exploit built into it.

Re:Attack of the 50 foot Blockchain (2017) by keymone on Thursday July 15, 2021 @10:29AM (#27845161)
well i'm glad you've conceded all the ground from "it's unsolvable comp sci problem" up until "but one can DoS the tiny payments by spamming". i've covered a mile, you're still fighting for inches, i think that's enough for me. cheers, i'm glad you learned a lot about lightning today!

p.s. i'm sure you can google about DoS attacks on lightning and how to deal with them yourself

Re:Attack of the 50 foot Blockchain (2017) by user-the-name on Thursday July 15, 2021 @10:37AM (#27845269)
No, it's still an unsolvable problem. But it seems a kludge has been added that makes the damage a tiny bit smaller, and also introduces a massive vulnerability, so I wouldn't exactly call that a win.