Bitcoin Forum
April 25, 2024, 10:25:01 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3]  All
  Print  
Author Topic: So we tried out Lightning tonight at ROOM77  (Read 2509 times)
kiklo
Legendary
*
Offline Offline

Activity: 1092
Merit: 1000



View Profile
April 04, 2017, 07:07:52 AM
 #41

An LN Hub can place a time lock on any Segwit Infected Blockchain coins.
Even those which which are not part of the hub's channels?
LN Notes are like Bank Notes, completely worthless unless someone is willing to trade you something for it.
There are no LN notes. LN will be transacting BTC.

LN transfers happen Offchain , so their is no verification by the actual blockchain, that what you are trading for even exists, until you cash out.
Verification is very easy for channel participants. It's as easy as checking an address in a blockexplorer today.

Say Bob and Carol have a channel with current funds distribution Bob - 3BTC, Carol - 2BTC. Let's represent this as
Bob-3:2-Carol
Alice wants to pay Carol 1 BTC, but opens a channel with Bob (he plans to build a hub, charges no fee for now), she loads 1 BTC to the channel. So now our small piece of LN looks like:
Alice-1:0-Bob-3:2-Carol
There are 2 channels: Alice-Bob with 1 BTC in it and Bob-Carol with 5 BTC. Bob owns 3 BTC: 0 in his channel with Alice and 3 in his channel with Carol. Alice owns 1 BTC, Carol - 2 BTC.

Now Alice pays 1 BTC to Carol via Bob:
Alice-0:1-Bob-2:3-Carol
As expected, Bob still owns 3 BTC: 1 in his channel with Alice and 2 in his channel with Carol. Alice couldn't pay more than 1 BTC. But now she can use her channel with Bob for receiving up to 1 BTC. For the whole lifetime of a channel, this channel's BTC never leave it.
If now, due to a 51% attack, Alice-Bob channel is no more, this directly affects only Bob, he looses 1 BTC, Alice gains it and can spend again, effectively performing a doublespend, just like with good old onchain transactions. Carol isn't affected, she has all info about her channel with Bob. Bob's problems aren't her problems.

LN are not transacting actual BTC, get that thru your head.
LN Notes are a representation of a BTC or a LTC or whatever segwit infected altcoin blockchain they lock up the coins on.
LN is nothing more than a Locking/Unlocking mechanism which gives 1 or 3 parties the right to move portions of it once the time locks are up.
Example: If those time locks expired due to a hack or network spamming, when you go to redeem your LN note, it will Fail.
Then your so called LN Notes prove to have been worthless.

Offchain Verification can not be trusted,
If they let you check the Onchain BTC address the actual BTC is locked up in, you can use a block explorer to confirm they are onchain.
This would inform you if someone 51% attacked and counterfeit LN, but you have to know the Onchain BTC address.
(Does LN even show the Onchain BTC Address so you can check it?)
But if someone evades the time locks so that the BTC can be stolen before you can redeem it, then above check was useless.
It is also useless if the 51% attack occurs after you checked the BTC address.

 Cool

FYI:
LN security is not secured by the Coin's Blockchain,
LN security is nothing more than a series of complicated Time Locks.
1714040701
Hero Member
*
Offline Offline

Posts: 1714040701

View Profile Personal Message (Offline)

Ignore
1714040701
Reply with quote  #2

1714040701
Report to moderator
1714040701
Hero Member
*
Offline Offline

Posts: 1714040701

View Profile Personal Message (Offline)

Ignore
1714040701
Reply with quote  #2

1714040701
Report to moderator
1714040701
Hero Member
*
Offline Offline

Posts: 1714040701

View Profile Personal Message (Offline)

Ignore
1714040701
Reply with quote  #2

1714040701
Report to moderator
You get merit points when someone likes your post enough to give you some. And for every 2 merit points you receive, you can send 1 merit point to someone else!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714040701
Hero Member
*
Offline Offline

Posts: 1714040701

View Profile Personal Message (Offline)

Ignore
1714040701
Reply with quote  #2

1714040701
Report to moderator
1714040701
Hero Member
*
Offline Offline

Posts: 1714040701

View Profile Personal Message (Offline)

Ignore
1714040701
Reply with quote  #2

1714040701
Report to moderator
1714040701
Hero Member
*
Offline Offline

Posts: 1714040701

View Profile Personal Message (Offline)

Ignore
1714040701
Reply with quote  #2

1714040701
Report to moderator
stdset
Hero Member
*****
Offline Offline

Activity: 572
Merit: 506



View Profile
April 04, 2017, 07:25:16 AM
 #42

An LN Hub can place a time lock on any Segwit Infected Blockchain coins.
Even those which which are not part of the hub's channels?
LN Notes are like Bank Notes, completely worthless unless someone is willing to trade you something for it.
There are no LN notes. LN will be transacting BTC.

LN transfers happen Offchain , so their is no verification by the actual blockchain, that what you are trading for even exists, until you cash out.
Verification is very easy for channel participants. It's as easy as checking an address in a blockexplorer today.

Say Bob and Carol have a channel with current funds distribution Bob - 3BTC, Carol - 2BTC. Let's represent this as
Bob-3:2-Carol
Alice wants to pay Carol 1 BTC, but opens a channel with Bob (he plans to build a hub, charges no fee for now), she loads 1 BTC to the channel. So now our small piece of LN looks like:
Alice-1:0-Bob-3:2-Carol
There are 2 channels: Alice-Bob with 1 BTC in it and Bob-Carol with 5 BTC. Bob owns 3 BTC: 0 in his channel with Alice and 3 in his channel with Carol. Alice owns 1 BTC, Carol - 2 BTC.

Now Alice pays 1 BTC to Carol via Bob:
Alice-0:1-Bob-2:3-Carol
As expected, Bob still owns 3 BTC: 1 in his channel with Alice and 2 in his channel with Carol. Alice couldn't pay more than 1 BTC. But now she can use her channel with Bob for receiving up to 1 BTC. For the whole lifetime of a channel, this channel's BTC never leave it.
If now, due to a 51% attack, Alice-Bob channel is no more, this directly affects only Bob, he looses 1 BTC, Alice gains it and can spend again, effectively performing a doublespend, just like with good old onchain transactions. Carol isn't affected, she has all info about her channel with Bob. Bob's problems aren't her problems.

LN are not transacting actual BTC, get that thru your head.
LN Notes are a representation of a BTC or a LTC or whatever segwit infected altcoin blockchain they lock up the coins on.
LN is nothing more than a Locking/Unlocking mechanism which gives 1 or 3 parties the right to move portions of it once the time locks are up.
Example: If those time locks expired due to a hack or network spamming, when you go to redeem your LN note, it will Fail.
Then your so called LN Notes prove to have been worthless.

Offchain Verification can not be trusted,
If they let you check the Onchain BTC address the actual BTC is locked up in, you can use a block explorer to confirm they are onchain.
This would inform you if someone 51% attacked and counterfeit LN, but you have to know the Onchain BTC address.
(Does LN even show the Onchain BTC Address so you can check it?)
But if someone evades the time locks so that the BTC can be stolen before you can redeem it, then above check was useless.
It is also useless if the 51% attack occurs after you checked the BTC address.

 Cool

FYI:
LN security is not secured by the Coin's Blockchain,
LN security is nothing more than a series of complicated Time Locks.
Thanks for quoting my explanation of how LN works. The more people understand LN, the less they fear it.
Now LN is being tested on the testnet. You can check your claims there. The more attacks you try - the better, testnet exists exactly for that. Probably you can even convince people to conduct a 51% attack.

Xester
Hero Member
*****
Offline Offline

Activity: 994
Merit: 544



View Profile
April 04, 2017, 08:05:57 AM
 #43

For many years now we have been accepting Bitcoin (with zero confirmations and directly, not through Bitpay) at our bar/restaurant in Berlin. Today we have deployed a testnet lightning node and accept testnet coins via the lightning network from a few customers to get a glimpse into the future. And that future looks shining bright!

- No more waiting for the customer's transaction being broadcasted, transactions arrive in milliseconds, not seconds (or sometimes minutes in case the customer uses coinbase or another bank wallet).
- No more looking out for double spend attacks. Not even Peter Todd is going to RBF us on LN.
- No more confusion during times of malleabillity attacks. Transaction malleabillity is a thing of the past.
- Massively advanced privacy for us as well as our customers as only we can see the transactions on our payment channel.
- And we will finally be able to offer free-of-cost payments to our customers.

As a merchant I can tell you that every merchant on the planet wants this stuff. It is like after all these years Bitcoin shows that with LN it can live up to its promises in regards to efficiency, speed, irreversibility and privacy no matter how many people will use it.

Thanks to all the developers making this possible!

edit: pics http://imgur.com/a/64iwK

reddit thread: https://www.reddit.com/r/Bitcoin/comments/62uw23/lightning_network_is_working_room77_is_accepting/

If that is real that the clients does not need any more to wait for confirmation then that is a very good news to all of us bitcoin users. It maybe time for the merchants to come in and accept bitcoin without having to worry slow confirmation of transactions which very unpleasant. But the users also hope that with this automatic confirmation the fees will not sting us and instead enjoy lower fees compared to the fees at this moment.
QuestionAuthority
Legendary
*
Offline Offline

Activity: 2156
Merit: 1393


You lead and I'll watch you walk away.


View Profile
April 04, 2017, 08:15:48 AM
 #44

The Lightning Shit Network is unnecessary. It has four elements that it claims will solve problems with Bitcoin.

Instant payments without waiting for long confirmation times = my bitcoin transactions have always shown up instantly on the network. For security purposes you have to wait for multiple confirmations. So what, Bitcoin works best for international money transfer (buying online long distance). If you want to buy a beer or a cup of coffee use the ACH/EFT system or cash. Both are instant and have successfully worked for decades. If you're buying drugs on a street corner use cash. If you're buying drugs online use Bitcoin, before the dealer can package and ship your order the btc transfer will have 6 confirmations.

It's immediately capable of scaling to huge demand = bitcoin doesn't have a huge demand yet. It will be decades before bitcoin is overcome by demand and that can be corrected within bitcoin. There's no need for an outside fix. Bitcoin should never be used to grocery shop, buy a soda or a candy bar. That's not where its most useful. Bitcoin will never replace every payment system in the world. It certainly doesn't need to try to do it within the first decade of its life. Let's pretend bitcoin is only seven years old and will not be required to replace ACH/EFT tomorrow. We have decades to work on this problem.

LN is so cheap to use that we can start allowing dust payments again, yippee = this is just goofy. Why would anyone care if you can buy a piece of buttered toast or tip someone a penny with bitcoin. If you really feel the need to buy one slice of buttered toast with crypto then go start butteredtoastcoin and use that. Make a copy of a script coin like Litecoin and buy your toast and tip pennies all fucking day long. Leave bitcoin out of it. Stop being so fucking cheap and pay a fee. Up until now people have been paying $25-$50 for international wire transfers that took a week. Pay your fucking dollar to get same hour service.

Hurrah, cross-chain atomic swaps are possible with two coins that use the same cryptographic hash function. With Lightning Shit Network dogiedickcoin, titcoin, Litecoin, creamcheesecoin and bitcoin can all be lovers. =  I don't want bitcoin to have any strange lovers and catch HIV from some perverted blockchain. Leave bitcoin alone.

spartacusrex
Hero Member
*****
Offline Offline

Activity: 718
Merit: 545



View Profile
April 04, 2017, 09:17:23 AM
Last edit: April 04, 2017, 09:53:31 AM by spartacusrex
 #45

Ok Kiklo - let's dance.

Anyone that reads the LN Whitepaper , can see stealing BTC from LN, requires nothing more than evading their time locks.

That is true for any 'refundable' time locked txn, like Atomic Cross Chain Transfers.

If I can stop you from claiming the coins before the time lock expires, i can refund them back to myself (after I have taken your coins aswell that is).. Just have to prevent your TXN from getting on chain.

This is much harder to do than I think you are implying.

Hard for you & me , yes it is.

This I agree with  Smiley

But the rich guys that can collude to 51% attack.. it is easy as pie.

As easy as mounting a 51% attack !? yeah - real easy.. (And this attack applies to EVERYTHING crypto-coin based - not just LN)

..the rich guys that can spam the network until your timelocks expire, it is easy as pie.

Nah.. Let's say I want to cash out $100. All I need to do is pay a fee higher than the LOWEST the spammer pays.. Sooo.. If I'm prepared to pay $1, the spammer would have to spam the network, with fees OVER $1 for 100's / 1000's of TXNS to prevent mine from getting on.. no way is that worth it.

* The only poor people able to pull it off , are the Hackers that learn to Hack the LN Nodes, and modify the timelocks ahead of schedule.* Wink

Nope.. AT NO STAGE am I having to TRUST the LN node to sign anything on my behalf. All the clever crypto-shit is done by the client, on his machine, and he certainly isn't going to sign a txn that has 'funny' timelock schedules.. The worst the hackers can do is force me to cash out, if the LN node starts spewing rubbish.

Life is Code.
kiklo
Legendary
*
Offline Offline

Activity: 1092
Merit: 1000



View Profile
April 04, 2017, 10:52:54 AM
 #46

Ok Kiklo - let's dance.

That an oldie.   Cheesy
https://www.youtube.com/watch?v=iNLXxDMxe18


..the rich guys that can spam the network until your timelocks expire, it is easy as pie.
Nah.. Let's say I want to cash out $100. All I need to do is pay a fee higher that the LOWEST the spammer pays.. Sooo.. If I'm prepared to pay $1, the spammer would have to spam the network, with fees OVER $1 for 100's / 1000's of TXNS to prevent mine from getting on.. no way is that worth it.

 Cheesy,
Let's Say 100 other users Time Locks are expiring at the same time as yours , and all drawing out at least $100.
Total amount is now 100users*$100=$10,000
Average # of transactions per block ~2000.
At $1 each , it cost me $2,000 bucks to spam the block locking out all of your transactions and including mine, that lets me steal the entire $10,000 .
So My Profit is $8,000  , not bad for less than 30 minutes worth of work.


* The only poor people able to pull it off , are the Hackers that learn to Hack the LN Nodes, and modify the timelocks ahead of schedule.* Wink

Nope.. AT NO STAGE am I having to TRUST the LN node to sign anything on my behalf. All the clever crypto-shit is done by the client, on his machine, and he certainly isn't going to sign a txn that has 'funny' timelock schedules.. The worst the hackers can do is force me to cash out, if the LN node starts spewing rubbish.


Until segwit is activated, you have to trust them.  (Even LN devs warn you of this.)

If segwit is ever activated,
And a Hacker Hacks an LN Node,
he could have it Lie to you about the route or fees or maybe even corrupting the preimage , triggering a roll back of the payment.
http://bitfury.com/content/5-white-papers-research/whitepaper_flare_an_approach_to_routing_in_lightning_network_7_7_2016.pdf
Quote
Requirement (Security).
As some of nodes may demonstrate Byzantine behaviour (e.g., by lying about fees or routes),
routing in LN should have protection mechanisms to prevent or mitigate harm
from such actions and guarantee that a sender would not lose his money even in a worst-case scenario.
Such mechanisms should include:
•the ability to verify route existence
(seeAppendix A for the details on a possible implementation of the verification procedure)

the possibility to roll back the payment in case a node on the payment route provides the wrong
information on channel properties (this is already discussed in the LN white paper).

Slickest thing for an Hacker to do is Trick the Neighborhood Discovery
to forward the preimage to himself so he can steal the funds directly.
By updating one LN, Network Discovery Paths, you update all of them.
http://bitfury.com/content/5-white-papers-research/whitepaper_flare_an_approach_to_routing_in_lightning_network_7_7_2016.pdf
Page 15 , goes on about Network Discovery

 Cool
spartacusrex
Hero Member
*****
Offline Offline

Activity: 718
Merit: 545



View Profile
April 04, 2017, 11:20:59 AM
 #47

Let's Say 100 other users Time Locks are expiring at the same time as yours , and all drawing out at least $100.
Total amount is now 100users*$100=$10,000
Average # of transactions per block ~2000.
At $1 each , it cost me $2,000 bucks to spam the block locking out all of your transactions and including mine, that lets me steal the entire $10,000 .
So My Profit is $8,000  , not bad for less than 30 minutes worth of work.

They're going to have to fill more than 1 block. Unless they ALL try and cash out ON the block the time lock expires.. They won't..

Until segwit is activated, you have to trust them.

Until SegWit is activated - BTC ain't going nowhere.. and LN too.. so I'm assuming this all happens after that.

Life is Code.
d5000
Legendary
*
Offline Offline

Activity: 3892
Merit: 6080


Decentralization Maximalist


View Profile
April 04, 2017, 08:24:00 PM
Last edit: April 04, 2017, 08:45:28 PM by d5000
 #48

In my opinion, that's just the use case I would also use LN for: small transactions in real-life or brick-and-mortar businesses. So I encourage these experiments. When I'm again in Berlin maybe I'll try it out in your bar - hopefully with real coins and Segwit activated Wink

For larger transactions, like my salary or a remittance, I wouldn't like to use LN. In these cases I would prefer other second-layer solutions like extension blocks and side/drivechains.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Pages: « 1 2 [3]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!