Bitcoin Forum
November 08, 2024, 06:06:04 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: LN security  (Read 239 times)
Husires (OP)
Legendary
*
Offline Offline

Activity: 1596
Merit: 1288


View Profile WWW
January 30, 2018, 04:29:22 PM
Merited by xdrpx (5), DannyHamilton (2)
 #1

I just finished reading part of the whitepaper of LN. and from the name "Network"  it’s It's like a Twitter network.
I can open 1 channel to connect to the network "just like when signing in into Twitter" and can be sent to all my friends connected to that network. That's almost what I understood
that mean LN wallets will have full access to my private key? " will be less protected than current Bitcoin wallets?.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3486
Merit: 4820



View Profile
January 30, 2018, 04:45:50 PM
Merited by buwaytress (1), LeGaulois (1)
 #2

I just finished reading part of the whitepaper of LN. and from the name "Network"  it’s It's like a Twitter network.

It is nothing like Twitter at all.  I suggest you try reading more of the whitepaper or wait until you have a better understanding of how it works before you try to create analogies.

I can open 1 channel to connect to the network

Or you can open multiple channels.  The amount of access that you have to the network will depend on the channels that you open, and the channels that are opened by the nodes that you open channels to, and so on.

"just like when signing in into Twitter" and can be sent to all my friends connected to that network.

There is no "signing in" to the Lightning Network.  It is a relay network, not a private entity.

That's almost what I understood that mean LN wallets will have full access to my private key?

Not if you are doing it correctly.  You should never share your private keys with anybody.  That is why they are called "private".

will be less protected than current Bitcoin wallets?.

Lightning Network is just a special way to use bitcoin transactions. Therefore, it is EXACTLY AS PROTECTED as those bitcoin transactions are.
Husires (OP)
Legendary
*
Offline Offline

Activity: 1596
Merit: 1288


View Profile WWW
January 30, 2018, 05:59:35 PM
 #3

-snip-
OK,Let 's imagine that we' re going to treat using LN.
A: current Balance 1 BTC
B: current Balance 1 BTC
A want to pay 0.5 BTC to B.
we will open a Channel with a current Balance, send it to miners to be confirmed and we need to wait before rebroadcasting our current balance.
so if multi-Channels started at same time how we can protect system from "deadlock problem"?
If there is any problem in synchronization How can we protect the sender and receiver from cheating by using the previous value and not the current value ?
last problem is update the current Balance need access to private key how can protect it from kernel viruses?


 
buwaytress
Legendary
*
Offline Offline

Activity: 2982
Merit: 3691


Join the world-leading crypto sportsbook NOW!


View Profile
January 30, 2018, 06:43:12 PM
 #4

OK,Let 's imagine that we' re going to treat using LN.
A: current Balance 1 BTC
B: current Balance 1 BTC
A want to pay 0.5 BTC to B.
we will open a Channel with a current Balance, send it to miners to be confirmed and we need to wait before rebroadcasting our current balance.
so if multi-Channels started at same time how we can protect system from "deadlock problem"?

Not sure what you mean by deadlock problem. The basic Bitcoin network already means you can't open the channel without txs getting confirmed (although it does make me wonder how many confirmations are needed before LN channel is considered open, if I understood it correctly!). And you if you can't confirm spent inputs then you can't open channels with the same coins. Double spends? The one confirmed will open the channel, the other will be invalid, channel also can never be opened.

If there is any problem in synchronization How can we protect the sender and receiver from cheating by using the previous value and not the current value ?

I think the most basic guidance (http://lightning.network/how-it-works/) already explains this without being too technical. In summary, both participants in the channel must sign off any spending, and only the most recent version of ledger is valid.


██
██
██
██
██
██
██
██
██
██
██
██
██
... LIVECASINO.io    Play Live Games with up to 20% cashback!...██
██
██
██
██
██
██
██
██
██
██
██
██
Husires (OP)
Legendary
*
Offline Offline

Activity: 1596
Merit: 1288


View Profile WWW
January 30, 2018, 07:05:03 PM
 #5

Not sure what you mean by deadlock problem.
deadlock problem= waiting for long time.
I thought that after you open the channel, you can not send or use your own Bitcoins until this channel ends. (Semaphore)
DannyHamilton
Legendary
*
Offline Offline

Activity: 3486
Merit: 4820



View Profile
January 30, 2018, 07:30:10 PM
 #6

Not sure what you mean by deadlock problem.
deadlock problem= waiting for long time.
I thought that after you open the channel, you can not send or use your own Bitcoins until this channel ends. (Semaphore)

That is not true.

You can keep the channel open for as long as both parties agree to keep it open, and you can handle an unlimited number of transactions with that channel while it is open.

When you decide that you want to close the channel you broadcast the current state.  After that, you can not handle ANY more transactions with that channel.
Pages: [1]
  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!