Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Transaction method and system based on channel of lightning network

A network and lightning technology, applied in transmission systems, electrical components, payment architecture, etc., can solve problems such as inability to adjust, and inability to directly transfer channel balances.

Inactive Publication Date: 2021-06-08
上海佩俪信息科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] (2) After a lightning network channel is established, the capacity of the channel is fixed and cannot be adjusted. When you want to expand the channel, you need to re-establish the channel
[0008] (4) After a lightning network channel is established, it is impossible to directly transfer the balance of the channel to the chain without closing the channel

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Transaction method and system based on channel of lightning network
  • Transaction method and system based on channel of lightning network

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0059] Such as figure 1 As shown, this embodiment provides a method for conducting transactions based on lightning network channels, which specifically includes the following steps:

[0060] S1: Pre-establish at least two Lightning Network LND nodes within the Lightning Network through the server, and establish multiple channels between nodes of the Lightning Network LND nodes as internal channels of the Lightning Network.

[0061] Specifically, the lightning network of this embodiment adopts the method of self-built channels. When the lightning network is established, at least two lightning network LND nodes are pre-established (the nodes and LND nodes appearing below all refer to the lightning network LND nodes), and Channels are established between the self-built Lightning Network LND nodes. When subsequent users need to conduct transactions, the users are assigned to the corresponding Lightning Network LND nodes, and transactions between users can be realized by using the ...

no. 2 example

[0101] Based on the invention points in the first embodiment, this embodiment proposes a set of specific cases of user transfer, as follows:

[0102] When a user creates a Lightning Network wallet, such as generating an HD wallet through a mnemonic, etc., a Bitcoin address starting with bc1 (ie, the first address) is generated;

[0103] At this time, the server notifies all nodes on a chain to generate the second address on the corresponding chain, maps the first address and the second address, and associates them with user A, and stores the association relationship into the relationship table;

[0104] At this time, user A can receive Lightning Network transfers (including internal transactions of Lightning Network and transactions with external Lightning Networks), as well as node transfers on the chain;

[0105] If the second address of user A receives an on-chain transfer of 0.0005 BTC, and the server monitors that 0.0005 BTC assets have been transferred to the second addr...

no. 3 example

[0114] Such as figure 2 As shown, this embodiment provides a system for executing the method for conducting transactions based on the lightning network channel in the first embodiment, including:

[0115] The node establishment module 1 is used to pre-establish at least two lightning network LND nodes inside the lightning network through the server, and establish multiple channels between nodes of the lightning network LND nodes as internal channels of the lightning network;

[0116] The node allocation module 2 is used for when the user nodes including the transaction initiator and the transaction receiver in the Lightning Network conduct transactions, the service end according to the transaction initiator and / or the transaction receiver Request, among all the Lightning Network LND nodes, allocate a first Lightning Network LND node to the transaction initiator based on predetermined rules, and allocate a second Lightning Network LND node to the transaction receiver, wherein ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the technical field of Bitcoin systems, and provides a transaction method and system based on channels of a lightning network, and the method comprises the steps of: building at least two lightning network LND nodes in the lightning network in advance through a server, and building a plurality of channels between the lightning network LND nodes as internal channels of the lightning network. When a transaction initiator and a transaction receiver in the lightning network perform a transaction, the server allocates a first lightning network LND node to the transaction initiator and allocates a second lightning network LND node to the transaction receiver in all lightning network LND nodes based on a predetermined rule according to a request of the transaction initiator and / or the transaction receiver, wherein the first lightning network LND node and the second lightning network LND node are two different lightning network LND nodes; the method further comprises the steps of executing the transaction between the transaction initiator and the transaction receiver by adopting an internal channel which is routed from the first lightning network LND node to the second lightning network LND node.

Description

technical field [0001] The present invention relates to the technical field of Bitcoin system, in particular to the technical field of lightning network transactions. Specifically, it is a method and system for conducting transactions based on lightning network channels. Background technique [0002] For the Bitcoin system, the transaction throughput (the number of transactions that the system server can process per second) is very low. In order to solve the problem of low transaction throughput of the Bitcoin system, the Lightning Network is proposed. It is not By increasing the block size and other on-chain expansion schemes, it is an off-chain expansion scheme through offline transactions. A so-called "second layer" is created where all transactions are transferred. Sending transactions on the second layer does not require paying Bitcoin fees for each transaction, nor does it need to wait for new blocks to be mined. [0003] In the existing Lightning Network, both part...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06Q20/30G06Q40/04H04L29/08
CPCG06Q20/30G06Q40/04H04L67/141
Inventor 沃全魏鑫吴军
Owner 上海佩俪信息科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products