0%

The Lightning Nodes – A beginner’s guide

2021년 9월 14일 6 분 읽기
뉴스 기사 배너 이미지

This article will talk about nodes in Bitcoin and the Lightning Network context. As a major proponent of the Lightning Network, we are excited to help you better understand and navigate the technology.

If you are not familiar with the Lightning Network, check out our Lightning Series.

So, what is a node in cryptocurrency?

A node is a software that connects to the blockchain network and exchanges the latest blockchain data with each other. Its primary purpose is to record every transaction on the blockchain network, making the blockchain transparent, immutable, and decentralized.

Different blockchains may have different types of nodes, each with individual properties and functions. In this article, we will elaborate on the nodes in Bitcoin and the Lightning Network.

Nodes in Bitcoin & the Lightning Network

There are two kinds of nodes in the Bitcoin network.

  1. Full node

A full node keeps a copy of every transaction on the network, verifies transactions,  accepts new blocks, and then broadcasts the new transaction to other nodes.

  1. Light node

A light node doesn’t store the whole blockchain, only a tiny part of it. Light nodes download block headers (a section in a block that summarizes the rest of the block) to verify data and then transactions.

On the other hand, there are specialised nodes, called miners. Miners are computers solving a mathematical puzzle and adding transactions to a block; they receive transaction fees and block rewards in exchange. Whereas Bitcoin full nodes verify transactions, but do not receive block reward. That being said, there are other reasons that encourage people to run a full node, such as contributing to the overall security of Bitcoin’s network and increasing the security of transactions, which is crucial if you plan to conduct numerous bitcoin transactions in a day.

Nodes in the Lightning Network

A Lightning node is software that connects and interacts with the main blockchain network and also within the Lightning Network itself. The main blockchain here refers to any blockchain network, on which LN is applicable, such as Bitcoin and Litecoin.

Nodes in the Lightning Network differ from those in the Bitcoin network, mainly in how they verify transactions. Nodes in the Bitcoin network must verify every transaction on the blockchain, while the Lightning nodes only verify the transaction that is interacting directly with it.

A Lightning node is the gateway into the Lightning Network. You need to have at least one node running to be able to explore the LN technology and enjoy everything it has to offer. Thanks to decentralisation, anyone can run a node, regardless of the network they’re using.

What are the advantages of running a node?

1. You contribute to the network.

2. You will have full custody of your crypto.

By running your node, there’s no need to trust intermediaries with the custody of your coins. Moreover, you don’t have to worry about trusting another node’s information because you will download the blockchain’s entire history into your node.

3. You can earn some sats by routing payments.

Once you start running your node, you could pass Lightning payments across the network and earn a few sats in exchange.

Learn how to run a Lightning Node

Thanks to the innovation and development built on top of the Lightning Network, running a node is not as hard as it seems. Here’s the step-by-step guide:

Step 1: Get the hardware and equipment

Running your noderequires an initial investment in hardware.There are quite a few options out there—one of the most user-friendly ones is Raspberry Pi.

Other equipment that you need to prepare are:

  • Micro SD card and 1 terabyte SSD hard drive for data storage

  • LCD screen 3.5″ RPi Display, GPIO connection, XPT2046 Touch Controller

  • 5FT Ethernet cable

  • Power source

Please note that you don’t have to buy a Raspberry Pi device to run your node; you can do it with your computer. However, running your node on a dedicated device will minimize the attack surface of the software environment. Attack surfaces can be digital and physical, therefore a computer that is also used for navigating through the internet will be more vulnerable to a digital attack.

Step 2: Install the software.

The Raspberry Pi needs to be loaded with a specific software—RaspiBlitz—and written on the memory card.

Raspberry Pi Imager is the easiest way to install the software into your Raspberry Pi device. Look for a tutorial online for your operating system and follow the instructions. Here’s also a video that will help you use Imager.

As an alternative to RaspiBlitz, separate software such as Umbrel can also be installed on a Raspberry Pi computer or a regular PC.

Step 3: Connect to the network

Once you have installed the software, a step-by-step guide will take you through setting up a wallet and load it.

The next step would be to download the blockchain. Keep in mind that this process can take several hours to a couple of days.

Finally, open a lightning channel, connect to a node, and that’s it. You’re all set to start sending BTC from your node!

Connect to Bitfinex Lightning nodes to route payments

When you run a Lightning node, you must then open one or more payment channels to another node to route payments through them, otherwise, the node will not be able to send payments.

Pro tip: You need to open a channel to a reputable node with an excellent capacity to send BTC over the network.

A node with high capacity means more bitcoin is locked into that node than other nodes. Here you can see a visualisation of the subset of nodes and their payment channels with each other.

With two Lightning nodes, Bitfinex has, at this date, a combined public capacity of over 260 BTC. These nodes provide the network with two payment routing services with low fees.

 Connect to Bitfinex Lightning nodes!

https://ln.bitfinex.com/

The post The Lightning Nodes – A beginner’s guide appeared first on Bitfinex blog.

인기 뉴스

How to Set Up and Use Trust Wallet for Binance Smart Chain
#Bitcoin#Bitcoins#Config+2 더 많은 태그

How to Set Up and Use Trust Wallet for Binance Smart Chain

Your Essential Guide To Binance Leveraged Tokens

Your Essential Guide To Binance Leveraged Tokens

How to Sell Your Bitcoin Into Cash on Binance (2021 Update)
#Subscriptions

How to Sell Your Bitcoin Into Cash on Binance (2021 Update)

What is Grid Trading? (A Crypto-Futures Guide)

What is Grid Trading? (A Crypto-Futures Guide)

Cryptohopper에서 무료로 거래를 시작하세요!

무료 사용 - 신용카드 필요 없음

시작하기
Cryptohopper appCryptohopper app

면책 조항: Cryptohopper는 규제 기관이 아닙니다. 암호화폐 봇 거래에는 상당한 위험이 수반되며 과거 실적이 미래 결과를 보장하지 않습니다. 제품 스크린샷에 표시된 수익은 설명용이며 과장된 것일 수 있습니다. 봇 거래는 충분한 지식이 있거나 자격을 갖춘 재무 고문의 조언을 구한 경우에만 참여하세요. Cryptohopper는 어떠한 경우에도 (a) 당사 소프트웨어와 관련된 거래로 인해, 그로 인해 또는 이와 관련하여 발생하는 손실 또는 손해의 전부 또는 일부 또는 (b) 직접, 간접, 특별, 결과적 또는 부수적 손해에 대해 개인 또는 단체에 대한 어떠한 책임도 지지 않습니다. Cryptohopper 소셜 트레이딩 플랫폼에서 제공되는 콘텐츠는 Cryptohopper 커뮤니티 회원이 생성한 것이며 Cryptohopper 또는 그것을 대신한 조언이나 추천으로 구성되지 않는다는 점에 유의하시기 바랍니다. 마켓플레이스에 표시된 수익은 향후 결과를 나타내지 않습니다. Cryptohopper의 서비스를 사용함으로써 귀하는 암호화폐 거래와 관련된 내재적 위험을 인정하고 수락하며 발생하는 모든 책임이나 손실로부터 Cryptohopper를 면책하는 데 동의합니다. 당사의 소프트웨어를 사용하거나 거래 활동에 참여하기 전에 당사의 서비스 약관 및 위험 공개 정책을 검토하고 이해하는 것이 필수적입니다. 특정 상황에 따른 맞춤형 조언은 법률 및 재무 전문가와 상담하시기 바랍니다.

©2017 - 2024 저작권: Cryptohopper™ - 판권 소유.