Author

Topic: Lightning Node Help (Read 291 times)

legendary
Activity: 1876
Merit: 3132
April 27, 2019, 02:04:46 PM
#17
Not sure what i'm supposed to be calling it haha. I guess really it's just bitcoin core that i'm opening? with an attachment of some sort for lightning?

Yeah. This app is said to make it easier to deploy Bitcoin Core and LND (Lightning Network node software). I would prefer do it on my own rather than use such software (even if it's open-source).
newbie
Activity: 10
Merit: 9
April 27, 2019, 01:42:51 PM
#16
https://github.com/lightning-power-users/node-launcher/releases

Not sure what i'm supposed to be calling it haha. I guess really it's just bitcoin core that i'm opening? with an attachment of some sort for lightning?
legendary
Activity: 3430
Merit: 3080
April 27, 2019, 03:40:17 AM
#15
1.) Closed Node Launcher (was showing 100% synced but didn’t have little green dot beside BTC in tray)
...
3.) Closed Bitcoin core and opened the Node Launcher

what's node launcher ? Huh
newbie
Activity: 10
Merit: 9
April 26, 2019, 10:39:36 AM
#14
SUCCESS! Thanks everyone here for your help. If I need to close this thread or mark it in some way let me know. Here’s what I did if anyone else runs into this problem:

1.) Closed Node Launcher (was showing 100% synced but didn’t have little green dot beside BTC in tray)
2.) Installed BItcoin core and let it sync overnight (was done the next morning)
3.) Closed Bitcoin core and opened the Node Launcher
4.) Synced in about half hour, and got little green dot next to BTC in tray

Now in the process of setting up the node and opening some channels. Woo!
newbie
Activity: 10
Merit: 9
April 25, 2019, 03:34:43 PM
#13
So, woke up this morning to 100% synced, but the little dot on the BTC symbol was still red. The console said “out of memory”.  I closed the program and re-opened, and it has been re-syncing ever since. Now back to 90% or so with 5 hrs left Sad

What is supposed to happen when it’s done? I thought that the little dot should have turned green? Once that happened I was going to install the Jewel chrome plugin and continue the instructions from the medium post.

Any thoughts/help appreciated.
legendary
Activity: 3430
Merit: 3080
April 25, 2019, 02:30:48 AM
#12
-datadir= -dbcache=

Changing blocks directory is a little bit more tricky. Keep chainstate folder on the HDD and move the other data folders to your SSD. While being in the data directory on the SSD, run ln -s /path/to/chainstate

no no no

the other way round!

chainstate (i.e. datadir) goes on your small + fast disk (SSD)
blocks goes on your large + slow disk (mechanical HDD)


chainstate is the UTXO set, which is changing very rapidly during sync. An SSD does that job much better than a mechanical disk
newbie
Activity: 10
Merit: 9
April 25, 2019, 12:52:05 AM
#11
Thanks for the help guys. At 97.45% - hopefully it finishes tonight.

Look forward to learning lots on this forum!
legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
April 24, 2019, 12:27:23 PM
#10
I have no idea how to link chainstate, though. I am not sure if a normal folder shortcut will do the trick.

On windows, you can use mklink command. Example

Code:
mklink /D
Code:
mklink /D d:\current\bitcoin\directory\chainstate c:\path\to\chainstate

There's extensive guide to split Bitcoin Core file at https://en.bitcoin.it/wiki/Splitting_the_data_directory
legendary
Activity: 1876
Merit: 3132
April 24, 2019, 11:19:12 AM
#9
And if running Windows?

Right-click your Bitcoin Core shortcut and select Properties. Add the lines which I wrote in my previous post after bitcoin-qt.exe. Make sure that there is space between .exe and dash. I have no idea how to link chainstate, though. I am not sure if a normal folder shortcut will do the trick.
newbie
Activity: 10
Merit: 9
April 24, 2019, 11:03:12 AM
#8
And if running Windows?
legendary
Activity: 1876
Merit: 3132
April 24, 2019, 11:00:22 AM
#7
Thanks guys. ^ Do I do this through the Bitcoin Console? apologies... very new to this.

