Pages:
Author

Topic: Important Lighting Network reading- for everyone! - page 4. (Read 1220 times)

hero member
Activity: 770
Merit: 629
I think it’s important that everyone who supports bitcoin be on the same page about how the Lightning Network works and why bitcoin’s future is still as bright as ever. This short read was written up by a buddy in a slack channel and I thought it was important to pass along. It’s easy reading for anyone! 10 minutes of your time and if you’re not fully educated on the Lighting Network basics..you will be!

https://medium.com/@melik_87377/lightning-network-enables-unicast-transactions-in-bitcoin-lightning-is-bitcoins-tcp-ip-stack-8ec1d42c14f5

Yes.  And no.  There is a huge difference between a payment system and a network system, and it is very important to understand this.  The comparison with the TCP/IP stack is tempting, and from a pure engineering viewpoint, it looks like it.  But this is a big misunderstanding of some very fundamental issues.

First of all, even though this sounds like blasphemy, one has to understand that bitcoin and bitcoin-like coins, are not a network, but a data set.  This was already clear in Satoshi's writings in November 2008.  All value in bitcoin, all meaning in bitcoin, resides in a data set.  The network is simply a tool to access and build the data set, but the network as such, has no value. You can do what you want on the network, if it doesn't influence the data set, it has no meaning in bitcoin.   That data set is the block chain.  In bitcoin, a transaction doesn't have meaning if it is not included in the block chain.

So this is already a fundamental difference with the TCP/IP stack.  There's no "underlying data set" in TCP/IP.

The next point to understand, is that bitcoin has a very specific rule to make sure there's only one agreed-upon data set: proof of work.  This system has evolved in such a way, that there are a very limited number of entities that actually (can) MAKE this data set.  There are many, many less entities that actually write in this data set, than there are users of the system.   There are at most something like 20 entities that write the data set (of which 3 or 4 write more than half of it, 10 write about 99% of it).  These few data set writing entities are in a competitive game that makes it necessary to have high-quality data links amongst them.

Users of the system (bitcoin users) need to consult very small pieces of the data set in order to know about their balance, and may need to ask one of these few "data set writing entities" to write something on their behalf into that data set: the first act is verifying one got paid, the second act is paying (sending a transaction).  Essentially, a user wants two things: know for sure he got paid and pay and see that he paid.  That's all there is to know for a user.

As such, the three NETWORK functions that are necessary in bitcoin, are:

1) users need to be able to send transactions to the "data set writing entities".  That's a communication from 1 to something like 20 entities.  The users can pay.

2) the 20 entities writing the data set should make that data set at disposal of the users.  That's classical one-to-many serving: the users can verify they got paid, or they paid.

3) the 20 entities writing the data set should of course also communicate between them in their competitive game which results in the data set expansion.

The first function is a very limited multicast.  This is something akin to sending an e-mail to 20 destinations.

The second function is like a very classical web server: put data at disposal for users

The third function is like a backbone high performance link.

Right now, there is a P2P grid of nodes that performs the first and the second function, which is far from optimal.  There's a P2P network that takes care of the communication between the user and the data set producers, transmitting transactions from the users to the data set producers, and caching/proxying the data set to serve it to users.   So network-wise, it is as if there were no ISP, but we all connected our PC to our neighbours, and we are accessing servers through our PCs.

It is the misunderstanding of this, not seeing that it is essentially client/multi-server structure, which is at the origin of the claims of unscalability.  This system scales perfectly, and it was already described by Satoshi in November 2008.

Proof of work splits the system in a small set of competing servers/data builders, and a large set of users.  The difference between this system, and a classical client-server system is essentially simply that the "server" is a "multi-server" of a relatively small number of entities.  Instead of 1, there's something like 20, but with 10 you cover already 99% and with 3, you cover 50%.

In such a system, you could, even though it is somewhat clumsy, forget about the bitcoin network.  You could have these 20 entities, still connected by a high-performance back bone, and having set up some FTP server of the data set (preferentially, something somewhat more sophisticated, that allows searching and only downloading parts: an SPV kind of server).  You could send your transactions by e-mail to some, or all of these entities.  That would work too.  People who want, could download the full block chain from some of these FTP servers.  Some would only download the header chain.  Some only one block.  Some only one transaction, a Merkle tree, and the full header.
Bitcoin would work just as well, and there's no need for a P2P network.

This is why the 'base layer' in bitcoin is not a network layer.

Comes now the LN network.  The LN network is also not comparable to a TCP/IP kind of routing protocol, for two reasons, both due to the "locking in of funds in a channel".   In a communications network, you can set up and break links at essentially no cost, and once a channel is set up, you can send as much data in one direction as you want.  You can open many links simultaneously.   With the LN network, however, "opening a socket" is a costly operation, and opening a socket limits your ability to open another one: funds locked into one socket, are not available any more for another one.  In as much as "setting up a TCP link" was essentially risk-free, "setting up an LN channel" stops you from setting up another one with the same funds.  If you see that your link is "dead", you will have to wait for a day or a week to be able to set up another one and it will cost you a fee.  Next, TCP connections can be used to send data in one direction, or in both.  With LN channels, you can exhaust all intermediate links.  There's only so much that can go in one direction.  In other words, the LN network is not comparable to the flexibility of TCP AT ALL.

For a payment system, this is actually quite problematic, because the essence of a payment system is that "money goes round in circles".  If there's one thing the LN cannot do, that is to make money go in circles.  The LN network can only make money "oscillate" back and forth.  But going around in circles exhausts all links along the circle.  However, where this is interesting, is in trading.  Trading is indeed "going back and forth".  So in as much as the LN network is quite a bad "money transporter", it can be a good "high frequency trading system".  An electrical engineer would say that the LN network is "AC coupled".  You cannot push a DC stream through it, but you can push oscillations through it.  In fact, the only way in which the LN network can "make money go round in circles" is if all users in the circle are connected to the same central hub.

So this analogy breaks down entirely.  Bitcoin is not a network but a data set, and bitcoin's functioning is not "broadcast", but client/multi-server in reality.  There is not really a scalability problem in a client/multiserver architecture, as we know. Moreover, this doesn't form a basis of a network.  And the LN network is way, way, way less flexible than the TCP layer.

The scaling problems in bitcoin find their origin in not understanding (or not wanting to understand) the real data flows in bitcoin and the real nature of the system.
legendary
Activity: 2282
Merit: 3014
In the earlier parts of last year, I generally felt that we were roughly nearing the end of 'early adopters' and rapidly approaching 'early majority'.  But Lightning is almost like someone pressed the reset button and we're just about back to 'innovators' again,......

Thanks for sharing that diagram, the numbers are fascinating.
I've seen some interesting articles recently which I can't find now that estimated that between 5 and 10 million people currently have a crypto wallet of some sort. If that true out of a world population of 7.6 Billion then we're still right at the beginning.

I did remember to bookmark this one.

https://www.coindesk.com/bitcoin-investing-10000-year-view/
Please check it out and let me know what you think.

I think it's FUD. Using the analogy in the article linked to in the OP it's like arguing that the introduction of the internet reduced anonymity, was beneficial to the banking system, and gave them control over life in general.
It's probably a good subject for a thread of its own and many people more knowledgeable about LN will be happy to explain everything it gets wrong.


This is exactly why I am a bit perturbed every time I hear "bitcoin bubble".  I do believe that BTC and Alts were oversold and a correction was due but as you point out there is just a small fraction of the world whom know what Bitcoin is all about and buy it.  Hell half the people on here are clueless about bitcoin, most saying they "invest in Bitcoin"
full member
Activity: 266
Merit: 106
Floki Robot
I don't read articles often but I am sooo glad I read that one oh boy! I already knew a bunch about Lightning but I wasn't aware that we are in the stage of the internet pre-global revolution that is phenomenal to know and I can't wait for Lightning to come out so I can watch this puppy unfold Roll Eyes
hero member
Activity: 2576
Merit: 882
Freebitco.in Support https://bit.ly/2I9BVS2
In the earlier parts of last year, I generally felt that we were roughly nearing the end of 'early adopters' and rapidly approaching 'early majority'.  But Lightning is almost like someone pressed the reset button and we're just about back to 'innovators' again,......

Thanks for sharing that diagram, the numbers are fascinating.
I've seen some interesting articles recently which I can't find now that estimated that between 5 and 10 million people currently have a crypto wallet of some sort. If that true out of a world population of 7.6 Billion then we're still right at the beginning.

