Bitcoin Forum

Other => Beginners & Help => Topic started by: Jet Cash on June 26, 2018, 12:43:07 PM



Title: To newbies and juniors running full nodes.
Post by: Jet Cash on June 26, 2018, 12:43:07 PM
One of the first things I did when I joined Bitcoin Talk was to install core, and download the blockchain. Of course it was a bit smaller then, but it still took forever, especially as most of it was done over public WiFi. I'm not sure that I would try that again. :)

This thread is another chance for a select few of you to pick up a few merits. It's only open to Newbie and Junior members, and you must have installed, or be installing a full node for Bitcoin. This includes pruned nodes as well as those maintaining the full blockchain. Tell us about your setup and your storage ( external/internal and SSD/HDD ), and any problems you had starting. You will also have to let us know how long it took to download the blockchain, unless you managed to get a copy to save the download.


Title: Re: To newbies and juniors running full nodes.
Post by: Jet Cash on June 27, 2018, 06:21:08 AM
So it seems that there aren't any new Bitcoiners that are running full nodes. This is unfortunate if it is a general problem, as we need a supply of fresh nodes to preserve the decentralisation of Bitcoin. Running a pruned node is not so much of a hardship, but downloading the blockchain is a bit of a barrier. I'll see if I can think of a way to avoid having to do this.


Title: Re: To newbies and juniors running full nodes.
Post by: jackg on June 27, 2018, 11:48:51 AM
So it seems that there aren't any new Bitcoiners that are running full nodes. This is unfortunate if it is a general problem, as we need a supply of fresh nodes to preserve the decentralisation of Bitcoin. Running a pruned node is not so much of a hardship, but downloading the blockchain is a bit of a barrier. I'll see if I can think of a way to avoid having to do this.

I was hoping to find a solution to that also though I'm still waiting for my chain to download (I'm about 50 weeks behind). On my slow laptop, I have to say that I'm finding it an issue to keep it running - the full blockchain should be there in a few weeks. I'm using a 500GB HDD, my dbcache is 2gb with 4gb RAM and a dual core 2.5GHz processor.

@,jet cash, the download speed is A LOT faster now than it previously was when I  and probably you first installed it.



Bump!


Title: Re: To newbies and juniors running full nodes.
Post by: boulderchain on June 29, 2018, 06:39:51 PM
The first full node that I installed was from Ethereum. It took ages and this was the time I decided to invest in new hardware :D

The bitcoin setup was compared to ethereum quite easy. Just downloaded the source and used this tutorial to build the wallet and the daemon.
https://bitzuma.com/posts/compile-bitcoin-core-from-source-on-ubuntu/

Currently the wallet is not running 24/7, but I have planned to move it into a VM on a server.


Title: Re: To newbies and juniors running full nodes.
Post by: bedulook on June 29, 2018, 06:47:28 PM
I am now in the process, I have downloaded the bitcoincore but getting familiarize with it. I intent spending my time on alternative currency mining with masternodes and learn how things work. I am dedicating my second notebook, lenovo thinkpad as guinnea pig in this process.


Title: Re: To newbies and juniors running full nodes.
Post by: boulderchain on June 29, 2018, 07:21:28 PM
Ok, this thread was the motivation I needed to set it up again. Decided to check how long it will take to set up a new VPS and compile the wallet.

I used this guide to build the wallet.
https://gist.githubusercontent.com/itoonx/95aec9a3b4da01fd1fd724dffc056963/raw/72d1b8e1a5ae836b73192b50eaee35ccd75411d9/Compile%2520Bitcoin%2520Core%2520on%2520Ubuntu%252016.04%2520LTS

I got one error and I had to install libdb to fix it.
Code:
sudo apt-get install -y libdb4.8-dev libdb4.8++-dev

Next error
Quote
virtual memory exhausted: Cannot allocate memory

Moved to a local virtual machine with enough hardware resources, instead of the cloud server I used before.

While I was compiling the wallet on the other machine, I realized that the cloud server doesn't have enough storage.

Ok, enough troubleshooting for today. No bitcoin node for the moment.

Effort so far: about 30 minutes.


Title: Re: To newbies and juniors running full nodes.
Post by: jackg on June 29, 2018, 07:33:24 PM
Ok, this thread was the motivation I needed to set it up again. Decided to check how long it will take to set up a new VPS and compile the wallet.

I used this guide to build the wallet.
https://gist.githubusercontent.com/itoonx/95aec9a3b4da01fd1fd724dffc056963/raw/72d1b8e1a5ae836b73192b50eaee35ccd75411d9/Compile%2520Bitcoin%2520Core%2520on%2520Ubuntu%252016.04%2520LTS

I got one error and I had to install libdb to fix it.
Code:
sudo apt-get install -y libdb4.8-dev libdb4.8++-dev

Next error
Quote
virtual memory exhausted: Cannot allocate memory

Moved to a local virtual machine with enough hardware resources, instead of the cloud server I used before.

While I was compiling the wallet on the other machine, I realized that the cloud server doesn't have enough storage.

Ok, enough troubleshooting for today. No bitcoin node for the moment.

Effort so far: about 30 minutes.

Yes, running it on a VPS is not a good idea I found out also (they're generally against it as well so they might limit your usage to make it harder for you to run one).

Bitnodes have a small script you can run if you're on unix curl https://bitnodes.earn.com/install-full-node.sh | sh.
If you're on windows, I'd say it's very easy to run as all the dependencies are already there - though I had a real issue with running it on linux when I started).


Title: Re: To newbies and juniors running full nodes.
Post by: boulderchain on June 29, 2018, 08:30:29 PM
Yes, running it on a VPS is not a good idea I found out also (they're generally against it as well so they might limit your usage to make it harder for you to run one).

Bitnodes have a small script you can run if you're on unix curl https://bitnodes.earn.com/install-full-node.sh | sh.
If you're on windows, I'd say it's very easy to run as all the dependencies are already there - though I had a real issue with running it on linux when I started).

Thank you. Had another error caused due too low ram.
Quote
g++: internal compiler error: Killed (program cc1plus)

After I increased the resources the script finished successfully. I used the above script from my previous post.


Title: Re: To newbies and juniors running full nodes.
Post by: darkangel11 on June 29, 2018, 09:01:15 PM
I was running a full node from 2014 to 2016 and quit somewhere at that time due to certain issues that made me hate the core client. The first one was a corrupt database. I think I ended up having a power shortage during an update and whole thing got fucked, so I had to download it all from scratch. I was running low on disk space, so I connected an external USB drive to my laptop and again, after a few days of downloading I must've moved the plug by accident and it lost connection with the drive when it was in write mode which screwed up the database again. On top of that BTC was below 500 USD back then, which made me feel like it was all a waste of time, not worth of my time.
Running a full node is becoming more and more troublesome.

Not a newbie, but just wanted to share ;)


Title: Re: To newbies and juniors running full nodes.
Post by: kofibee12 on June 29, 2018, 11:36:16 PM
I am going to run a node and get back to this post to prove it and obtain the merit from you. I will request for assistance if I fail to do it myself.


Title: Re: To newbies and juniors running full nodes.
Post by: Jet Cash on June 30, 2018, 07:12:00 AM
I am going to run a node and get back to this post to prove it and obtain the merit from you. I will request for assistance if I fail to do it myself.

Let us know about your computer setup, and how long it takes to download the blockchain.


Title: Re: To newbies and juniors running full nodes.
Post by: arde13 on July 29, 2018, 05:49:31 PM
I started installing the node according to this guide: https://bitcoin.org/en/full-node

And while the synchronization is in progress, I found that the node will not work without the static IP address. As I understand it, my ISP does not allow me to open an incoming port. Please, correct me if I'm wrong.

I ordered a static IP service and will continue installation in a couple of days, just at this point the synchronization of the network will end.


Title: Re: To newbies and juniors running full nodes.
Post by: boulderchain on July 30, 2018, 04:07:57 PM
I started installing the node according to this guide: https://bitcoin.org/en/full-node

And while the synchronization is in progress, I found that the node will not work without the static IP address. As I understand it, my ISP does not allow me to open an incoming port. Please, correct me if I'm wrong.

I ordered a static IP service and will continue installation in a couple of days, just at this point the synchronization of the network will end.

You don't need a static ip to run a full node.

Your ISP can't disallow incoming traffic. You just need to open the ports in your firewall and router. An alternative would be to publish your service via tor, then you don't need an incoming port.


Title: Re: To newbies and juniors running full nodes.
Post by: Jet Cash on July 30, 2018, 04:42:44 PM
You don't need a static IP as has been stated. I run a couple of nodes over public WiFi, but the problem that I have is that not all WiFi services allow you to access port 8333.


Title: Re: To newbies and juniors running full nodes.
Post by: arde13 on August 17, 2018, 03:40:53 PM
Ok, I have installed the node and synchronized the blockchain

The core works, but without incoming connections:

https://scontent.fiev4-1.fna.fbcdn.net/v/t1.0-9/39270776_158933148339691_5434035087240855552_n.jpg?_nc_cat=0&oh=e15fadcb884bf6d038729536a775681d&oe=5BF232C0


Then I started opening ports according to this guide https://bitcoin.org/en/full-node#network-configuration (https://bitcoin.org/en/full-node#network-configuration)

I assigned a static IP to the local network

https://scontent.fiev4-1.fna.fbcdn.net/v/t1.0-9/39502621_158933141673025_3206250651910668288_n.jpg?_nc_cat=0&oh=e5d36887b32bb314160270a59f590ffb&oe=5C063B22


And opened the port 8333 in the router for the computer running the node

https://scontent.fiev4-1.fna.fbcdn.net/v/t1.0-9/39404691_158933188339687_1628423840822460416_n.jpg?_nc_cat=0&oh=b298d49d43fbaf91c8abaad7215bf6f7&oe=5BFE011E


The port remained closed.
I found out that my router is connected to the Internet through another router in series.
I set up a static IP in the second router

https://scontent.fiev4-1.fna.fbcdn.net/v/t1.0-9/39441505_158933145006358_3511662190031536128_n.jpg?_nc_cat=0&oh=9aff724a6c3d46dab95a9ed69e3b311a&oe=5C1056B3


And opened port 8333

https://scontent.fiev4-1.fna.fbcdn.net/v/t1.0-9/39497474_158933158339690_7775530280676229120_n.jpg?_nc_cat=0&oh=d52f52c7adf0ef7babfdcbb96a83d2b8&oe=5BFF0D6B

The port is still closed.
I checked the Windows firewall, everything is open for Bitcoin Core. I added a special rule for 8333, there is no result.
I called to support of my ISP, port 8333 is open.
I do not know what to do. Perhaps you have some advice?


Title: Re: To newbies and juniors running full nodes.
Post by: TryNinja on August 17, 2018, 11:28:44 PM
~
You can confirm if the port is open and can be reached with this website[1]. Make sure Core is running.

[1] http://canyouseeme.org/


Title: Re: To newbies and juniors running full nodes.
Post by: arde13 on August 18, 2018, 11:28:55 AM
~
You can confirm if the port is open and can be reached with this website[1]. Make sure Core is running.

[1] http://canyouseeme.org/

Thank you, I used this service: https://bitnodes.earn.com/#join-the-network
But they all tell me the same: port is closed


Title: Re: To newbies and juniors running full nodes.
Post by: jackg on August 23, 2018, 12:12:39 PM
~snip~

Go here (https://bitnodes.earn.com/nodes/) and type in your IP address and see if it shows up (scroll down to "Join the Network").

If it doesn't, use a differnet port like 22 for core to connect through.