Bitcoin Forum
May 30, 2024, 02:35:43 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: newb- Lightning node questions  (Read 280 times)
gabeh73-btc (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 1


View Profile
December 31, 2018, 12:30:30 AM
Merited by LoyceV (1)
 #1

I am trying to install a lightning node on a linux mint OS. I have gotten to the past where I enter:

$ bitcoind -daemon
2018-12-30T21:09:08Z Bitcoin Core version v0.17.0.0-ge1ed37edaedc85b8c3468bd9a726046344036243 (release build)
2018-12-30T21:09:08Z InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1
2018-12-30T21:09:08Z Assuming ancestors of block 0000000000000000002e63058c023a9a1de233554f28c7b21380b6c9003f36a8 have valid signatures.
2018-12-30T21:09:08Z Setting nMinimumChainWork=0000000000000000000000000000000000000000028822fef1c230963535a90d
2018-12-30T21:09:08Z Using the 'sse4(1way),sse41(4way),avx2(8way)' SHA256 implementation
2018-12-30T21:09:08Z Using RdRand as an additional entropy source
Bitcoin server starting



it seems to be running or synching? I don't even know....through searching I found that I could type this command to find out what is going on

gabe@gabe-TECRA-C50-B ~/.bitcoin $ ps aux | grep bitcoin
gabe      5733  0.0  0.0  14224   936 pts/2    S+   19:17   0:00 grep --color=auto bitcoin
gabe      7242 37.7 47.6 4764628 1886536 ?     Ssl  16:09  71:00 bitcoind -daemon
gabe@gabe-TECRA-C50-B ~/.bitcoin $ ps aux | grep bitcoin
gabe      5859  0.0  0.0  14224   940 pts/2    S+   19:18   0:00 grep --color=auto bitcoin
gabe      7242 37.6 46.1 4748392 1825568 ?     Ssl  16:09  71:06 bitcoind -daemon
gabe@gabe-TECRA-C50-B ~/.bitcoin $ ps aux | grep bitcoin
gabe      7242 36.9 50.7 4773740 2007572 ?     Ssl  16:09  72:39 bitcoind -daemon
gabe      7252  0.0  0.0  14224   864 pts/2    S+   19:25   0:00 grep --color=auto bitcoin
gabe@gabe-TECRA-C50-B ~/.bitcoin $ ps aux | grep bitcoin
gabe      7242 36.3 49.6 4862572 1965732 ?     Ssl  16:09  74:49 bitcoind -daemon
gabe      8812  0.0  0.0  14224   924 pts/2    S+   19:34   0:00 grep --color=auto bitcoin



it seems the Daemon is running...but anyone know what the #'s mean or can tell me how much longer I can expect this to take I'd be grateful. Also I assume I cannot run "$ lightningd" command until this thing is done?
mikeywith
Legendary
*
Offline Offline

Activity: 2240
Merit: 6414


be constructive or S.T.F.U


View Profile
December 31, 2018, 01:05:27 AM
 #2

this does not seem like daemon is running, did you try

Code:
bitcoin-cli getinfo

or

Code:
bitcoin-cli getblockchaininfo

also you should post the bitcoin.conf info

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
KingZee
Sr. Member
****
Offline Offline

Activity: 924
Merit: 452


Check your coin privilege


View Profile
December 31, 2018, 06:49:01 AM
 #3


it seems the Daemon is running...but anyone know what the #'s mean or can tell me how much longer I can expect this to take I'd be grateful. Also I assume I cannot run "$ lightningd" command until this thing is done?

To get the status of how synced is your blockchain copy run

tail -f ~/.bitcoin/debug.log

bitcoind prints to the debug.log file the current block height and the % of progress while it's syncing. If the progess is at 1.00 it means you're done and your node is running.

Beep boop beep boop
mocacinno
Legendary
*
Offline Offline

Activity: 3402
Merit: 5004


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
January 03, 2019, 07:30:49 PM
Merited by Jet Cash (2)
 #4

I find it strange to see debug output on the console... I have written a service script to automatically (re)start my daemon in case of a reboot or a crash, but if i remember correctly from the last time i manually started a daemon, the output was minimal....

Like the others have said, the output of the debug.log and the content of bitcoin.conf (minus username, password or tiken) could help...

It might also be a good idear to give some extra info: which walktrough were you following, which lightning daemon were you installing, were you installing on a physical machine or on a vps (+specs).

If you used the default ports following command should also work to check if bitcoind is running (it checks which process is listening on port 8333):

lsof -i :8333

Or,
ps -ef | grep bitcoin
But you already tried this if im not mistaking

Ps: i'm not @ the office, so any command or recommandation i give is from memory... Typo's can happen

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
sat0shiswife
Newbie
*
Offline Offline

Activity: 9
Merit: 5


View Profile
January 23, 2019, 02:54:14 PM
 #5


it seems the Daemon is running...but anyone know what the #'s mean or can tell me how much longer I can expect this to take I'd be grateful. Also I assume I cannot run "$ lightningd" command until this thing is done?

I think it just needs time to sync. Sometimes it can take a LONG time.

Also, there is no "lightningd", there is LND though, as well as c-lightning libraries. I havent used c-lightning, but getting LND up and running with bitcoind on raspbian wasn't that difficult. Other than the LONG times for the initial sync.
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3074



View Profile
January 24, 2019, 11:23:56 AM
 #6

there is no "lightningd", there is LND though, as well as c-lightning libraries

lightningd is the c-lightning executable file


LONG times for the initial sync.

Takes a few hours on a properly configured desktop machine (with +10 Mbit/s internet). Do that first on an external disk, then plug that external disk into your RasPi, saves alot of time

Vires in numeris
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!