Bitcoin Forum

Bitcoin => Mining => Topic started by: Wave on November 28, 2012, 04:28:17 AM



Title: Setting Up a Bitcoin Node
Post by: Wave on November 28, 2012, 04:28:17 AM
Does anyone have any references on how to setup a full bitcoin node?


-Wave


Title: Re: Setting Up a Bitcoin Node
Post by: gweedo on November 28, 2012, 04:29:53 AM
Just download the bitcoin-qt or bitcoind and you will be a full node


Title: Re: Setting Up a Bitcoin Node
Post by: 01BTC10 on November 28, 2012, 04:35:51 AM
Make sure to open TCP port 8333.


Title: Re: Setting Up a Bitcoin Node
Post by: niko on November 28, 2012, 04:52:58 AM
Are you done yet, and how is it going?  Port forwarding can be done automatically if your router supports uPnP. It might take many hours to download the whole blockchain, but once this is done, it's done.   You will be running a full node.


Title: Re: Setting Up a Bitcoin Node
Post by: Graet on November 28, 2012, 06:41:09 AM
https://en.bitcoin.it/wiki/Running_Bitcoin
is what I used as a refernece :)
has way more than I use or you need :)

you can also addnodes to increase performance (find fast ones)



Title: Re: Setting Up a Bitcoin Node
Post by: Akka on November 28, 2012, 06:47:14 AM
If you really want to support the network make sure you forward port 8333. If you don't know how, look here: http://www.smashboards.com/showthread.php?t=216489


Title: Re: Setting Up a Bitcoin Node
Post by: AfricanHunter on November 28, 2012, 11:32:03 AM
Is there any other benefit to running a full node beyond increasing the diversity/stability of the network?


Title: Re: Setting Up a Bitcoin Node
Post by: SebastianJu on November 28, 2012, 12:08:30 PM
Is there any other benefit to running a full node beyond increasing the diversity/stability of the network?

Im not sure but having more connections would mean that blocks are loaded faster if you have to download blocks for some days. With standard client it can be hard to wait to download the blocks of last days.
Its hard to wait until to get confirmations but even harder when you cant use bitcoins because you miss the last blocks. With more connections this should be faster.


Title: Re: Setting Up a Bitcoin Node
Post by: Infinity1 on November 28, 2012, 06:39:24 PM
If I have metered bandwidth should I not run a full node to prevent massive data usage? I get 8 connections at max so I'm assuming I should disable uPnP for faster blockchain download?


Title: Re: Setting Up a Bitcoin Node
Post by: niko on November 28, 2012, 07:01:47 PM
Are you done yet, and how is it going?  Port forwarding can be done automatically if your router supports uPnP. It might take many hours to download the whole blockchain, but once this is done, it's done.   You will be running a full node.

Don't use uPnP you will mostly only get 8 connections if you want to be a full node, make sure the port is forward so you can allow incoming connections.
UPnP allows your client to configure the router to open port 8333, so you can have more than eight connections. Of course, this only works if your router is uPnP-ready.


Title: Re: Setting Up a Bitcoin Node
Post by: Wave on November 28, 2012, 07:54:18 PM
Will it work even if I do not have a static IP?  I know how to do port forwarding and I want to do this to support the bitcoin network.  Thanks for the links folks, I should have time to read up tomorrow!

-Wave


Title: Re: Setting Up a Bitcoin Node
Post by: Wave on November 28, 2012, 08:10:44 PM
Hell, that was easy.  I already had the full client running.  I can see the traffic flowing now in my logs via 8333 port forwarding.  However, client still only shows 8 connections.  Will keep my eye on it.


Title: Re: Setting Up a Bitcoin Node
Post by: gweedo on November 28, 2012, 08:13:10 PM
Hell, that was easy.  I already had the full client running.  I can see the traffic flowing now in my logs via 8333 port forwarding.  However, client still only shows 8 connections.  Will keep my eye on it.

It is cause your router isn't port forward, and your connecting thru uPnP, you need to forward port 8333. Otherwise your not really getting incoming connections.


Title: Re: Setting Up a Bitcoin Node
Post by: niko on November 28, 2012, 08:13:33 PM
Will it work even if I do not have a static IP?  I know how to do port forwarding and I want to do this to support the bitcoin network.  Thanks for the links folks, I should have time to read up tomorrow!

-Wave

Yes, it will work regardless of your WAN IP.  Note, however, that your LAN IP (the one assigned by your router to devices within your home network) needs to be static if you want to manually set the router to forward port 8333 to the device that runs your client. This is usually easy to set up through you router settings.


Title: Re: Setting Up a Bitcoin Node
Post by: Akka on November 28, 2012, 08:14:02 PM
If it doesn't increase it numbers of connections try:

bitcoin-qt.exe -maxconnections=x , while x is the number of connections you would like to have at max.


Title: Re: Setting Up a Bitcoin Node
Post by: Wave on November 28, 2012, 08:27:34 PM
Niko - Thanks, server has static IP.

Akka - Will give it a shot!


Title: Re: Setting Up a Bitcoin Node
Post by: Wave on November 28, 2012, 08:44:26 PM
I got it, up to 10 connections now and slowly climbing.

The short of it...

Install bitcoinqt client and sync with block chain
Be sure the computer running the bitcoin client gets a static IP address assigned by your router
Forward port TCP port 8333 from internet to the IP you assigned in the step above
Done ;-)


-Wave


Title: Re: Setting Up a Bitcoin Node
Post by: SebastianJu on November 29, 2012, 12:22:17 AM
Is there any other benefit to running a full node beyond increasing the diversity/stability of the network?

Im not sure but having more connections would mean that blocks are loaded faster if you have to download blocks for some days. With standard client it can be hard to wait to download the blocks of last days.
Its hard to wait until to get confirmations but even harder when you cant use bitcoins because you miss the last blocks. With more connections this should be faster.

That is false, downloading of blocks are depended on I/O speeds, CPU, and network, this will not make blocks download faster.

The benefits are that your helping the network and protecting it.

Strange. I never had much traffic or cpu and blocks were loading painful slow with 8 connections. So my guess was that, like with every other p2p-network you only need more partners to get blocks faster. Ok, then the border is somewhere else...


Title: Re: Setting Up a Bitcoin Node
Post by: Wave on November 29, 2012, 02:24:52 AM
Alright Gents, I have 25 connections now and have relayed a couple of transactions first on blockchain.info.  How do I become a better node?  Static IP?  Forced connections to other fast nodes?  I have 30MBPS down and 6 up...


-Wave


Title: Re: Setting Up a Bitcoin Node
Post by: AfricanHunter on November 29, 2012, 03:09:22 AM
Is there any other benefit to running a full node beyond increasing the diversity/stability of the network?

Im not sure but having more connections would mean that blocks are loaded faster if you have to download blocks for some days. With standard client it can be hard to wait to download the blocks of last days.
Its hard to wait until to get confirmations but even harder when you cant use bitcoins because you miss the last blocks. With more connections this should be faster.

That is false, downloading of blocks are depended on I/O speeds, CPU, and network, this will not make blocks download faster.

The benefits are that your helping the network and protecting it.

Thanks guys, appreciate the information


Title: Re: Setting Up a Bitcoin Node
Post by: zvs on November 30, 2012, 12:04:44 PM
Is there any other benefit to running a full node beyond increasing the diversity/stability of the network?

Im not sure but having more connections would mean that blocks are loaded faster if you have to download blocks for some days. With standard client it can be hard to wait to download the blocks of last days.
Its hard to wait until to get confirmations but even harder when you cant use bitcoins because you miss the last blocks. With more connections this should be faster.

That is false, downloading of blocks are depended on I/O speeds, CPU, and network, this will not make blocks download faster.

The benefits are that your helping the network and protecting it.

Strange. I never had much traffic or cpu and blocks were loading painful slow with 8 connections. So my guess was that, like with every other p2p-network you only need more partners to get blocks faster. Ok, then the border is somewhere else...

whenever i have a significant amt of blocks I need to catch up on, i just connect to one fast node..   then there's no risk of slow peers, taking the 'network' out of the equation


Title: Re: Setting Up a Bitcoin Node
Post by: os2sam on December 02, 2012, 01:03:53 PM
Alright Gents, I have 25 connections now and have relayed a couple of transactions first on blockchain.info. 
-Wave

I setup port forwarding to my client last night.  I'm up to 28 connections now.

How do you know you've relayed transactions?  Does the client log that?
Thanks,
Sam


Title: Re: Setting Up a Bitcoin Node
Post by: Wave on December 02, 2012, 01:59:38 PM
Os2Sam,
Search for your IP address on blockchain.info site is how I did it.

-Wave


Title: Re: Setting Up a Bitcoin Node
Post by: os2sam on December 02, 2012, 03:03:16 PM
Os2Sam,
Search for your IP address on blockchain.info site is how I did it.

-Wave

Oh, OK.  Obvious enough :).

Well you've helped me move forward a little more.  Hadn't really thought much about setting up port forwarding to my Bitcoin node in a while, now with your, and others, here input I've gotten it done.
Thanks,
Sam


Title: Re: Setting Up a Bitcoin Node
Post by: bcpokey on December 02, 2012, 10:38:31 PM
Is there any other benefit to running a full node beyond increasing the diversity/stability of the network?

Im not sure but having more connections would mean that blocks are loaded faster if you have to download blocks for some days. With standard client it can be hard to wait to download the blocks of last days.
Its hard to wait until to get confirmations but even harder when you cant use bitcoins because you miss the last blocks. With more connections this should be faster.

That is false, downloading of blocks are depended on I/O speeds, CPU, and network, this will not make blocks download faster.

The benefits are that your helping the network and protecting it.

Strange. I never had much traffic or cpu and blocks were loading painful slow with 8 connections. So my guess was that, like with every other p2p-network you only need more partners to get blocks faster. Ok, then the border is somewhere else...

whenever i have a significant amt of blocks I need to catch up on, i just connect to one fast node..   then there's no risk of slow peers, taking the 'network' out of the equation

How do you connect to just one node (and know it's fast)? I have to download the entire blockchain, and its going to take days at the current rate.


Title: Re: Setting Up a Bitcoin Node
Post by: Fcx35x10 on December 04, 2012, 06:04:10 AM
I just set up mines on a vm. Took about 2 hours to dowoad. Supporting ฿ all the way!


Title: Re: Setting Up a Bitcoin Node
Post by: os2sam on December 17, 2012, 12:24:52 AM
If it doesn't increase it numbers of connections try:

bitcoin-qt.exe -maxconnections=x , while x is the number of connections you would like to have at max.

This option only limits your connections to your "x" value.

Is there a reason to limit the number of connections?  If so what is a good number to limit it to?
Sam


Title: Re: Setting Up a Bitcoin Node
Post by: Wave on December 17, 2012, 05:21:52 AM
Been going a few weeks now, and it seems I average around 60 connections.  How do I improve that?


-Wave


Title: Re: Setting Up a Bitcoin Node
Post by: owenmichaels on January 02, 2013, 05:31:00 PM
I got it, up to 10 connections now and slowly climbing.

The short of it...

Install bitcoinqt client and sync with block chain
Be sure the computer running the bitcoin client gets a static IP address assigned by your router
Forward port TCP port 8333 from internet to the IP you assigned in the step above
Done ;-)


-Wave


Why does it have to be TCP port 8333?


Title: Re: Setting Up a Bitcoin Node
Post by: os2sam on January 02, 2013, 05:43:31 PM
I got it, up to 10 connections now and slowly climbing.

The short of it...

Install bitcoinqt client and sync with block chain
Be sure the computer running the bitcoin client gets a static IP address assigned by your router
Forward port TCP port 8333 from internet to the IP you assigned in the step above
Done ;-)


-Wave


Why does it have to be TCP port 8333?

Why not?  It has to be something.  I guess that is what the programmers decided on when they started the Bitcoin Client development.


Title: Re: Setting Up a Bitcoin Node
Post by: 01BTC10 on January 02, 2013, 06:05:21 PM
It's the default port. You can change it in the config file.


Title: Re: Setting Up a Bitcoin Node
Post by: os2sam on February 18, 2013, 11:37:39 PM
Os2Sam,
Search for your IP address on blockchain.info site is how I did it.

-Wave

Oh, OK.  Obvious enough :).

Well you've helped me move forward a little more.  Hadn't really thought much about setting up port forwarding to my Bitcoin node in a while, now with your, and others, here input I've gotten it done.
Thanks,
Sam

I haven't paid much attention to my "Full Bitcoin Node" in a while.  But today I took a look at my bandwidth usage.  My uplink bandwidth is peaking around 1.4Mb and I'm relaying 7 to 15 transactions a day now.  I was a little surprised by my bandwidth usage though.

Was curious as to what others mileage was now?
Such as:

How many connections?
How many transactions relayed a day?
Upstream bandwidth usage?

Sam


Title: Re: Setting Up a Bitcoin Node
Post by: Wave on March 31, 2013, 01:19:34 PM
Have not looked at bandwidth.  So, I have my own URL and was thinking or setting up a port forward for a URL so my IP address is not an issue.  Thoughts?  Anyone done this?


Title: Re: Setting Up a Bitcoin Node
Post by: Cranky4u on June 06, 2013, 04:21:03 AM
Thinking about setting up a full node...mainly interested if you get paid those small transaction limit BTCs that are sometimes asked for in transactions...if not, were do those micro-BTC units get sent to when your over the limit?


Title: Re: Setting Up a Bitcoin Node
Post by: The 4ner on June 07, 2013, 01:25:10 PM
Can you guys help me do this on a Mac? I too would like to help improve the network.


Title: Re: Setting Up a Bitcoin Node
Post by: The 4ner on June 07, 2013, 07:45:50 PM
Can you guys help me do this on a Mac? I too would like to help improve the network.

Just download bitcoin-qt

I have it. I'm reffering to configuring the port forward to allow for more connections. I'm currently only able to connect up to 8.


Title: Re: Setting Up a Bitcoin Node
Post by: T-rage_11 on August 30, 2013, 10:09:44 PM
can someone compile this for windows? https://github.com/TvdW/bitpeer

Bitpeer is an experimental Bitcoin relay server. Its event-driven architecture makes it extremely fast, and it was designed to be very lightweight.

this is the creator: http://bitcoin.stackexchange.com/users/4358/tom-van-der-woerdt

the creator donates 250GB a day with this software to the network !!!!!

Quote
I wrote my own lightweight tx/block relay that can easily handle up to 10000 incoming connections as long as the network connection allows it. I then tweaked it to ensure a high amount of connections (incoming or outgoing, currently ~750) and since it's usually first with relaying blocks/transactions, that causes a lot of network traffic. – Tom van der Woerdt

i need this for windows or linux  ;D but I have no idea how to build this ..  ???


Title: Re: Setting Up a Bitcoin Node
Post by: gweedo on August 30, 2013, 11:50:27 PM
can someone compile this for windows? https://github.com/TvdW/bitpeer

Bitpeer is an experimental Bitcoin relay server. Its event-driven architecture makes it extremely fast, and it was designed to be very lightweight.

this is the creator: http://bitcoin.stackexchange.com/users/4358/tom-van-der-woerdt

the creator donates 250GB a day with this software to the network !!!!!

Quote
I wrote my own lightweight tx/block relay that can easily handle up to 10000 incoming connections as long as the network connection allows it. I then tweaked it to ensure a high amount of connections (incoming or outgoing, currently ~750) and since it's usually first with relaying blocks/transactions, that causes a lot of network traffic. – Tom van der Woerdt

i need this for windows or linux  ;D but I have no idea how to build this ..  ???

Uhmmm this is a huge security risk. If you want to use a central server I suggest using electrum which has window binaries.

This is a horrible program it does nothing and can be easily converted to a cancer node and hurt the network.

If you want to donate to the network use bitcoin-qt.


Title: Re: Setting Up a Bitcoin Node
Post by: T-rage_11 on August 31, 2013, 10:26:54 AM
can someone compile this for windows? https://github.com/TvdW/bitpeer

Bitpeer is an experimental Bitcoin relay server. Its event-driven architecture makes it extremely fast, and it was designed to be very lightweight.

this is the creator: http://bitcoin.stackexchange.com/users/4358/tom-van-der-woerdt

the creator donates 250GB a day with this software to the network !!!!!

Quote
I wrote my own lightweight tx/block relay that can easily handle up to 10000 incoming connections as long as the network connection allows it. I then tweaked it to ensure a high amount of connections (incoming or outgoing, currently ~750) and since it's usually first with relaying blocks/transactions, that causes a lot of network traffic. – Tom van der Woerdt

i need this for windows or linux  ;D but I have no idea how to build this ..  ???

Uhmmm this is a huge security risk. If you want to use a central server I suggest using electrum which has window binaries.

This is a horrible program it does nothing and can be easily converted to a cancer node and hurt the network.

If you want to donate to the network use bitcoin-qt.

okay, but it would be nice if someone makes a modified version of bitcoin-qt for more connections .. I only get 40 connections or something..
Also an external IP detection every 10 minutes for users with a dynamic IP would be nice !
My ISP changes my IP every 24h .. and than the connections drop to 8 because the client doesn't update his external IP !!!!   :-\
I already posted this problem in the dev-forum but I think it got ignored..  ???


Title: Re: Setting Up a Bitcoin Node
Post by: gweedo on August 31, 2013, 06:11:12 PM
can someone compile this for windows? https://github.com/TvdW/bitpeer

Bitpeer is an experimental Bitcoin relay server. Its event-driven architecture makes it extremely fast, and it was designed to be very lightweight.

this is the creator: http://bitcoin.stackexchange.com/users/4358/tom-van-der-woerdt

the creator donates 250GB a day with this software to the network !!!!!

Quote
I wrote my own lightweight tx/block relay that can easily handle up to 10000 incoming connections as long as the network connection allows it. I then tweaked it to ensure a high amount of connections (incoming or outgoing, currently ~750) and since it's usually first with relaying blocks/transactions, that causes a lot of network traffic. – Tom van der Woerdt

i need this for windows or linux  ;D but I have no idea how to build this ..  ???

Uhmmm this is a huge security risk. If you want to use a central server I suggest using electrum which has window binaries.

This is a horrible program it does nothing and can be easily converted to a cancer node and hurt the network.

If you want to donate to the network use bitcoin-qt.

okay, but it would be nice if someone makes a modified version of bitcoin-qt for more connections .. I only get 40 connections or something..
Also an external IP detection every 10 minutes for users with a dynamic IP would be nice !
My ISP changes my IP every 24h .. and than the connections drop to 8 because the client doesn't update his external IP !!!!   :-\
I already posted this problem in the dev-forum but I think it got ignored..  ???

The stock bitcoind, accepts default 125 connections, if you want to change that you can add
Code:
maxconnections=200
To your bitcoin conf file. Remember bitcoin is P2P so your not going be be able to connect to a lot of nodes on it's own. You may want to look at
Code:
connect=<ip address>
So you can connect to more people.


Title: Re: Setting Up a Bitcoin Node
Post by: Bitcoin-hotep on December 22, 2013, 03:38:15 AM
Can someone please help us figure out how to create a node? I read this thread and still can't figure it out... We are missing something...
https://bitcointalk.org/index.php?topic=380259.0


Title: Re: Setting Up a Bitcoin Node
Post by: os2sam on December 22, 2013, 05:34:33 AM
Can someone please help us figure out how to create a node? I read this thread and still can't figure it out... We are missing something...
https://bitcointalk.org/index.php?topic=380259.0

Just install the bitcoin client and download the blockchain.


Title: Re: Setting Up a Bitcoin Node
Post by: os2sam on December 22, 2013, 03:14:46 PM
If anyone needs help setting up a node, or specific questions, please PM me I can help. Also I recommend all node operators to update to 0.8.6 and to switch to disable wallet mode so you can save some ramm.

Are there any specific or noteworthy improvements on .8.6?


Title: Re: Setting Up a Bitcoin Node
Post by: gweedo on December 22, 2013, 05:40:46 PM
If anyone needs help setting up a node, or specific questions, please PM me I can help. Also I recommend all node operators to update to 0.8.6 and to switch to disable wallet mode so you can save some ramm.

Are there any specific or noteworthy improvements on .8.6?

Besides disabled wallet nothing that you can notice. It is under the hood stuff.


Title: Re: Setting Up a Bitcoin Node
Post by: The 4ner on December 23, 2013, 02:14:13 AM
I still need help setting up that full node. Mainly because I don't know how to port forward anything -.-


Title: Re: Setting Up a Bitcoin Node
Post by: The 4ner on December 23, 2013, 05:07:15 PM
I still need help setting up that full node. Mainly because I don't know how to port forward anything -.-

http://portforward.com/english/routers/port_forwarding/ look for your router make and model and you should beable to follow the instructions.

I'll give it a go. Thanks!


Title: Re: Setting Up a Bitcoin Node
Post by: btcmonster on December 23, 2013, 08:32:57 PM
someone did a tutorial on it but can't find it :/


Title: Re: Setting Up a Bitcoin Node
Post by: vayvanne on December 24, 2013, 01:06:50 AM
It would be good to change default port number to avoid extra attention from ISP.


Title: Re: Setting Up a Bitcoin Node
Post by: Foysal on December 24, 2013, 02:17:42 PM
If anyone needs help setting up a node, or specific questions, please PM me I can help. Also I recommend all node operators to update to 0.8.6 and to switch to disable wallet mode so you can save some ramm.

Are there any specific or noteworthy improvements on .8.6?

Besides disabled wallet nothing that you can notice. It is under the hood stuff.

I updated, don't see the option to disable wallet though??

~Foyz


Title: Re: Setting Up a Bitcoin Node
Post by: Foysal on December 25, 2013, 09:14:35 AM
Besides disabled wallet nothing that you can notice. It is under the hood stuff.
[/quote]

I updated, don't see the option to disable wallet though??

~Foyz
[/quote]

It is a command line flag. "-disablewallet"
[/quote]

Ahh, thanks.. I'm still new to all this, haven't even tried any of the switches yet.. is there any detailed documentation of what the console etc allows you to do?

~Foyz


Title: Re: Setting Up a Bitcoin Node
Post by: CanaryInTheMine on February 12, 2014, 06:41:41 AM
added a full node, averaging about 60 connections so far.  re-purposed an "older" HP laptop: switched to SSD on it and stuffed more ram.


Title: Re: Setting Up a Bitcoin Node
Post by: CanaryInTheMine on February 12, 2014, 06:43:59 AM
whats the best place in terms of cost to get a VM at to load a node?  somewhere where bandwidth isn't an issue?
I don't have time to search for a provider, but of anyone can make a recommendation, that would be great!


Title: Re: Setting Up a Bitcoin Node
Post by: RoadStress on April 15, 2014, 08:05:10 PM
How do i make Bitcoin Core to NOT be a full node? In Bitcoin Core options i have the "Map port using UPnP" unchecked. I don't have port 8333 open in my router. What else can i do?


Title: Re: Setting Up a Bitcoin Node
Post by: os2sam on April 15, 2014, 11:16:31 PM
How do i make Bitcoin Core to NOT be a full node? In Bitcoin Core options i have the "Map port using UPnP" unchecked. I don't have port 8333 open in my router. What else can i do?

Uh, what do you want to accomplish exactly?

Do you not want your bitcoind not communicate to the bitcoin network?


Title: Re: Setting Up a Bitcoin Node
Post by: RoadStress on April 18, 2014, 03:57:10 PM
How do i make Bitcoin Core to NOT be a full node? In Bitcoin Core options i have the "Map port using UPnP" unchecked. I don't have port 8333 open in my router. What else can i do?

Uh, what do you want to accomplish exactly?

Do you not want your bitcoind not communicate to the bitcoin network?

I want to communicate with the bitcoin network, but i want less connected nodes. I remember that 8-9 nodes were normal. Now i have something like 50-60 and it seems that it eats up my computer performance. I may be wrong.


Title: Re: Setting Up a Bitcoin Node
Post by: gweedo on April 18, 2014, 04:00:06 PM
How do i make Bitcoin Core to NOT be a full node? In Bitcoin Core options i have the "Map port using UPnP" unchecked. I don't have port 8333 open in my router. What else can i do?

Uh, what do you want to accomplish exactly?

Do you not want your bitcoind not communicate to the bitcoin network?

I want to communicate with the bitcoin network, but i want less connected nodes. I remember that 8-9 nodes were normal. Now i have something like 50-60 and it seems that it eats up my computer performance. I may be wrong.

Also add

Code:
listen=0

To your bitcoin.conf


Title: Re: Setting Up a Bitcoin Node
Post by: os2sam on April 18, 2014, 04:30:05 PM
How do i make Bitcoin Core to NOT be a full node? In Bitcoin Core options i have the "Map port using UPnP" unchecked. I don't have port 8333 open in my router. What else can i do?

Uh, what do you want to accomplish exactly?

Do you not want your bitcoind not communicate to the bitcoin network?

I want to communicate with the bitcoin network, but i want less connected nodes. I remember that 8-9 nodes were normal. Now i have something like 50-60 and it seems that it eats up my computer performance. I may be wrong.

Ah, I see.

Use the -Maxconnections=n command line option to limit the number of connections.  The default is 125.
Sam


Title: Re: Setting Up a Bitcoin Node
Post by: RoadStress on April 19, 2014, 01:03:42 PM
Thank you both!

Edit:
Ok found some problems. With the listen=0 option Armory doesn't see the Bitcoin Core client running at all. With the -Maxconnections=n i get 8 connections in Bitcoin Core client but Armory keeps connecting and disconnecting nonstop. I also tried with the listen=0 and let Armory run the Bitcoin Core client in the background but it's just stuck at synchronizing with Network.

Will take these to the Armory thread.


Title: Re: Setting Up a Bitcoin Node
Post by: os2sam on April 20, 2014, 09:48:17 PM
With the -Maxconnections=n i get 8 connections in Bitcoin Core client

the "n"=the number of connections you want.  If you want 8 connections to the network then you would use the command line such as "bitcoin-qt.exe -maxconnections=8" to start your client.


Title: Re: Setting Up a Bitcoin Node
Post by: RoadStress on April 21, 2014, 12:44:15 AM
With the -Maxconnections=n i get 8 connections in Bitcoin Core client

the "n"=the number of connections you want.  If you want 8 connections to the network then you would use the command line such as "bitcoin-qt.exe -maxconnections=8" to start your client.

My mistake. I used the number 8 in my example. It's what i wanted.


Title: Re: Setting Up a Bitcoin Node
Post by: SloRunner on September 13, 2014, 04:34:26 PM
New node :)

http://bitstat.tk/ (http://bitstat.tk/)


Title: Re: Setting Up a Bitcoin Node
Post by: milazi on September 19, 2014, 03:34:04 AM
Are you done yet, and how is it going?  Port forwarding can be done automatically if your router supports uPnP. It might take many hours to download the whole blockchain, but once this is done, it's done.   You will be running a full node.

Don't use uPnP you will mostly only get 8 connections if you want to be a full node, make sure the port is forward so you can allow incoming connections.

totally right


Title: Re: Setting Up a Bitcoin Node
Post by: amad on September 24, 2014, 06:41:41 AM
How do i make Bitcoin Core to NOT be a full node? In Bitcoin Core options i have the "Map port using UPnP" unchecked. I don't have port 8333 open in my router. What else can i do?

Uh, what do you want to accomplish exactly?

Do you not want your bitcoind not communicate to the bitcoin network?

I want to communicate with the bitcoin network, but i want less connected nodes. I remember that 8-9 nodes were normal. Now i have something like 50-60 and it seems that it eats up my computer performance. I may be wrong.

Also add

Code:
listen=0

To your bitcoin.conf

What is "listen=0" for ?


Title: Re: Setting Up a Bitcoin Node
Post by: tomsanders on December 29, 2014, 07:01:39 PM
Hey All

So I want to help the bitcoin network..


I have downloaded bitcoin core.

It is currently syncing to the network.

Port 8333 is being ported to the server.


I assume this is all correct and i'm contributing .., would it benefit running more and more nodes of my servers that currently have little or no load? Or having too many in the same location doesn't benefit the network?

Cheers!


Title: Re: Setting Up a Bitcoin Node
Post by: os2sam on December 29, 2014, 07:34:48 PM
Hey All

So I want to help the bitcoin network..


I have downloaded bitcoin core.

It is currently syncing to the network.

Port 8333 is being ported to the server.


I assume this is all correct and i'm contributing .., would it benefit running more and more nodes of my servers that currently have little or no load? Or having too many in the same location doesn't benefit the network?

Cheers!

Once the blockchain has finished syncing then you will start getting more than 8 connections.  At that point your instance can start relaying transactions.

If you install more than one instance on your network, only one IP can have TCP Port 8333 forwarded to it and that is the only one that will relay transactions.  So more instances won't really help at that point.


Title: Re: Setting Up a Bitcoin Node
Post by: tomsanders on December 29, 2014, 07:46:19 PM
Thanks for the reply , I would be running them from different up address, would this scenario help?

Thanks


Title: Re: Setting Up a Bitcoin Node
Post by: os2sam on December 29, 2014, 08:40:07 PM
Thanks for the reply , I would be running them from different up address, would this scenario help?

Thanks

Couldn't hurt.  Especially if they were using different DNS servers or something to make the routes slightly different.  Just try it and see how many transactions the different nodes relay.


Title: Re: Setting Up a Bitcoin Node
Post by: Reynaldo on December 31, 2014, 02:56:48 AM
this is a really nice side project with a raspberry pi - Running full bitcoin node on raspberry pi.

https://www.google.com.do/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=bitcoin%20node%20on%20raspberry%20pi


Title: Re: Setting Up a Bitcoin Node
Post by: rulesky on December 31, 2014, 08:07:30 AM
Here are the steps to set it up:

(1)Download Bitcoin Core  (https://bitcoin.org/en/download) and install it. If you want to compile from source rather than running a precompiled binary:
* Linux build notes are here (https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md)
* OSX build notes are here (https://github.com/bitcoin/bitcoin/blob/master/doc/build-osx.md)
* Windows build notes are here (https://github.com/bitcoin/bitcoin/blob/master/doc/build-msw.md)

(2)Run Bitcoin Core (either the graphical bitcoin-qt or the bitcoind daemon) so that it starts up, but immediately close it once it starts trying to sync the blockchain. This is in order to create your Bitcoin data directory.

(3)Download the bootstrap torrent (https://bitcoin.org/bin/blockchain/bootstrap.dat.torrent). This may take a few hours depending upon your Internet connection, but it will be much faster than downloading the historical blockchain within Bitcoin Core. You can learn more about the bootstrap file here (https://bitcointalk.org/index.php?topic=145386.0). Note that this step will no longer be necessary for Bitcoin Core version 0.10 and above because blockchain syncing has been parallelized across multiple peers and is now faster than bootstrapping from the file.

(4)While you’re waiting for the torrent to finish, you should configure your home’s router (assuming that you have one.) It’s critical that you forward port 8333 on your router to the IP address of the computer that is running your node. If you don’t do this, you will not be contributing your bandwidth to the network and should not run the node. You can check that your port forwarding works using the “check node” tool on Bitnodes.io  (https://getaddr.bitnodes.io/) when your node is running. If you’re running a software firewall on the machine running the node, you’ll also want to ensure that you create a rule to open up port 8333.

(5)If you want to set up automatic monitoring of your node so that you will be alerted if it stops running, after using Bitnodes’ “check node” tool you can click on your node’s IP address to view its status page. At the bottom of the status page you can enter your email address to receive alerts when the node’s status changes.

(6)For your own convenience — to prevent your Bitcoin node from potentially saturating your home Internet connection — you may also wish to set throttling / QoS rules on your router or via software on the machine’s operating system. The procedure will vary from router to router and OS to OS; not all routers support it. If you’re running Linux, you can alternatively use this bash script  (https://raw.githubusercontent.com/bitcoin/bitcoin/master/contrib/qos/tc.sh) to limit the outgoing bandwidth allowed through port 8333. Just change the LIMIT variable to your desired throttled speed.
   
(7)Once the bootstrap torrent finishes downloading, move the bootstrap.dat file to your Bitcoin data directory.
On Windows, this is: \Users\YOUR_WINDOWS_USERNAME\AppData\Roaming\Bitcoin
On Mac, this is: ~/Library/Application Support/Bitcoin/
On Linux, this is: ~/.bitcoin

(8)Run Bitcoin Core. Assuming that you’re running the graphical user interface, you’ll know that it is working on the bootstrap data because it will say “Importing blocks from disk.” If you’re running bitcoind you should be able to see the import occurring if you view the debug.log file in the Bitcoin data directory. Note that this process may take several hours and will be fairly intensive on your machine due to the verifications being performed upon the data.

(9)If you bootstrapped from the historical file, once the import completes, Bitcoin Core will rename the bootstrap file to “bootstrap.dat.old” and you should now delete it to free up hard drive space.

(10)You’re done! Now you just want to keep the machine online and make sure that you upgrade your node by installing new releases of Bitcoin Core.


Title: Re: Setting Up a Bitcoin Node
Post by: tomsanders on January 01, 2015, 10:15:38 PM
Just a little question,
looking at the stats for bitcoin core, i can see the connections coming in but its always staying on 8 outgoing? Is this just the way it is or will this rise aswell... bare in mind ive had this running for about a hour now.

thanks


Title: Re: Setting Up a Bitcoin Node
Post by: os2sam on January 01, 2015, 11:28:24 PM
Just a little question,
looking at the stats for bitcoin core, i can see the connections coming in but its always staying on 8 outgoing? Is this just the way it is or will this rise aswell... bare in mind ive had this running for about a hour now.

thanks

It will have 8 connections while downloading the blockchain.  Once that has completed it will accept incoming connections provided you have port forwarding set in your router for  TCP 8333 to the IP of your machine with the client running.


Title: Re: Setting Up a Bitcoin Node
Post by: tomsanders on January 01, 2015, 11:32:34 PM
Hi

It has completed downloading the blockchain and currently has incoming connections. I'm asking the outgoing connections seem to be stuck on 8? Is this correct or will this change as well as it stays live?

thanks


Title: Re: Setting Up a Bitcoin Node
Post by: os2sam on January 01, 2015, 11:37:42 PM
Hi

It has completed downloading the blockchain and currently has incoming connections. I'm asking the outgoing connections seem to be stuck on 8? Is this correct or will this change as well as it stays live?

thanks

Your client distinguishes between incoming and outgoing connections? I have never seen that.  It has always shown me "active connections".  Mine is currently at 82.

Anyway a socket is both incoming and outgoing.  You can use netstat to see how many connections there are but they should be equal to the active connections shown on the client.


Title: Re: Setting Up a Bitcoin Node
Post by: tomsanders on January 01, 2015, 11:42:55 PM
I've got bitcoin core running and in the debug window it details if its a incoming or outgoing connection and then a total of them both. Ill leave the machine going and see what it is saying then.

Just doing my contribution to the bitcoin network!! :D


Title: Re: Setting Up a Bitcoin Node
Post by: os2sam on January 02, 2015, 12:59:33 AM
I've got bitcoin core running and in the debug window it details if its a incoming or outgoing connection and then a total of them both. Ill leave the machine going and see what it is saying then.

Just doing my contribution to the bitcoin network!! :D

Mine just has the number of connections in the debug window and on the GUI.  What does it say on the GUI for "active connections" ?


Title: Re: Setting Up a Bitcoin Node
Post by: kabopar on January 02, 2015, 01:15:34 AM
I've got bitcoin core running and in the debug window it details if its a incoming or outgoing connection and then a total of them both. Ill leave the machine going and see what it is saying then.

Just doing my contribution to the bitcoin network!! :D

Mine just has the number of connections in the debug window and on the GUI.  What does it say on the GUI for "active connections" ?
Running the latest QT 0.9.3 with the -disablewallet option on the command line brings a user interface window that shows the incoming and outgoing connections.

On another subject, if you already have Bitcoin Core running on another PC, you already have a copy of the blockchain.  That can be copied to the PC used as a node, or you could place it somewhere on your network, such on a NAS, create a mapped drive on the node running PC and place something like
"C:\Program Files (x86)\Bitcoin\bitcoin-qt.exe" -datadir=Z:\BitCoinData
(See https://en.bitcoin.it/wiki/Data_directory (https://en.bitcoin.it/wiki/Data_directory))

where Z:\BitCoinData is the path on your mapped drive (it needs also write permissions for your node PC, as it will update indexes and keep updating the blockchain).
This could be useful if your 'new' node PC has limited storage space on its local drive(s) (however you'll need to run both the NAS and the node PC together).

Cheers


Title: Re: Setting Up a Bitcoin Node
Post by: os2sam on January 02, 2015, 01:57:06 AM
I've got bitcoin core running and in the debug window it details if its a incoming or outgoing connection and then a total of them both. Ill leave the machine going and see what it is saying then.

Just doing my contribution to the bitcoin network!! :D

Mine just has the number of connections in the debug window and on the GUI.  What does it say on the GUI for "active connections" ?
Running the latest QT 0.9.3 with the -disablewallet option on the command line brings a user interface window that shows the incoming and outgoing connections.

I fired up my newer client and do see the incoming/outgoing now.  I would say it working correctly for your.

I don't know about your other question.  I do think they are working on supporting multiple wallet.dat files I would think that would be similar to what your thinking, but they aren't there yet.


Title: Re: Setting Up a Bitcoin Node
Post by: kabopar on January 02, 2015, 02:35:13 AM
I've got bitcoin core running and in the debug window it details if its a incoming or outgoing connection and then a total of them both. Ill leave the machine going and see what it is saying then.

Just doing my contribution to the bitcoin network!! :D

Mine just has the number of connections in the debug window and on the GUI.  What does it say on the GUI for "active connections" ?
Running the latest QT 0.9.3 with the -disablewallet option on the command line brings a user interface window that shows the incoming and outgoing connections.

I fired up my newer client and do see the incoming/outgoing now.  I would say it working correctly for your.

I don't know about your other question.  I do think they are working on supporting multiple wallet.dat files I would think that would be similar to what your thinking, but they aren't there yet.

Just pointing out that the blockchain information doesn't have to reside at the 'default' location or even on the same PC that runs the node.  This is a fully supported feature of Bitcoin Core.  I'm running this now on an old laptop with a fairly small hard disk drive, that could not accommodate the full blockchain, so I copied it from one of my other PC's that runs a 'normal' client to a NAS (Network Attached Storage), mapped the path to the location on the NAS to a network drive on the PC running the node, and it works.  It saved a lot of time of downloading the blockchain off the internet, but still took some time to verify the blocks by the node PC.

Cheers


Title: Re: Setting Up a Bitcoin Node
Post by: os2sam on January 02, 2015, 02:47:34 AM
Just pointing out that the blockchain information doesn't have to reside at the 'default' location or even on the same PC that runs the node.  This is a fully supported feature of Bitcoin Core.  I'm running this now on an old laptop with a fairly small hard disk drive, that could not accommodate the full blockchain, so I copied it from one of my other PC's that runs a 'normal' client to a NAS (Network Attached Storage), mapped the path to the location on the NAS to a network drive on the PC running the node, and it works.  It saved a lot of time of downloading the blockchain off the internet, but still took some time to verify the blocks by the node PC.

Cheers

Cool, I didn't know that.


Title: Re: Setting Up a Bitcoin Node
Post by: someredguy on January 03, 2015, 05:24:03 PM
You could also fire up btcd.

"btcd is an alternative full node bitcoin implementation written in Go (golang)."

See https://github.com/conformal/btcd for more info. Need more than 32gb of space.

Still need to open up port 8333 on router.


Title: Re: Setting Up a Bitcoin Node
Post by: CoinCidental on November 12, 2016, 08:06:58 PM
Is there any simple work around for  isp is blocking port 8333?

It seems to be blocked on the isp level but they deny that fact when it's obvious that the problem isn't configuration on my end  (all firewalls disabled and ports 8333 forwarded in the router but still seems to be blocked and I can't get over 8 connections no matter what I try)