by runeks · 9y ago · 0 comments
Imagine a 10,000-node network, where each node has to handle 1 billion messages per second. Firstly, if we assume a single VM can handle 1 million messages per second, it would require that each node rent ~1000 VMs (for a total of 10 million VMs for the entire P2P network), which they obviously can’t do without compensation. And if you introduce compensation, you need to pay the same fee to each node, which makes it inherently 10,000 times as expensive as a centralized network.
So the question is not whether it’s possible, the question is whether it’s worth it: in how many cases would a user prefer a system that’s 10,000 times cheaper, albeit requiring some trust?
Merchants all over the world are willing to accept VISA credit in exchange for goods and services, but they could — in theory — demand trustless payments in the form of international bank transfers, which are less than 10,000 times as expensive as a VISA transaction.
Today even timestamping is expensive in decentralized world. Plasma actually allows you to do that cheaply.
The cost of transactions on a Lightning Network has yet to be determined, because no working LN (with merchants accepting payments) exists yet. We all agree than LN is pretty fast, but the ultimate test is cost per transaction.
Allow me to remind you that if you want to send 1 BTC through 10 LN nodes, each of these 10 LN nodes need to bind 1 BTC in a payment channel (totaling 10 BTC in capital costs to transfer 1 BTC). And if just a single of these channels/hops are exhausted, and thus need to touch the blockchain, the LN payment is no cheaper than an on-blockchain one.
Think that in a LN-node the profit will be proportional to capacity of open channels, so its very probable that we will see very-big-BTC-LN-nodes appear to serve demand
The reputation of LN-nodes will play a very important to the users (as it already happens with BTC exchanges - do you use a unknown-fishy-exchange or do you use a big-known-stable-exchange ?), and so that will incentivize LN-nodes to avoid/solve problems with channels to avoid teardown-to-the-blockchain (which as you mentioned, is abnoxious to the user for its fee and lock-time)
How will the on-blockchain settlement transaction look like? It needs to redeem all 1,000 outputs provided by the payers, because each payer creates a new output when it funds a channel, which creates a huge settlement transaction (1,000 inputs) with a correspondingly huge fee.
How does LN get around this issue?
If we shard the data, such that each node only needs to process 10 transactions per second — while trusting the remaining nodes on the other 990 transactions — how is this different from just reducing the number of nodes to 10, and having each node process all 1,000 transactions?
In both cases the entire network only needs to process 10,000 transactions per second, and in both cases the network breaks down if 10 or more nodes collude.