Bitcoin Forum
January 21, 2021, 02:58:14 PM *
News: Latest Bitcoin Core release: 0.21.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 [13] 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 »
  Print  
Author Topic: The Lightning Network FAQ  (Read 14009 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic. (18 posts by 15 users deleted.)
darosior
Sr. Member
****
Offline Offline

Activity: 282
Merit: 431



View Profile WWW
February 18, 2020, 03:43:30 PM
Merited by Carlton Banks (3), joniboini (2), fillippone (2), johhnyUA (1), ETFbitcoin (1)
 #241

I am currently running an LND node (TOR). What is currently the most stable Android wallet that allows me to connect my own LND node? I tried Zap wallet but apparently there are issues with the Android version when running it on TOR.


What you (likely) need is to set your LND node up as a Tor "Hidden Service". This will give your node a .onion IP address to connect to using your Android wallet, I don't think it's possible to make an incoming connection to a standard Tor IP. Using a tor hidden service is actually a really easy way to get a permanent & reachable IP address for any device, and for any reason.

To follow-up here are the setup instructions

Install tor (`apt install tor` if you are on a Debian-like >= 9), add this to your /etc/tor/torrc:
Code:
ControlPort 9051
CookieAuthentication 1
CookieAuthFileGroupReadable 1

HiddenServiceDir /var/lib/tor/my-service_v3/
HiddenServiceVersion 3
HiddenServicePort 1234 127.0.0.1:9735 # Change the port at will
Then restart it (`systemctl restart tor@default`), and
Code:
cat /var/lib/tor/my-service_v3/hostname
will give you the address of your hidden service which you can connect to.

If that helped with your remote control consider running a Tor ralay or bridgeSmiley

Github profile ~ GPG key: 590B7292695AFFA5B672CBB2E13FC145CD3F4304
1611241094
Hero Member
*
Offline Offline

Posts: 1611241094

View Profile Personal Message (Offline)

Ignore
1611241094
Reply with quote  #2

1611241094
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1611241094
Hero Member
*
Offline Offline

Posts: 1611241094

View Profile Personal Message (Offline)

Ignore
1611241094
Reply with quote  #2

1611241094
Report to moderator
1611241094
Hero Member
*
Offline Offline

Posts: 1611241094

View Profile Personal Message (Offline)

Ignore
1611241094
Reply with quote  #2

1611241094
Report to moderator
Wind_FURY
Legendary
*
Offline Offline

Activity: 1708
Merit: 1065


www.Crypto.Games: Multiple coins, multiple games


View Profile
February 28, 2020, 06:35:40 AM
 #242

How to deploy a cloud-based Lightning node, in the easiest way possible, in common cloud-computing services, that can run 24/7? Asking for a friend.

Suggested easy LN node software, cloud-computing service, and other suggestions welcome.

▄▄█████████▄▄
▄█████████████████▄
▄████▀▀▀▀█████▀▀▀▀████▄
████▀██████▀█▀██████▀████
██████████████████████████
▐█████▄███████████████▄█████▌
▐███████▄▄█████████▄▄███████▌
▐██████▀█████████████▀██████▌
▐███████████████████████████▌
▀██████████████████████▀
▀████▄████▄▀▀▄████▄████▀
▀███████▀███▀███████▀
▀▀█████████████▀▀
  ▀▀▀▀▀▀▀▀▀
|
★.★.★   8 GAMES   ★   WAGERING CONTEST   ★   JACKPOTS   ★   FAUCET   ★.★.★
  ▄▄▄
▄█ ▄▀█▄
██ ▄▀██
 ▀▄▄█▀
  ▄▄▄
▄█▀ ▀█▄
██   ██
 ▀█▄█▀
  ▄▄▄
▄█▀█▀█▄

 ▀███▀
  ▄▄▄
▄██▀▄█▄
██▀▄███
 ▀▄▄▄▀
  ▄▄▄
▄█ ▄▀█▄
██ █ ██
 ▀▄▄█▀
  ▄▄▄
▄▀▄▄▄▀▄
█▀▀▀▀▄█
 ▀███▀
  ▄▄▄
▄▀   ▀▄
█  █▄ █
 ▀▄██▀
  ▄▄▄
▄█▀ ▀█▄
██   ██
 ▀█▄█▀
  ▄▄▄
▀ █ ▀
▀▀▄▀▀
 ▀▄█▄
  ▄▄▄
▄█ ▄▀█▄
██ ▄▀██
 ▀▄▄█▀
|
LoyceV
Legendary
*
Online Online

Activity: 2100
Merit: 7423


Thick-Skinned Gang Leader


View Profile WWW
February 28, 2020, 10:43:11 AM
 #243

cloud-computing services
Slightly related: when I tried to run Bitcoin Core on a cheap VPS, it kept getting killed. This link explains how to get around this. It's written for a Forkcoin, but also worked on the real Bitcoin:
Quote
The minute the service provider sees the bitcoin daemon running they kill it.
A dedicated cloud provider that charges you for CPU cycles probably won't have this problem, but a cheap VPS will.

darosior
Sr. Member
****
Offline Offline

Activity: 282
Merit: 431



View Profile WWW
February 28, 2020, 01:07:46 PM
Merited by ETFbitcoin (1), Rath_ (1)
 #244

How to deploy a cloud-based Lightning node, in the easiest way possible, in common cloud-computing services, that can run 24/7? Asking for a friend.

Suggested easy LN node software, cloud-computing service, and other suggestions welcome.
BTCPayServer, I guess ?
Lightning Network page: https://docs.btcpayserver.org/features/lightningnetwork

Github profile ~ GPG key: 590B7292695AFFA5B672CBB2E13FC145CD3F4304
Wind_FURY
Legendary
*
Offline Offline

Activity: 1708
Merit: 1065


www.Crypto.Games: Multiple coins, multiple games


View Profile
February 29, 2020, 11:26:11 AM
 #245

I believe we need a complete, newbie-friendly guide for easy node deployment for the cloud, with careful suggestions for how to open/maintain channels, "for fun, and maybe profit". Cool

▄▄█████████▄▄
▄█████████████████▄
▄████▀▀▀▀█████▀▀▀▀████▄
████▀██████▀█▀██████▀████
██████████████████████████
▐█████▄███████████████▄█████▌
▐███████▄▄█████████▄▄███████▌
▐██████▀█████████████▀██████▌
▐███████████████████████████▌
▀██████████████████████▀
▀████▄████▄▀▀▄████▄████▀
▀███████▀███▀███████▀
▀▀█████████████▀▀
  ▀▀▀▀▀▀▀▀▀
|
★.★.★   8 GAMES   ★   WAGERING CONTEST   ★   JACKPOTS   ★   FAUCET   ★.★.★
  ▄▄▄
▄█ ▄▀█▄
██ ▄▀██
 ▀▄▄█▀
  ▄▄▄
▄█▀ ▀█▄
██   ██
 ▀█▄█▀
  ▄▄▄
▄█▀█▀█▄

 ▀███▀
  ▄▄▄
▄██▀▄█▄
██▀▄███
 ▀▄▄▄▀
  ▄▄▄
▄█ ▄▀█▄
██ █ ██
 ▀▄▄█▀
  ▄▄▄
▄▀▄▄▄▀▄
█▀▀▀▀▄█
 ▀███▀
  ▄▄▄
▄▀   ▀▄
█  █▄ █
 ▀▄██▀
  ▄▄▄
▄█▀ ▀█▄
██   ██
 ▀█▄█▀
  ▄▄▄
▀ █ ▀
▀▀▄▀▀
 ▀▄█▄
  ▄▄▄
▄█ ▄▀█▄
██ ▄▀██
 ▀▄▄█▀
|
darosior
Sr. Member
****
Offline Offline

Activity: 282
Merit: 431



View Profile WWW
March 03, 2020, 03:45:30 PM
 #246

I believe we need a complete, newbie-friendly guide for easy node deployment for the cloud, with careful suggestions for how to open/maintain channels, "for fun, and maybe profit". Cool
BTCPay are hard to beat to the deploy-a-complete-Bitcoin-stack-in-three-commands game, I think.  Smiley

Github profile ~ GPG key: 590B7292695AFFA5B672CBB2E13FC145CD3F4304
Wind_FURY
Legendary
*
Offline Offline

Activity: 1708
Merit: 1065


www.Crypto.Games: Multiple coins, multiple games


View Profile
March 04, 2020, 06:33:12 AM
 #247

I believe we need a complete, newbie-friendly guide for easy node deployment for the cloud, with careful suggestions for how to open/maintain channels, "for fun, and maybe profit". Cool
BTCPay are hard to beat to the deploy-a-complete-Bitcoin-stack-in-three-commands game, I think.  Smiley


OK, I will check his progress, or if he wasn't lazy and actually started setting up everything.

Do you have suggestions for a cheap cloud-computing service that's friendly to Bitcoin/Lightning?

▄▄█████████▄▄
▄█████████████████▄
▄████▀▀▀▀█████▀▀▀▀████▄
████▀██████▀█▀██████▀████
██████████████████████████
▐█████▄███████████████▄█████▌
▐███████▄▄█████████▄▄███████▌
▐██████▀█████████████▀██████▌
▐███████████████████████████▌
▀██████████████████████▀
▀████▄████▄▀▀▄████▄████▀
▀███████▀███▀███████▀
▀▀█████████████▀▀
  ▀▀▀▀▀▀▀▀▀
|
★.★.★   8 GAMES   ★   WAGERING CONTEST   ★   JACKPOTS   ★   FAUCET   ★.★.★
  ▄▄▄
▄█ ▄▀█▄
██ ▄▀██
 ▀▄▄█▀
  ▄▄▄
▄█▀ ▀█▄
██   ██
 ▀█▄█▀
  ▄▄▄
▄█▀█▀█▄

 ▀███▀
  ▄▄▄
▄██▀▄█▄
██▀▄███
 ▀▄▄▄▀
  ▄▄▄
▄█ ▄▀█▄
██ █ ██
 ▀▄▄█▀
  ▄▄▄
▄▀▄▄▄▀▄
█▀▀▀▀▄█
 ▀███▀
  ▄▄▄
▄▀   ▀▄
█  █▄ █
 ▀▄██▀
  ▄▄▄
▄█▀ ▀█▄
██   ██
 ▀█▄█▀
  ▄▄▄
▀ █ ▀
▀▀▄▀▀
 ▀▄█▄
  ▄▄▄
▄█ ▄▀█▄
██ ▄▀██
 ▀▄▄█▀
|
A.N.D.
Newbie
*
Offline Offline

Activity: 19
Merit: 2


View Profile
March 14, 2020, 08:40:59 PM
 #248

Is it possible that the Lightning network in the future will adversely affect the security of the Bitcoin network?
Since there is no commission for miners for transactions in this network.
Rath_
aka BitCryptex
Legendary
*
Online Online

Activity: 1190
Merit: 1739


Write @Rath or quote my post to notify me


View Profile WWW
March 14, 2020, 08:46:01 PM
 #249

Since there is no commission for miners for transactions in this network.

I don't think anyone would pay a few thousand sats for a 1 sat transaction. While miners don't earn money on the Lighting Network transactions, they are paid for establishing and settling down the balance of Lightning Network channels.

Is it possible that the Lightning network in the future will adversely affect the security of the Bitcoin network?

The Lightning Network can't function without the blockchain. It won't replace on-chain transactions. It might decrease some of the load and encourage people to spend Bitcoin on small things since it won't cost a fortune.

A.N.D.
Newbie
*
Offline Offline

Activity: 19
Merit: 2


View Profile
March 14, 2020, 08:56:08 PM
 #250

Since there is no commission for miners for transactions in this network.

I don't think anyone would pay a few thousand sats for a 1 sat transaction. While miners don't earn money on the Lighting Network transactions, they are paid for establishing and settling down the balance of Lightning Network channels.

Is it possible that the Lightning network in the future will adversely affect the security of the Bitcoin network?

The Lightning Network can't function without the blockchain. It won't replace on-chain transactions. It might decrease some of the load and encourage people to spend Bitcoin on small things since it won't cost a fortune.

But if the Lightning network in the future will be popular and time will prove its safety, then there are few who will want to pay a commission to the miner.
Rath_
aka BitCryptex
Legendary
*
Online Online

Activity: 1190
Merit: 1739


Write @Rath or quote my post to notify me


View Profile WWW
March 14, 2020, 09:05:54 PM
 #251

But if the Lightning network in the future will be popular and time will prove its safety, then there are few who want to pay a commission to the miner.

I don't think so. While you have funds locked up in a channel, you have to either run a node or use a watchtower to make sure that your funds won't be stolen (assuming you spent some of your coins and don't use non-custodial wallet). Settling the balance at some point is unavoidable because of that and some other possible issues with the other party. Anyone willing to invest in Bitcoin long-term will still want to move their funds to some kind of cold storage. Miners are not going to stop earning on the fees anytime soon.

ETFbitcoin
Legendary
*
Offline Offline

Activity: 1750
Merit: 2646


NotYourKeys.org - Not Your Keys, Not Your Bitcoin


View Profile
March 15, 2020, 08:21:43 AM
 #252

Since there is no commission for miners for transactions in this network.

I don't think anyone would pay a few thousand sats for a 1 sat transaction. While miners don't earn money on the Lighting Network transactions, they are paid for establishing and settling down the balance of Lightning Network channels.

Is it possible that the Lightning network in the future will adversely affect the security of the Bitcoin network?

The Lightning Network can't function without the blockchain. It won't replace on-chain transactions. It might decrease some of the load and encourage people to spend Bitcoin on small things since it won't cost a fortune.

But if the Lightning network in the future will be popular and time will prove its safety, then there are few who will want to pay a commission to the miner.

That doesn't change the fact mentioned by @BitCryptex that using LN still need few on-chain transaction. Besides, IMO LN will only be used for micro-transaction, important transaction with big amount will keep using on-chain and few people prefer on-chain transaction if they rarely make transaction (e.g. holder)

Wind_FURY
Legendary
*
Offline Offline

Activity: 1708
Merit: 1065


www.Crypto.Games: Multiple coins, multiple games


View Profile
March 17, 2020, 07:25:08 AM
 #253

Since there is no commission for miners for transactions in this network.

I don't think anyone would pay a few thousand sats for a 1 sat transaction. While miners don't earn money on the Lighting Network transactions, they are paid for establishing and settling down the balance of Lightning Network channels.

Is it possible that the Lightning network in the future will adversely affect the security of the Bitcoin network?

The Lightning Network can't function without the blockchain. It won't replace on-chain transactions. It might decrease some of the load and encourage people to spend Bitcoin on small things since it won't cost a fortune.

But if the Lightning network in the future will be popular and time will prove its safety, then there are few who will want to pay a commission to the miner.


It's actually an open debate based on the assumption that Lightning/off-chain layers will be very popular. I believe Lightning will be its own niche like Bitcoin, the software experiment that "could fail".

Let's question/debate/argue/learn, BUT, let's also support the technologies to be free of the Central Bankers' grasp, through community and Bitcoin. Cool

▄▄█████████▄▄
▄█████████████████▄
▄████▀▀▀▀█████▀▀▀▀████▄
████▀██████▀█▀██████▀████
██████████████████████████
▐█████▄███████████████▄█████▌
▐███████▄▄█████████▄▄███████▌
▐██████▀█████████████▀██████▌
▐███████████████████████████▌
▀██████████████████████▀
▀████▄████▄▀▀▄████▄████▀
▀███████▀███▀███████▀
▀▀█████████████▀▀
  ▀▀▀▀▀▀▀▀▀
|
★.★.★   8 GAMES   ★   WAGERING CONTEST   ★   JACKPOTS   ★   FAUCET   ★.★.★
  ▄▄▄
▄█ ▄▀█▄
██ ▄▀██
 ▀▄▄█▀
  ▄▄▄
▄█▀ ▀█▄
██   ██
 ▀█▄█▀
  ▄▄▄
▄█▀█▀█▄

 ▀███▀
  ▄▄▄
▄██▀▄█▄
██▀▄███
 ▀▄▄▄▀
  ▄▄▄
▄█ ▄▀█▄
██ █ ██
 ▀▄▄█▀
  ▄▄▄
▄▀▄▄▄▀▄
█▀▀▀▀▄█
 ▀███▀
  ▄▄▄
▄▀   ▀▄
█  █▄ █
 ▀▄██▀
  ▄▄▄
▄█▀ ▀█▄
██   ██
 ▀█▄█▀
  ▄▄▄
▀ █ ▀
▀▀▄▀▀
 ▀▄█▄
  ▄▄▄
▄█ ▄▀█▄
██ ▄▀██
 ▀▄▄█▀
|
Indacoin
Sr. Member
****
Offline Offline

Activity: 411
Merit: 250


https://indacoin.com/


View Profile WWW
March 24, 2020, 10:38:27 AM
 #254

 BitCryptex, thank you for this job. Now I can refer to this topic many people who interested in how the Lightning Network work. God bless you!
samuel-sd
Member
**
Offline Offline

Activity: 142
Merit: 65


View Profile
March 27, 2020, 06:47:00 AM
 #255

Hi,
I compiled clightning with '--enable-developer' option:

Code:
./configure --enable-developer
make

Could you tell me what files are different from the regular version? I'd like to replace them in the docker image to run a container with developer version.
darosior
Sr. Member
****
Offline Offline

Activity: 282
Merit: 431



View Profile WWW
March 27, 2020, 11:11:33 AM
Merited by samuel-sd (1)
 #256

Hi,
I compiled clightning with '--enable-developer' option:

Code:
./configure --enable-developer
make

Could you tell me what files are different from the regular version? I'd like to replace them in the docker image to run a container with developer version.
Hi,

The `enable-developer` flag customizes the produced binary. It will enable new RPCs and (very slightly) change some behaviour.

Github profile ~ GPG key: 590B7292695AFFA5B672CBB2E13FC145CD3F4304
samuel-sd
Member
**
Offline Offline

Activity: 142
Merit: 65


View Profile
March 27, 2020, 09:29:08 PM
 #257

The `enable-developer` flag customizes the produced binary. It will enable new RPCs and (very slightly) change some behaviour.
Thanks

Which one? lightningd?

There are many binaries are generated during the compilation process.
darosior
Sr. Member
****
Offline Offline

Activity: 282
Merit: 431



View Profile WWW
March 27, 2020, 11:17:44 PM
 #258

The `enable-developer` flag customizes the produced binary. It will enable new RPCs and (very slightly) change some behaviour.
Thanks

Which one? lightningd?

There are many binaries are generated during the compilation process.
Hmm all of them (and if not, most of them), actually I should have used plural here Wink . Why are you interested in knowing exactly *which* binary will be modified ?

Github profile ~ GPG key: 590B7292695AFFA5B672CBB2E13FC145CD3F4304
samuel-sd
Member
**
Offline Offline

Activity: 142
Merit: 65


View Profile
March 27, 2020, 11:56:04 PM
Last edit: March 28, 2020, 05:10:09 AM by samuel-sd
Merited by LoyceV (4)
 #259

Hmm all of them (and if not, most of them), actually I should have used plural here Wink . Why are you interested in knowing exactly *which* binary will be modified ?
Because I am going to replace them in the docker image to make a docker container with the developer version.

UPD
I figured everything out.
I created a docker container with the developer version by changing this string in the Dockerfile

from this
Code:
RUN ./configure --prefix=/tmp/lightning_install --enable-static && make -j3 DEVELOPER=${DEVELOPER} && make install

to this
Code:
RUN ./configure --prefix=/tmp/lightning_install --enable-static --enable-developer && make -j3 DEVELOPER=${DEVELOPER} && make install

Thanks!
USBitcoinServices.Com
Sr. Member
****
Offline Offline

Activity: 1442
Merit: 267


Earn bitcoins every hour: USBitcoinServices.com


View Profile WWW
March 28, 2020, 01:08:01 AM
 #260

How many projects are using LN in their own blockchain and how often people/users are using this for their daily transactions? is there any way to see what's the growth it has per month?

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 [13] 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 »
  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!