Author

Topic: Lightning Node (Read 259 times)

newbie
Activity: 27
Merit: 4
July 10, 2018, 04:25:58 PM
#15
After reading a bit online I just realised that maybe I have just the qt installed. proceding to install the cli as well
newbie
Activity: 27
Merit: 4
July 10, 2018, 01:58:54 PM
#14
https://ibb.co/n9zYmo

running that command says bitcoin-cli command not found
legendary
Activity: 1624
Merit: 2481
July 10, 2018, 01:50:34 PM
#13
znd@znd-desktop:~/lightning/lightning$ ./lightningd --alias=znd --rgb=42f459 --network=bitcoin  --bitcoin-datadir ~/.bitcoin --log-level=debug
bash: ./lightningd: Is a directory

Can you list the output of ls -al ?
But if lightningd is a directory, then open it and run the command inside the directory where your executable (called lightningd) is located.
newbie
Activity: 27
Merit: 4
July 10, 2018, 12:58:19 PM
#12
I get this

znd@znd-desktop:~/lightning/lightning$ ./lightningd --alias=znd --rgb=42f459 --network=bitcoin  --bitcoin-datadir ~/.bitcoin --log-level=debug
bash: ./lightningd: Is a directory


if someone can dm me if he has 5 mins I can share teamviewer credentials to get this running. I would appreciate it a lot
legendary
Activity: 1624
Merit: 2481
July 10, 2018, 02:43:23 AM
#11
1.When I typed that I get:
znd@znd-desktop:~/lightning/lightning$ lightningd --alias=znd --rgb=42f459 --network=bitcoin  --bitcoin-datadir ~/.bitcoin --log-level=debug
lightningd: command not found

Command not found appears because you didn't set a path variable.
Navigate into the folder again and use ./lightningd instead of lightningd.
In your case: ./lightningd --alias=znd --rgb=42f459 --network=bitcoin  --bitcoin-datadir ~/.bitcoin --log-level=debug


2.what is the difference between bitcoind and the core? bitcoin core is fully synchronised and both ways connections.

The executable named core is the GUI version, bitcoind runs without a GUI and is a daemon.
newbie
Activity: 27
Merit: 4
July 10, 2018, 01:13:45 AM
#10
Some basic linux proficiency is required. When they say you should have the good sense to omit the <> symbols. Try this:

Code:
lightningd --alias=znd --rgb=42f459 --network=bitcoin  --bitcoin-datadir ~/.bitcoin --log-level=debug


Also bitcoind has to be synchronized. Has it downloaded all 180GB of the blockchain?


I am not linux savy but thank you for replying. Doing my best to make this work without having the technical skills and feel so appreciative when someone answers one of many my noob questions.

1.When I typed that I get:
znd@znd-desktop:~/lightning/lightning$ lightningd --alias=znd --rgb=42f459 --network=bitcoin  --bitcoin-datadir ~/.bitcoin --log-level=debug
lightningd: command not found

2.what is the difference between bitcoind and the core? bitcoin core is fully synchronised and both ways connections.

I'm sure these are silly questions.. but I really want to make the server working
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
July 09, 2018, 03:45:48 PM
#9
Some basic linux proficiency is required. When they say you should have the good sense to omit the <> symbols. Try this:

Code:
lightningd --alias=znd --rgb=42f459 --network=bitcoin  --bitcoin-datadir ~/.bitcoin --log-level=debug


Also bitcoind has to be synchronized. Has it downloaded all 180GB of the blockchain?

Wow. How did I miss that, it's been longer than I thought since I used linux then Cry.
legendary
Activity: 3682
Merit: 1580
July 09, 2018, 03:05:00 PM
#8
Some basic linux proficiency is required. When they say you should have the good sense to omit the <> symbols. Try this:

Code:
lightningd --alias=znd --rgb=42f459 --network=bitcoin  --bitcoin-datadir ~/.bitcoin --log-level=debug


Also bitcoind has to be synchronized. Has it downloaded all 180GB of the blockchain?
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
July 09, 2018, 03:02:00 PM
#7
stuck here. bitcoin core IS running in the background.

https://ibb.co/g0197T

You answered your own question I think, close bitcoin core and see if it works again or not.

You want the bitcoind to be running not bitcoin qt/core
newbie
Activity: 27
Merit: 4
July 09, 2018, 02:57:14 PM
#6
stuck here. bitcoin core IS running in the background.

https://ibb.co/g0197T
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
July 08, 2018, 06:26:26 AM
#5
So you ran this:
Code:
lightningd --alias= --rgb= --network=bitcoin --lightning-dir= --bitcoin-datadir --log-level=debug[/quote]

The ./configure was what was needed to run, you usually also need make and/or make/install straight after it (sometimes ./autogen.sh is needed but that normally sets up the configure bit).

You could try adding "" on the path names to see if that solves the issue of the syntax errors.

Just to clarify, have you gone through this (or similar):
Code:
sudo apt-get update
sudo apt-get install -y \
  autoconf automake build-essential git libtool libgmp-dev \
  libsqlite3-dev python python3 net-tools zlib1g-dev
git clone https://github.com/ElementsProject/lightning.git
cd lightning
./configure
make

From here

Try running just this and see if it throws an error:
Code:
lightningd/lightningd --network=bitcoin --log-level=debug
newbie
Activity: 27
Merit: 4
July 08, 2018, 06:17:59 AM
#4
figured I had to use ./configure

now stuck here:

~/lightning$ lightningd --alias= --rgb=<#42f459> --network=bitcoin --lightning-dir= --bitcoin-datadir <~/.bitcoin/> --log-level=debug
bash: syntax error near unexpected token `newline'

newbie
Activity: 27
Merit: 4
July 08, 2018, 05:45:08 AM
#3
as I said I have ubuntu
tried that tutorial and I get a error

~/lightning$ make
The 1990s are calling: use ./configure!
The 1990s are calling: use ./configure!
Makefile:182: recipe for target 'ccan/config.h' failed
make: *** [ccan/config.h] Error 1
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
newbie
Activity: 27
Merit: 4
July 08, 2018, 05:07:30 AM
#1
I have a ubuntu working Bitcoin core full node. Can someone point me the right dirrection to install on top of it a lightning node?
Jump to: