<p>Your understanding is correct. What you describe is known as a <strong><a href="https://en.wikipedia.org/wiki/Sybil_attack">Sybil attack</a></strong>, here essentially the p2p version of a man-in-the-middle attack.</p>

<p>In general, Bitcoin requires very little trust, as each peer can check whether new information adds up with the information that was previously gathered. The attacker could use this constellation to relay a transaction to the attacked, e.g. make a store believe that an incoming transaction has been sent on the Bitcoin network, while instead sending the competing double-spend to the network. </p>

<p>However, the attacked could notice that he is not receiving any new blocks from the network (as otherwise the double-spend might be detected early). I.e. the attacked is not part of a real 'micro-economy', but rather just cut off from network updates.</p>

<p>In order to truly create a 'micro-economy', the attacker would have to actually mine fake blocks at the current difficulty in order to pass off false information as true, requiring immense hash-power at his disposal.</p>

<p>However, as one legitimate peer is sufficient to defeat this attack, you can either set your Bitcoin client to connect to certain peers only, or at least force it to connect to two peers that would not cooperate with each other to defraud you, in order to defeat the attack.</p>

<p>Edit:</p>

<p>Actually, I just realized that the <a href="https://en.bitcoin.it/wiki/Weaknesses#Sybil_attack">Bitcoin.it has a paragraph on the Sybil attack</a>.</p>

CC BY-SA 3.0
2014-01-24T19:54:31.860Z
2014-01-24T23:29:36.200Z
2014-01-24T23:29:36.200Z
Murch
<p>From my understanding of Bitcoin, it operates on a P2P network. Having just downloaded a wallet app, I see it is connected to 6 peers. Does the Bitcoin protocol rely on trusting these peers? What does it mean if these 6 peers turn out to be fake, and I'm part of a 'micro-economy' rather than Bitcoin proper?</p>

<security><protocol><network><sybil-attack>
Can I trust the peers I am connected to?
Brendon Boshell
# Can I trust the peers I am connected to?

(Asked by: username_0 on 2014-01-24)

From my understanding of Bitcoin, it operates on a P2P network. Having just downloaded a wallet app, I see it is connected to 6 peers. Does the Bitcoin protocol rely on trusting these peers? What does it mean if these 6 peers turn out to be fake, and I'm part of a 'micro-economy' rather than Bitcoin proper?

**Tags:** security, protocol, network, sybil-attack


---

## 1 answers

### Answer by username_1 on 2014-01-24. Score: 7 | Accepted answer

Your understanding is correct. What you describe is known as a **[Sybil attack](https://en.wikipedia.org/wiki/Sybil_attack)**, here essentially the p2p version of a man-in-the-middle attack.

In general, Bitcoin requires very little trust, as each peer can check whether new information adds up with the information that was previously gathered. The attacker could use this constellation to relay a transaction to the attacked, e.g. make a store believe that an incoming transaction has been sent on the Bitcoin network, while instead sending the competing double-spend to the network.

However, the attacked could notice that he is not receiving any new blocks from the network (as otherwise the double-spend might be detected early). I.e. the attacked is not part of a real 'micro-economy', but rather just cut off from network updates.

In order to truly create a 'micro-economy', the attacker would have to actually mine fake blocks at the current difficulty in order to pass off false information as true, requiring immense hash-power at his disposal.

However, as one legitimate peer is sufficient to defeat this attack, you can either set your Bitcoin client to connect to certain peers only, or at least force it to connect to two peers that would not cooperate with each other to defraud you, in order to defeat the attack.

Edit:

Actually, I just realized that the [Bitcoin.it has a paragraph on the Sybil attack](https://en.bitcoin.it/wiki/Weaknesses#Sybil_attack).


---

