144 points · by edf13 · 8y ago · 204 comments
LN has so many drawbacks. Have to always be online, need to hold hot walkets, need liquidity provided at both ends (kyc/aml)...
Another important factor is the 10 minutes confirmation time, nobody wants to wait for 10 minutes at the counter before they trust you walking out. We need something with instant verification and low fees and increasing the blocksize will never do that.
I am surprised more folks on HN are not familiar with nano considering it is one of the few teams in crypto with endorsements from familiar faces: Zack Shapiro on the core team (ex-Product Hunt), Garry Tan (YC, angel investor in Coinbase), and Charlie Lee (former director of engineering @ Coinbase).
The initial distribution of XRB was performed through
"manual mining" limited via a captcha.
The distribution rate was
17 XRB (Raiblocks) per hour per ip4.
This method was easy to automate, and easy to bypass with the plethora of VPNs and users who own hundreds of IP4/IP6 addresses. Presumably the dev team has the vast majority, millions of Rai/Nano.https://www.youtube.com/results?search_query=raiblock+captch...
https://github.com/nanocurrency/raiblocks/wiki/Design-featur...
These users need new people to buy their Raiblocks / Nano in order to profit off this scam.
I saw Charlie Lee's reddit post asking questions about Nano (https://www.reddit.com/r/nanocurrency/comments/80c6fg/questi...). Did he follow up with an endorsement?
Nano suffers from the same problem that 99.9% of cryptocurrencies suffer from: no useful information on how an average person might actually USE it.
Google brings various ways you can BUY Nano in order to speculate. I want to see real world usage, I want to buy VPN/Hosting/Alpaca Socks using Nano.
PS Nano is also 100% pre-mined which means one would have to investigate on who holds what percentages of these pre-mined coins. (case in point: Ripple)
Because increasing the block size is an inelegant approach that will only work briefly and then there will be more demands to make the blocks bigger again, eventually leading to centralization.
Increasing the block size doesn't solve the problem, it just makes the problem bigger.
other "coins" with larger faster block sizes are already running into storage issues.
Repeating this propaganda over and over and over doesn't make it true.
No centralization will occur with an increase in block size, as there will still be enough participants to prevent attacking the block chain.
If what is meant by centralization is the reduction of people who can run nodes, then keeping the block size small also increases centralization by this definition, as there is a reduction in people who can afford to transact on the main chain.
But when it comes to maintaining the core trustless network inherent in the bit coin algorithm, increasing block size does nothing to break its function.
Stop with the propaganda.
Even Satoshi was convinced that the block limit would be increased (it was only added for ddos protection reasons). He didn't even foresee the "block size debate" as an issue because it was never a debate. Of course the transaction throughput would be increased.
He literally said "Bitcoin never really hits a scaling cap".
Now, I'm not saying we should deify them or assume that they thought of every potential issue. But I think we should be very hesitant to deviate from their vision without an actual justification.
I believe that the community has been poisoned by people who don't even understand the original vision. As soon as Bitcoin Core / Blockstream got involved after Satoshi left the scene, everything went to shit.
Lightning is fundamentally an inferior user experience. You should be able to send money instantly without a third party. THAT was the point of bitcoin. Not to force people through a new type of financial institution (lightning hubs), solely to fix a manufactured fee problem.
Because having a bigger block size raises the barrier to being a miner. (CapEx and OpEx are both greater.)
Imagine the other extreme: mining is so cheap that every phone, watch, and — oh let's just throw in every mouse and pigeon cortex — can be a miner. This is near one extreme of decentralization.
That's unattainable[1], but it's an intuition hook for the fact that the more expensive you make mining, the more centralized it becomes.
[1] IOTA tries to get closer to this. It makes a couple of changes from Bitcoin / Ethereum / etc. (1) IOTA uses a graph instead of a chain — this is why mining is cheaper, and low-powered IOT devices can mine. (2) IOTA uses homegrown cryptography, (EDIT: that has been proven exploitable multiple times), instead of reviewed standards. (2) isn't necessary for (1), nor does it help decentralization; it just seems to be an attached vanity project.
[1] https://www.investopedia.com/news/sites-are-using-your-brows...
see: https://en.wikipedia.org/wiki/Induced_demand
edit: what's up with the downvotes? i'm providing a name to the phenomena and providing a wikipedia link to it.
Maybe because you provided a link without summarizing it?
(Just guessing — I thought your comment was sufficient, and I upvoted it. Also — I know it's policy not to discuss votes, but I'm also a fan of feedback loops that lead to desired behavior, and I don't see enough signal in this one.)
Imagine for a minute a future where Bitcoin goes mainstream and needs to process ~2k transactions per second. (A reasonable estimate of the world's current credit card transaction rate, and 3 orders of magnitude more than Bitcoin's current max capacity.) Would that _really_ be possible to sustain just by raising the block size?
Bitcoin's block chain is already 150 GB after only a decade, and if we drastically increase its rate of growth like that (by 3 orders of magnitude) the hardware requirements for even storing the full chain are gonna get ridiculous pretty fast.
That's not to say that I think bigger blocks couldn't work, but I think if Bitcoin does go that route it then it will need to find a way to trim old blocks out of the chain without compromising security in any way. Otherwise there's a real possibility we might end up with a 100 TB chain on our hands within the next 10 years or so. (Assuming Bitcoin succeeds the way we might want it to.)
There are a few on-chain scaling solutions. One is Vitalik's approach to sharding. Payments would be split into debits and credits, and a credit transaction would include a Merkle proof showing that a bunch of validators on a different shard approved the corresponding debit. Double spending would be possible if you can corrupt a single shard, but users would be randomly bounced between shards to make that difficult.
Another solution, which I think is very practical, is to make some protocol changes so that scalable full nodes can be run by a cluster of servers. Running a full node would become expensive, but most users would be fine with SPV clients + fraud proofs. See https://ethresear.ch/t/scaling-via-full-node-clusters/1358
You're correct, of course. But what's wrong with that? You still retain ultimate sovereignty over your funds, which is the most important property, I think. What do you think is lost by Bitcoin being mostly a settlement layer with the option to transact on-chain for a higher fee?
8000GB drives cost about $150 now. Storage is getting cheaper.
Why not change the PoW hash algo to avoid costly ASICs and help decentralize the more important aspect of blockchain transaction verification?
That's enough to handle the blockchain size increasing by one order of magnitude. I just talked about a scenario where it could conceivably increase by 3.
Storage is indeed cheap, but not _that_ cheap. Unless you're envisioning a scenario where only large stakeholders like miners and exchanges ever have to store a full copy of the blockchain.
Along that analogy, LN is more like carpooling. More commuters, same number of cars, no changes required to the roads. It's a cheaper upgrade that achieves the same effect in a different way.
Also, high fees (which blockstream vocally is in favor of) increase UTXO bloat by preventing consolidation
Also, when the bulk of transactions moves to Lightning, the mainnet fees will become much lower.
Remember that at least one of these blocks is generated every 10 minutes, and more than one might be flying around during a chain split. Remember also that nodes do actually need to iterate over all the transactions in the block to check they are valid when they receive a new block. Proof of stake prevents malicious actors from wasting CPU/DiskIO on full nodes with spam attacks, but the transactions in a block with PoS signature still need to be validated, ideally before the next block arrives.
Originally with the 1MB block, there were quite a lot of full bitcoin nodes running on raspberry PI's under peoples desks in places with really shitty internet. Segwit kinda-sorta actually increased the block size from 1MB to up to 4MB. 16% of Malaysia gets internet slower than 256kbps. Running a bitcoin node today takes up ~20% of a connections total bandwidth in these places. Increase the block size to 20MB, and it will not be possible to run a node in some areas of Malaysia, because 20MB/10min is too fast for the connection.
At 20MB of transactions per 10 minutes it's also possible that the diskIO on a gen-1 Raspberry PI using a cheap SD card might not be enough to scan and validate every transaction in an incoming block. Remember that a node might have to scan very far back in the blockchain to find the last time an unspent output was interacted with. I'm not sure how big a block has to be before that IO overhead starts eliminating entry-level hardware.
But you don't actually get much for increasing to 20MB blocks. Another poster said that bcash going from 1MB to 8MB blocks increased the throughput from 7tx/s to 62tx/s. Lets take that as gospel, assuming that's 1MB blocks vs 8MB blocks, and extrapolate like madmen. To get to that posters desired 7,000tx/s "Visa scale", we'd need blocks of around...1GB.
That's 13.3mbps 24/7. Now most of Australia and the USA can't host a full node, and that's before we start talking not just about disk IO but even hard drive space. If new blocks are being created at the rate of 1 Gigabyte per 10 minutes, you'll need to provision 4 terabytes of new storage every month to compete with Visa.
Look, short version is this: scaling by increasing the block size eventually ends in performance requirements that force datacenter scale hardware requirements. If bcash ever reaches that point, it will have lost the decentralized, censorship resistant attributes that make cryptocurrencies valuable in the first. If your cryptocurrency isn't decentralized, you might as well use a bank. There's better regulation and much less uncertainty in being a customer of a bank.
So anyway, the Lightning network developers think that LN provides a better scaling solution. Maybe they're right. If they're not, someone will try something else. Maybe there's no solution that can scale to Visa scale, we just don't know. But bigger blocks is definitely not that solution.
>But bigger blocks is definitely not that solution.
How easy it is to make a claim without any proof.
>Originally with the 1MB block, there were quite a lot of full bitcoin nodes running on raspberry PI's under peoples desks in places with really shitty internet. Segwit kinda-sorta actually increased the block size from 1MB to up to 4MB. 16% of Malaysia gets internet slower than 256kbps. Running a bitcoin node today takes up ~20% of a connections total bandwidth in these places. Increase the block size to 20MB, and it will not be possible to run a node in some areas of Malaysia, because 20MB/10min is too fast for the connection.
Heh, even Segwit proponents don't understand Segwit. Please stop lying about 4MB blocks, it just wastes all of our time. Segwit arbitrarily considers the "witness" portion of the TX to be 25% of its real size in bytes (they define a "block weight" accounting measure that distorts the true storage cost).
This means blocks can only be 4MB if the block is entirely witness data, which never happens in the real world. In practice, segwit will give you 1.7-2MB blocks. There is no efficiency increase (in terms of tx thruput per unit of computation, etc) with Segwit at all, there is only the increased tx thruput caused by bigger blocks (how ironic).
>Running a bitcoin node today takes up ~20% of a connections total bandwidth in these places. Increase the block size to 20MB, and it will not be possible to run a node in some areas of Malaysia, because 20MB/10min is too fast for the connection.
You use a misleading definition of bitcoin nodes that has been used to poison the discussion. A non-mining node has no role in securing the network, except for SPV wallets (lite wallets). Mining nodes have the full power to choose which transactions are uptaken into the blockchain (merkle tree), so non-mining nodes are a garbage metric to use to judge 'centralization'. It doesn't matter if everyone and their dog has a copy of the blockchain on their raspberry pi, if they're not mining they're not securing the network, period.
The original bitcoin whitepaper written by Satoshi is quite clear - when they refer to nodes, they mean miners.
As you can see, the entire manufactured block size debate is built on misinformation and propaganda. How sad that the bitcoin community fell apart as soon as Satoshi disappeared.
>At 20MB of transactions per 10 minutes it's also possible that the diskIO on a gen-1 Raspberry PI using a cheap SD card might not be enough to scan and validate every transaction in an incoming block. Remember that a node might have to scan very far back in the blockchain to find the last time an unspent output was interacted with. I'm not sure how big a block has to be before that IO overhead starts eliminating entry-level hardware.
Entirely irrelevant. Your average cryptocurrency user does not need to validate the entire blockchain. They only need to ensure their own TX have made it into the chain, a role fulfilled by SPV wallets like electrum. Again, Satoshi himself said this.
I just noticed this snippet, and it's wrong enough that I feel I should address it separately. Safe to say you don't understand blockchain verification very well.
https://bitcoin.org/en/bitcoin-core/features/validation
https://bitcoin.stackexchange.com/questions/54697/transactio...
Why would any non-mining node choose to assume that the mining nodes are non-malicious when they could just check? That's pretty much the whole point of the distributed ledger concept: not having to trust anyone else on the network, yet still being able to transact.
There is nothing on the horizon that suggests a 4TB/month growth rate will be serviceable by anything less than data-center grade hardware at any point in the next 10 years. Beyond then, it's a crapshoot.
I'd /like/ to see bitcoin operate at Visa scales before then, so I must look for a solution that can work with a reasonable extrapolation of the state of storage today.
Never the less, I sense that you have an agenda and that you will not be dissuaded from it. Continue to preach as you see fit. Before I head off, I'll say the following: I'm lightly invested in bitcoin, litecoin and vertcoin, with perhaps $150USD spread across the three. I have no investment in bitcoin cash.
Care to share your crypto investment portfolio with our fellow comment-readers?
Gavin Andresen actually has a decent summary of some of different "O(n^2)" arguments on his blog http://gavinandresen.ninja/are-bigger-blocks-dangerous though I disagree with most of his conclusions.
Regarding all of these, they may not be literally O(n^2) but they are certainly more than O(n) and they compound each other.
His argument I disagree with most is the Metcalfe's Law one:
> I’ve transacted with probably under 100 other people or companies in the five years I’ve been using Bitcoin; the demand for transactions scales up linearly with the number of people using it.
As more people use Bitcoin then Gavin's personal demand for transactions would increase roughly linearly, but because there are more users the overall demand would increase quadratically.
Or is he saying his transaction volume wouldn't increase even as more people accepted Bitcoin? I don't believe that.
https://mobile.twitter.com/starkness/status/6765995708984197...
Something seems off with what LN claims is a p2p network, as the claim is they've created something better than BGP yet there's going to be many many race conditions if the network is ever actually used at scale and the only solution to those race conditions will be broadcasting updates to inform other nodes the route is inaccessible.. which will raise the bandwidth demand for anyone running nodes needing those updates.
https://youtu.be/Ug8NH67_EfE?t=635
For LN to claim to be p2p seems rather disingenuous, as everything about it is going to favor wealthy centralized payment processor hubs. What's the point than? Why not use venmo / stripe / square where there's less risk of scam for both consumer and retailer? Running a LN node will require a hot wallet with keys in memory, so if a Spectre/Meltdown style attack hits your node your key and funds are at greater risk of being stolen.
LN also opens up the ease of money laundering, so will all LN nodes need to keep KYC/AML logs for future audits?
It's truly a beautiful monstrosity. It'd be hard to come up with a more objectively inferior solution if you really tried.
No longer can a new user just send a transaction and have that magical user experience, instead they have to be given permission to transact by monolithic liquidity hubs, who of course must take their own fee. In fact as a rational lightning hub owner, I would want a rate of return similar to stocks but times some multiple to account for the very high risk of my hot wallet getting hacked and losing all my money.
Full disclosure: I'm a BCH/XMR supporter although I no longer own either since I've been sitting out of the scene for the last few months while waiting for all this idiocy to blow over
Except this isn't true.
The answer to that is that it's not a dichotomy.
There's not a decision to be made _between_ 'LN' and 'Raise block size'. They're two independent things. The LN is an opt-in system on top of bitcoin.
If we're lucky, LN works out well.
If it doesn't - I'd be in favour of keeping the blocksize low anyway and I think a lot of technical folk would too. The reason why I don't think is difficult to understand, rather it's difficult to accept.
Raising the block size beyond some value is problematic. A small increase is likely safe, but we really don't know what. This is both in order for full nodes to be usable on reasonable hardware, and also to ensure fee pressure (in a low/zero fee environment, inflation will likely have to be introduced to ensure enough mining happens for security).
A good analogy might be with cars and cities. Imagine we lived in a world where public transport simply couldn't exist - for whatever reason it's just impossible. Would it be prudent then to bulldoze the streets of London, Paris, wherever else, to build more roads for capacity? I would argue not - you simply have a situation in which there's a limit on capacity and that's that.
In addition, in the world where pub transport _does_ exist, investing in trains does not necessarily mean completely stopping work on roads entirely. They're different things.
The white paper is a joke.
https://youtu.be/Ug8NH67_EfE?t=635
People are just handwaving this away like it's a side thought, while touting the solution this gives as THE gift to mankind to get away from traditional banks.
Another cryptocurrency 'innovation' delivering overly complex solutions to problems that didn't exist and ignoring the real problems.
White paper glosses over this fact.
This seems like a huge rise in exponential complexity.
Because the channel balances change, the best(sometimes only) route change depending on each transaction.
An analogy would be the chaos that would ensue were each TCP/IP packet to require reworking of BGP routing tables.
PS Plus you have to worry about malicious nodes.
That doesn't seem like a great model for a payment system that aims to take over from the current processors.
Doing it this way you don't give the "watchdog" service any control of your BTC, just the ability to broadcast countersignatures, which means there is still no counterparty risk here. You could even give your revocation transactions to multiple 3rd parties that can all watch the blockchain for you if you don't trust any one of them to not backstab you.
In lightning, you need only virtually connect them.
There's a literal world of difference between the two.
This. The result seems likely to be massive centralized entrenchmemt, unless you believe that most people are going to trust their money to their own dedicated systems. Centralized bitcoin kills its “cyberpunk” dream, and lower tx fees don’t matter to the majority using this as a speculative asset. As a solution to replace money the question of what advantages exist in a centralized version of Bitcoin seems especially probing.
Of course, you’d have to believe that cryptocurrency is more than a quasi-legal distributed, headless Ponzi scheme for any of that to matter. Increasingly it seems clear that when you filter out the pump and dump noise, the only thing investors in crypto really believe is that they’re going to get rich.
The very first public response to Satoshi's announcement of Bitcoin was an expression of doubt about scalability:
We very, very much need such a system, but the way I understand your proposal, it does not seem to scale to the required size.
...
To detect and reject a double spending event in a timely manner, one must have most past transactions of the coins in the transaction, which, naively implemented, requires each peer to have most past transactions, or most past transactions that occurred recently. If hundreds of millions of people are doing transactions, that is a lot of bandwidth - each must know all, or a substantial part thereof.
https://www.mail-archive.com/cryptography@metzdowd.com/msg09...
And the comment was spot-on. Naively implemented, Bitcoin can only scale linearly by putting every transaction onto the block chain. Double the transaction capacity means doubling the size of blocks.
Lightning Network scales the Bitcoin network by offering a secure method for keeping many, if not most, transactions off the block chain. This is done through a clever use of Script, Bitcoin's built-in programming language.
Two parties who want to transact at high speed jointly lock up some money with an on-chain transaction (thereby creating a "payment channel"). Then they send each other half-signed transactions spending the locked funds. Each transaction represents a kind of private ledger. Although any of these transactions can be published at any time, it will usually be mutually beneficial to avoid doing so and continue passing half-signed transactions back and forth. When it's time to call it quits, the last transaction is published.
In other words, the intermediate transactions never need to hit the block chain. Only the final settlement transaction needs to be published.
Lightning takes this one step further by providing a mechanism whereby a party can pay another party on behalf of a third party. This means that you can make Lightning payments without necessarily having an open channel with your intended payee. You just need an open channel and the network routes your payment.
Lightning Network has been in development for years. The idea has been repeatedly disparaged as "vaporware." The first mainnet release is a big deal because that characterization no longer applies. It also means we're going to see a real-world test of an idea that up until now hasn't been widely-tested.
The Bitcoin Cash split was due in large part to a group of Bitcoiners rejecting Lightning as a scaling option. They tend to believe not only that Bitcoin can scale by increasing block size, but that this is the best way.
One common misconception is that LN transactions rely on some amount of trust with 3rd parties, vs. on-chain Bitcoin transactions which do not. This is not the case, payment channels and even multi-hop LN transactions are just as secure as on-chain transactions, modulo one important assumption: that you (or a service you delegate) can monitor the blockchain and broadcast a transaction (which is then confirmed on-chain) refuting a peer that is trying to claim an old (larger) balance, within some time period. This could be an issue if the blockchain is highly congested.
Scalability of routing is another concern. It's suspected that the network topology will end up looking more like hub-and-spoke (not unlike the internet itself) than a mesh, which may have implications for privacy and censorship-resistance.
Lightning network allows for an arbitrary high number of tx, but can only tx on value that has specifically been locked to do so. Essentially you end up creating a bidirectional link for each on-chain tx, the weight of each link is the amount of value that can flow in that direction. Joining a bunch of these links together potentially allows for just locking up funds with some larger node in the LN and having near instant and extremely cheap payment to node that is traversable from your link.
One of the really cool things about this architecture is that as long as two blockchains offer atomic x-chain txs then the same principal should work for LN. (e.g. send litecoin down a LN payment channel the business gets bitcoin on the other end)
Unfortunately this does have security implications, LN's security model relies on monitoring the blockchain to ensure that the other side of the channel doesn't attempt to close the channel to their benefit, if they do there is remediation you can do, but you have to be monitoring the channel. Also an inability to close the payment channel (tx on the blockchain) within a certain # of blocks could result in the history of the payment channel getting cleared.
Basically if the bitcoin network experiences a huge tx backlog like we saw a couple months ago (tx fees exceeding 15-20 USD) and we see third party routers with high dependency/volume we could see a double spend attack that would be cost prohibitive to stop.
So if your channel was just $50 from both parties, you could broadcast your counter transaction with up to $50 in fees and still break even, since you are basically spending the fraudsters money.
That is an interesting quote. So, without the blockchain, how does Lightning track which transactions have been completed?
The main security problem to solve is preventing one party from publishing a previous channel state (half-signed transaction) giving themselves more money than they actually have by rights.
For example, Alice and Bob might start with a channel giving each of them 5 bitcoin. Then Alice makes two one-bitcoin payments to Bob:
A | B
------
4 | 6
3 | 7
Alice decides she wants to take back her last payment and instead publish the earlier transaction (signed by Bob) giving herself 4 bitcoin rather than the one giving herself 3.
This problem is solved with hashed timelock contracts (HTLCs). Without getting too technical, HTLCs make it possible for a party who spots a counterparty attempting to publish an invalid transaction to take all of the money in the channel (i.e., Bob would take all 10 bitcoin). The main idea is that cryptographic hash functions are one-way. If I make a payment contingent on knowing a preimage to a hash value, I can cause the payment to become valid by revealing the preimage.
Along with the signature to a transaction, Alice must also give Bob the preimage for the previous transaction before he will accept it. When she does, Bob knows that if Alice tries to play games, he can take all of her money.
This video gives a high-level overview:
Is this correct? And how can this be made 100% bulletproof?
Yes, it's literally an overnight success. I think they started coding this last night, and it's in beta today /s
On a more serious note, a lot of work has firstly gone into making sure all the different implementations work well with each other, aka the standardization problem. That's a big win in and of itself.
The routing problem isn't trivial either. Lightning currently uses an 'onion-like' routing scheme where, similar to TOR, the nodes have a very limited information on the origin and destination addresses. This is great news for privacy.
The lightning network has been running on the testnet successfully for many months now, and some early adopter merchants even accepted testnet coins for small purchases. Over a 1000 lightning nodes are currently running.
It's worth nothing that lattice/DAG based cryptocurrencies offer different security guarantees compared to blockchain based ones, so it's not fair to compare them on transaction fee/volume alone. Sort of like it's not fair to compare SQL vs NoSQL.
If they prevent spam with proof of work, why couldn't someone just do the proof of work and constantly spam the network anyway?
edit: i should say the final state of the wallets is settled on chain.
Recently there was a hack and a petition was created to ask the devs to allow the community to vote on how it should be resolved:
https://www.change.org/p/colin-lemahieu-lets-ask-the-nano-de...
Because Hashgraph is BFT, a round is a round of voting for confirmation. Its done virtually but you have to have 2/3rds of nodes agree on the state to close a round and have a confirmed state. To have 2/3rds you have to have a fixed and known number of nodes in the round. See BFT for more information.
The point I was trying to make, is that they are very different in benefits and limitations.
That being said, having a lot of transactions going around is probably correlated with Bitcoin getting more popular, which is again probably correlated with more miners coming in, which would indeed lead to higher energy consumption. That's an indirect effect, however.