RE: Bitcoin's Lightning Network - How Does It Work and How to Test It by sweetwilliam

View this thread on steempeak.com

Viewing a response to: @inthearena/bitcoin-s-lightning-network-what-is-it-and-how-to-test-it

· @sweetwilliam ·
"Lightning Network is essentially an agreement between end users to net off the ownership of funds at a later time, thereby deferring what is broadcast to the blockchain." I'm not sure I understood this? So these funds are locked in some kind of holding? So they are available to be used as part of a payment channel. If this information is not on the blockchain how is it stored?
šŸ‘  
properties (23)
post_id21,807,838
authorsweetwilliam
permlinkre-inthearena-bitcoin-s-lightning-network-what-is-it-and-how-to-test-it-20171224t191326605z
categorybitcoin
json_metadata"{"app": "steemit/0.1", "tags": ["bitcoin"]}"
created2017-12-24 19:13:27
last_update2017-12-24 19:13:27
depth1
children1
net_rshares584,554,000
last_payout2017-12-31 19:13:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length380
author_reputation106,332,657,163
root_title"Bitcoin's Lightning Network - How Does It Work and How to Test It"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@inthearena · (edited)
Hi Sweetwilliam,

It's a really good (and interesting) question.  Essentially you are correct. The funds are set aside in some form of holding account - similar to the way a checking account is separate from a savings account. 

The two parties send one on chain transaction into a "multi-signature address". The balance between the two parties is sorted out at a later date. 

A general summary of how this works is found [here](https://lightning.network/lightning-network-summary.pdf)

>Funds are placed into a two-party, multisignature "channel" bitcoin address. This channel is represented as an entry on the bitcoin public ledger. In order to spend funds from the channel, both parties must agree on the new balance. 

The more technical/specific explanation of how it works is [here](https://lightning.network/lightning-network-technical-summary.pdf)
 
>Two parties send an initial amount of Bitcoin into a multisignature transaction with a local consensus on the current balance allocated between the two participants.  

> One onĀ­blockchain transaction is made to deposit the funds into a multisignature output. Before this transaction is made, a refund transaction is created, which returns the original deposit to both parties.... In effect, they have created numerous "double spends" from an onĀ­blockchain transaction, but have elected not to broadcast the spend until either party wants to redeem their funds onĀ­chain.
šŸ‘  ,
properties (23)
post_id21,825,120
authorinthearena
permlinkre-sweetwilliam-re-inthearena-bitcoin-s-lightning-network-what-is-it-and-how-to-test-it-20171224t223409420z
categorybitcoin
json_metadata"{"app": "steemit/0.1", "links": ["https://lightning.network/lightning-network-summary.pdf", "https://lightning.network/lightning-network-technical-summary.pdf"], "tags": ["bitcoin"]}"
created2017-12-24 22:34:09
last_update2017-12-25 06:53:24
depth2
children0
net_rshares1,718,416,232
last_payout2017-12-31 22:34:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length1,430
author_reputation193,989,300,832
root_title"Bitcoin's Lightning Network - How Does It Work and How to Test It"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (2)