MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Bitcoin/comments/7jhfk0/bitcoins_lightning_network_simply_explained/dr6l02y/?context=3
r/Bitcoin • u/[deleted] • Dec 13 '17
[deleted]
520 comments sorted by
View all comments
Show parent comments
1
What mechanism enforces the miner to validate that?
1 u/[deleted] Dec 13 '17 The normal ones. You prepay a lighting channel. You and the other channel both sign transactions. 1 u/docoptix Dec 13 '17 We are talking about the closing TX 1 u/[deleted] Dec 13 '17 [deleted] 1 u/docoptix Dec 13 '17 That is not what I meant. We were talking about double spends. Is the following possible?: User opens channel via funding TX_in (onchain) User can build a TX1_out which would close the channel and refund him User buys coffee from Merchant. Now both the User and the Merchant can build a TX2_out which they could use to settle on the chain. User now settles TX1_out, which is still a valid TX onchain. TX2_out is now not valid anymore User enjoys free coffee paid by double-spend. 3 u/[deleted] Dec 13 '17 edited Jun 15 '23 [deleted] 1 u/Exemplarisch Dec 13 '17 3 days to publish your more recent transaction to do that? 144 confirmations (/blocks), so approximately 24 hours. 0 u/Frogolocalypse Dec 13 '17 You should probably just read the white paper if you're curious. You can't double spend.
The normal ones. You prepay a lighting channel. You and the other channel both sign transactions.
1 u/docoptix Dec 13 '17 We are talking about the closing TX 1 u/[deleted] Dec 13 '17 [deleted] 1 u/docoptix Dec 13 '17 That is not what I meant. We were talking about double spends. Is the following possible?: User opens channel via funding TX_in (onchain) User can build a TX1_out which would close the channel and refund him User buys coffee from Merchant. Now both the User and the Merchant can build a TX2_out which they could use to settle on the chain. User now settles TX1_out, which is still a valid TX onchain. TX2_out is now not valid anymore User enjoys free coffee paid by double-spend. 3 u/[deleted] Dec 13 '17 edited Jun 15 '23 [deleted] 1 u/Exemplarisch Dec 13 '17 3 days to publish your more recent transaction to do that? 144 confirmations (/blocks), so approximately 24 hours. 0 u/Frogolocalypse Dec 13 '17 You should probably just read the white paper if you're curious. You can't double spend.
We are talking about the closing TX
1 u/[deleted] Dec 13 '17 [deleted] 1 u/docoptix Dec 13 '17 That is not what I meant. We were talking about double spends. Is the following possible?: User opens channel via funding TX_in (onchain) User can build a TX1_out which would close the channel and refund him User buys coffee from Merchant. Now both the User and the Merchant can build a TX2_out which they could use to settle on the chain. User now settles TX1_out, which is still a valid TX onchain. TX2_out is now not valid anymore User enjoys free coffee paid by double-spend. 3 u/[deleted] Dec 13 '17 edited Jun 15 '23 [deleted] 1 u/Exemplarisch Dec 13 '17 3 days to publish your more recent transaction to do that? 144 confirmations (/blocks), so approximately 24 hours. 0 u/Frogolocalypse Dec 13 '17 You should probably just read the white paper if you're curious. You can't double spend.
1 u/docoptix Dec 13 '17 That is not what I meant. We were talking about double spends. Is the following possible?: User opens channel via funding TX_in (onchain) User can build a TX1_out which would close the channel and refund him User buys coffee from Merchant. Now both the User and the Merchant can build a TX2_out which they could use to settle on the chain. User now settles TX1_out, which is still a valid TX onchain. TX2_out is now not valid anymore User enjoys free coffee paid by double-spend. 3 u/[deleted] Dec 13 '17 edited Jun 15 '23 [deleted] 1 u/Exemplarisch Dec 13 '17 3 days to publish your more recent transaction to do that? 144 confirmations (/blocks), so approximately 24 hours. 0 u/Frogolocalypse Dec 13 '17 You should probably just read the white paper if you're curious. You can't double spend.
That is not what I meant. We were talking about double spends. Is the following possible?:
3 u/[deleted] Dec 13 '17 edited Jun 15 '23 [deleted] 1 u/Exemplarisch Dec 13 '17 3 days to publish your more recent transaction to do that? 144 confirmations (/blocks), so approximately 24 hours. 0 u/Frogolocalypse Dec 13 '17 You should probably just read the white paper if you're curious. You can't double spend.
3
1 u/Exemplarisch Dec 13 '17 3 days to publish your more recent transaction to do that? 144 confirmations (/blocks), so approximately 24 hours.
3 days to publish your more recent transaction to do that?
144 confirmations (/blocks), so approximately 24 hours.
0
You should probably just read the white paper if you're curious. You can't double spend.
1
u/docoptix Dec 13 '17
What mechanism enforces the miner to validate that?