I did remember to bookmark this one.

https://www.coindesk.com/bitcoin-investing-10000-year-view/
Please check it out and let me know what you think.

I think it's FUD. Using the analogy in the article linked to in the OP it's like arguing that the introduction of the internet reduced anonymity, was beneficial to the banking system, and gave them control over life in general.
It's probably a good subject for a thread of its own and many people more knowledgeable about LN will be happy to explain everything it gets wrong.
legendary
Activity: 2212
Merit: 3148
₿uy / $ell ..oeleo ;(
I don't know if you people have seen this video, but maybe its good idea to check it now. The concerns of putting a middleman (hubs) in the p2p transactions can ruin the whole idea of anonymity and freedom and can be more beneficial for the banking system and give them control over the bitcoin in general.
I not sure how credible the source is and if what he says is truth, hope someone with more experience and knowledge can confirm/dismiss it.
https://www.youtube.com/watch?v=UYHFrf5ci_g

Please check it out and let me know what you think.
legendary
Activity: 3724
Merit: 3063
Leave no FUD unchallenged
The main takeaway should really be that Bitcoin is still only just beginning. In the analogy with the internet, this is 1992 or 3.

This rings true.  I've been getting the sense more and more lately that Lightning means we aren't at all where I thought we were on the adoption curve:



In the earlier parts of last year, I generally felt that we were roughly nearing the end of 'early adopters' and rapidly approaching 'early majority'.  But Lightning is almost like someone pressed the reset button and we're just about back to 'innovators' again, because it's a huge change with such far-reaching implications.  It's like there's so much more to come now and we haven't even imagined all the possibilities yet.  Particularly if other cryptocurrencies get on board as well and we can start hopping from one chain to another via atomic-cross-chain-transfers.  That's when crypto becomes completely and truly... I'm pretty sure "unregulatable" isn't generally considered a real word yet.  Perhaps in time we'll make it one.  But yeah, that - unable to be regulated.  No centralised exchanges (unless fiat is involved) losing peoples' funds and no KYC losing peoples' financially sensitive data.  All in all, a better economy for everyone.
legendary
Activity: 2520
Merit: 3238
The Stone the masons rejected was the cornerstone.
Very nice Ty! Good reading for the rest of us non technical mortals on this forum who try and understand all the magic that is happening around us Cheesy
newbie
Activity: 15
Merit: 0
Thanks for the share, lightning will boost the Bitcoin Network a lot. I think we can´t forecast the impacts, they will be big.
Unconfirmed transactions in future ? zero , hopefully.

Merchant payments will be only transfered over lightning channels and after transaction finished resent to the Chain, after lightning channel closes.
hero member
Activity: 2576
Merit: 882
Freebitco.in Support https://bit.ly/2I9BVS2
That was excellent. As an ex-data communications engineer of a certain vintage (like I was doing it at the time Tim Berner-Lee was writing his proposal for the www) it certainly struck a new understanding for me. It's difficult for me to know whether everyone will get the same meaning from that as I did.
The main takeaway should really be that Bitcoin is still only just beginning. In the analogy with the internet, this is 1992 or 3.
copper member
Activity: 630
Merit: 2610
If you don’t do PGP, you don’t do crypto!
Thank you for that link!  Though many (including myself) have discussing the “network layers” analogy for a long time, this is very well worked up; and it’s the first I’ve seen the quite apt comparison to unicast vs. broadcast.

Admittedly overextending the analogy a bit, I think this will also excite the mental wheels of anybody with IP routing knowledge.  I haven’t been following LN development closely enough to know; but I’d be surprised if Lightning engineers hadn’t already been combing the vast repertoire of routing algorithms knowledge for useful things.
legendary
Activity: 2282
Merit: 3014
I think it’s important that everyone who supports bitcoin be on the same page about how the Lightning Network works and why bitcoin’s future is still as bright as ever. This short read was written up by a buddy in a slack channel and I thought it was important to pass along. It’s easy reading for anyone! 10 minutes of your time and if you’re not fully educated on the Lighting Network basics..you will be!

https://medium.com/@melik_87377/lightning-network-enables-unicast-transactions-in-bitcoin-lightning-is-bitcoins-tcp-ip-stack-8ec1d42c14f5
Pages:
Jump to: