Bitcoin Forum
July 22, 2024, 01:37:18 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / Re: Common questions regarding the Lightning Network on: August 01, 2018, 10:14:37 PM
Lightning Network Risk Prevention Measures

FMyGdTk6iXFqfnSbvBtte

The Lightning Payment Layer 1 private key (cold storage) is generated offline, and the second layer private key is generated by using the wallet address as the brain wallet seed, and is cyclically calculated to the 100th layer. Use the last layer 100 public key as the public key for lightning payment. If the lightning private key is stolen, the layer 99 public key is broadcast in time to invalidate the 100th layer public key. It can prevent stolen 100 times.

Lightning channel establishment:
1. Sign the authorized private key with cold storage to authorize the lightning payment of the layer 100 public key, and all lightning payments do not use the original private key. Both the original private key and the lightning layer 1 private key are cold storage (offline) and are very secure.
2, in order to control the risk, you must set the daily payment limit of each party (such as: daily maximum limit: 60 yuan for one party, 70 yuan for B party). If the lightning private key of Party B is stolen, Party B will use cold storage for original private use. The key closes the channel on the chain, and at most, it will only lose the maximum payment of 70 yuan for the day.

In order to save the blockchain space, when the lightning channel is established, the blockchain only stores the hash value of the lightning-paid third-layer public key and the daily payment limit. The party applying to close the channel must provide the original information for the miner to verify the Lightning Payment Level 100 public key for both parties and the maximum daily payment limit.

Welcome to support BTC address: 18cZYPCppT5LbUjwDoqdjVGUP8jFoCPGcE
2  Local / 离题万里 / Re: 喜欢区块链游戏 on: August 01, 2018, 09:58:01 PM
打游戏时,网络反应速度快吗?
3  Local / 媒体 / Re: 莱特币创始人李启威:数字货币打开主流市场三个突破口 on: July 30, 2018, 03:44:04 AM
闪电网络防范风险办法

FMyGdTk6iXFqfnSbvBtte

离线生成闪电支付第1层专用私钥(冷存储),用钱包地址作为脑钱包种子生成第2层私钥,循环推算到第100层。用最末尾的第100层公钥作为闪电支付专用公钥。如果闪电私钥被盗,及时用第99层公钥广播作废第100层公钥。可防范被盗100次。

闪电通道建立:
1、用冷存储原始私钥签名授权双方的闪电支付第100层公钥,所有闪电支付不用原始私钥。原始私钥和闪电第1层专用私钥都是冷存储(离线)很安全。
2、为了控制风险,必须设置双方各自每天的支付上限(如:每天最高限额:A方60元,B方70元),如果B方在线的闪电私钥被盗,B方及时用冷存储原始私钥关闭链上通道,最多只会损失当天的最高支付70元。

为节约区块链空间,闪电通道建立时,区块链只保存(闪电支付第100层公钥和每天支付上限)的哈希值。申请关闭通道的一方必须提供原始信息,用于矿工验证双方的闪电支付第100层公钥,以及每天的支付最高上限。

欢迎支持BTC地址:18cZYPCppT5LbUjwDoqdjVGUP8jFoCPGcE
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!