If you are running a Linux based OS then it will be fairly easily. Add the following lines to the command which launches Bitcoin Core.

-datadir= -dbcache=

Changing blocks directory is a little bit more tricky. Keep chainstate folder on the HDD and move the other data folders to your SSD. While being in the data directory on the SSD, run ln -s /path/to/chainstate
newbie
Activity: 10
Merit: 9
April 24, 2019, 08:56:07 AM
#6
1. set dbcache to 6 or 8 GB (assuming you're running your OS directly, not in a VM. reduce that if you're using a VM)
2. set blocksdir to a directory on your HDD
3. set datadir to a directory on your SDD

put a text file bitcoin.conf in datadir, put those settings as lines in bitcoin.conf (default datadir is different depending on OS)

that will speed up the syncing


Thanks guys. ^ Do I do this through the Bitcoin Console? apologies... very new to this.
legendary
Activity: 3430
Merit: 3080
April 24, 2019, 07:25:54 AM
#5
1. set dbcache to 6 or 8 GB (assuming you're running your OS directly, not in a VM. reduce that if you're using a VM)
2. set blocksdir to a directory on your HDD
3. set datadir to a directory on your SDD

put a text file bitcoin.conf in datadir, put those settings as lines in bitcoin.conf (default datadir is different depending on OS)

that will speed up the syncing
copper member
Activity: 445
Merit: 4
April 24, 2019, 05:01:53 AM
#4
Trying lightning contacts I think ordinary computers will meet the update synchronization conditions. I found some old hardware to assemble a CPU (Intel) Intel (R) Core (TM) i5-3470 CPU @ 3.20 GHz.

CPU core number 4, CPU default frequency 3200 Mhz, ASUS B75M-A motherboard, memory 8GB, 500G SSD solid-state SSD hard disk, Internet 100 or so, SSD hard disk solid-state like this thing. I appreciate the pressure-free speed of reading and writing.
legendary
Activity: 1876
Merit: 3132
April 24, 2019, 03:28:14 AM
#3
It seems to have slowed down significantly in the past few hours. I just replaced the HDD last night (realized during previous sync attempt it was done for).

There is nothing to worry about. The synchronization always slows down when it gets closer to 100%. In my case, it took 3 days even though my CPU is not bad and I have a decent Internet connection (250mbp/s).

Has anyone gone through this process before with a similar (garbage) PC?

I helped @Zand_ with setting up his Bitcoin and Lightning Network nodes on a Raspberry Pi which is inferior to your PC. If you need any help with LND, feel free to post your questions in this section. I will try to answer them.
legendary
Activity: 2730
Merit: 7065
April 24, 2019, 03:18:42 AM
#2
I do remember reading somewhere that a dual core processor (or better) is recommended - no idea where I read it though. You need a minimum of 2GB of RAM and probably around 300 GB of free disk space for all the downloads.
newbie
Activity: 10
Merit: 9
April 24, 2019, 12:11:46 AM
#1
Hello,

I am trying to sync up a lightning node (as per https://medium.com/lightning-power-users/windows-macos-lightning-network-284bd5034340) but not sure I have the hardware that will allow it to work.

I found this computer in a dumpster, rebuilt it, and added a few parts. It's running an old xeon processor (2.67 GHz), 12 GB of DDR3 RAM, an 80GB SSD, 500GB HDD (64MB Cache). My internet is 100 up/down.

I've been syncing for about 24 hours at this point and the ETA shows 12 hours remaining, with 77.48% done. It seems to have slowed down significantly in the past few hours. I just replaced the HDD last night (realized during previous sync attempt it was done for).

Has anyone gone through this process before with a similar (garbage) PC? Also trying to get Lightning Labs new desktop wallet up and running on my laptop. Very into this stuff. Any insight is appreciated.

Thanks.
Jump to: