<p>In theory, only one reliable connection to a trustworthy node is sufficient. If you do decide to limit your connections only to 2 outgoing ones, make sure to connect to nodes you trust to be up to date, to reduce the chance of falling behind, or worse, being the target of an attack.</p>

CC BY-SA 3.0
2013-06-07T17:02:22.147Z
2013-06-07T17:02:22.147Z
nanotube
<p>Lowering the number of connections would probably make your connection to the network less reliable.  It might also make it so that any transactions you broadcast would be slower to propagate through the network, since they aren't being spread as widely as quickly.</p>

<p>Having only a few connections would, at the very least, make it take longer for your blockchain to get caught up, and for new blocks to be downloaded.</p>

CC BY-SA 3.0
2013-06-07T17:05:40.793Z
Actually, transaction you create are only broadcast to one peer, to enhance anonymity.
Nick ODell
CC BY-SA 3.0
2013-05-08T15:35:18.907Z
2013-05-08T15:35:18.907Z
Julian Goldsmith
<p>I have 1GB of memory to work with on my VPS.</p>

<p>I want to run bitcoind as well as a few other crypto currency daemons.</p>

<p>As it stands, number of connections seem to be the only value I can change that has any impact on my memory usage.</p>

<p>I have bitcoind set to 10 connections at the moment and it is consuming a steady 400MB of memory during this time.</p>

<p>What are the consequences of lowering the number of connections to say 2 or 1?</p>

CC BY-SA 3.0
2013-05-08T09:26:54.010Z
Did your daemon already download the complete block chain? It's possible that block chain downloading is taking up bandwidth, but as soon as you are fully synced, the bandwidth use could be much lower.
Steven Roose
CC BY-SA 3.0
2013-05-08T09:52:28.977Z
Are you accepting incoming transactions? (If so, STOP your bitcoind now!).
Stephen Gornick
CC BY-SA 3.0
2013-05-08T15:31:33.923Z
@StevenRoose He's talking about RAM, not bandwidth.
Julian Goldsmith
CC BY-SA 3.0
2013-05-08T16:18:15.580Z
@StephenGornick why should I STOP my bitcoind if I am accepting incoming connections? Did you mean to make this comment on my question?
user3145
CC BY-SA 3.0
2013-05-08T17:50:35.033Z
How can having more connections open significantly increase the RAM memory used?
Steven Roose
CC BY-SA 3.0
2013-05-10T09:23:36.477Z
@user3145 Absolutely yes, stop accepting incoming connections if you are a merchant and recognize payments on 0/unconfirmed transaction status.  It has been proven that doing that makes you vulnerable to double spending against you somewhere around 100% of the time, roughly speaking.   If you instead are a merchant that waits for six confirmations then you are fine accepting incoming transactions.
Stephen Gornick
CC BY-SA 3.0
2013-12-06T16:15:58.660Z
And what happens with 1 confirmations? Are they also vulnerable?
BvuRVKyUVlViVIc7
<bitcoind><connection>
What are the risks of running an online store via a bitcoind connection using less than the minimum of 8 connections?
user3145
# What are the risks of running an online store via a bitcoind connection using less than the minimum of 8 connections?

(Asked by: username_0 on 2013-05-08)

I have 1GB of memory to work with on my VPS.

I want to run bitcoind as well as a few other crypto currency daemons.

As it stands, number of connections seem to be the only value I can change that has any impact on my memory usage.

I have bitcoind set to 10 connections at the moment and it is consuming a steady 400MB of memory during this time.

What are the consequences of lowering the number of connections to say 2 or 1?

**Tags:** bitcoind, connection

> **Comments:**
> **username_1**: Did your daemon already download the complete block chain? It's possible that block chain downloading is taking up bandwidth, but as soon as you are fully synced, the bandwidth use could be much lower.  
> **username_2**: Are you accepting incoming transactions? (If so, STOP your bitcoind now!).  
> **username_3**: @username_1 He's talking about RAM, not bandwidth.  
> **username_0**: @username_2 why should I STOP my bitcoind if I am accepting incoming connections? Did you mean to make this comment on my question?  
> **username_1**: How can having more connections open significantly increase the RAM memory used?  
> **username_2**: @username_0 Absolutely yes, stop accepting incoming connections if you are a merchant and recognize payments on 0/unconfirmed transaction status.  It has been proven that doing that makes you vulnerable to double spending against you somewhere around 100% of the time, roughly speaking.   If you instead are a merchant that waits for six confirmations then you are fine accepting incoming transactions.  
> **username_4**: And what happens with 1 confirmations? Are they also vulnerable?  

---

## 2 answers

### Answer by username_5 on 2013-06-07. Score: 1

In theory, only one reliable connection to a trustworthy node is sufficient. If you do decide to limit your connections only to 2 outgoing ones, make sure to connect to nodes you trust to be up to date, to reduce the chance of falling behind, or worse, being the target of an attack.


---

### Answer by username_3 on 2013-05-08. Score: 0

Lowering the number of connections would probably make your connection to the network less reliable. It might also make it so that any transactions you broadcast would be slower to propagate through the network, since they aren't being spread as widely as quickly.

Having only a few connections would, at the very least, make it take longer for your blockchain to get caught up, and for new blocks to be downloaded.

> **Comments:**
> **username_6**: Actually, transaction you create are only broadcast to one peer, to enhance anonymity.  

---

