Questions tagged [p2p]

Peer-to-peer (p2p) network protocols are used to transmit messages between network nodes of identical status in the network. In a p2p network, all participants look the same to each other.

This is unlike network protocols with a hierarchy of controllers and agents and unlike network protocols with servers and clients with distinctly separate roles.

124 questions
26
votes
4 answers

What is a DNS seed node vs a Seed Node?

I've seen references to both strewn around. Specifically, is there a bitcoin client running at the DNS seeds or seed nodes?
Shamoon
  • 2,819
  • 3
  • 34
  • 52
19
votes
2 answers

Can someone please explain FIBRE to me like I'm 5 and why is it useful?

I read the website but they imply you already know why this is valuable. Can someone please illuminate me on this issue?
verzn
  • 193
  • 1
  • 4
15
votes
1 answer

What is the tradeoff between privacy and implementation complexity of Dandelion (BIP156)

Dandelion is a new relay protocol for transactions on cryptocurrency peer-to-peer networks. It has been heralded as a huge privacy improvement for cryptocurrencies at the networking level– I'm wondering what costs this comes at. Does Dandelion…
Chris Stewart
  • 1,114
  • 1
  • 9
  • 19
10
votes
2 answers

What is the difference between the bitcoind command line options "addnode" and "connect"?

As seen here: https://en.bitcoin.it/wiki/Running_Bitcoin#Command-line_arguments -addnode=ip Add a node to connect to and attempt to keep the connection open -connect=ip Connect only to the specified node(s) Both of those…
user3145
  • 867
  • 1
  • 8
  • 17
9
votes
1 answer

How can I use Bitcoin Core with the anonymous network protocol I2P?

How can I use Bitcoin Core with the I2P anonymous network protocol?
Michael Folkson
  • 14,337
  • 3
  • 11
  • 45
8
votes
2 answers

Where can I find a list of reliable Bitcoin full nodes?

I already know about this list but it does not seem to be reliable or even up-to-date. Is there any other place where I can find a better list?
Felipe
  • 1,688
  • 3
  • 19
  • 31
8
votes
1 answer

What is the difference between blocksonly and block-relay-only in Bitcoin Core?

The terms blocksonly and block-relay-only that are used in Bitcoin Core are very similar. What is the difference between them?
Lightlike
  • 581
  • 1
  • 12
7
votes
1 answer

What is the maximum, realistic P2P message payload size?

In Bitcoin Core, MAX_SIZE defines the maximum valid P2P message payload size to be 32MB. Is it realistic that a peer sends a message payload close to 32MB? What is the maximum, but still realistic message payload size?
0xb10c
  • 1,392
  • 5
  • 21
6
votes
1 answer

Is FIBRE still in use in 2023?

I have read Can someone please explain FIBRE to me like I'm 5 and why is it useful? then https://bitcoinfibre.org/ and https://github.com/bitcoinfibre/bitcoinfibre. But I still do not understand, is it in use today in 2023 and where, how? My…
WebOrCode
  • 323
  • 7
6
votes
2 answers

Bitcoin Core uploads much more than it downloads

Since Bitcoin is a peer-to-peer network of mostly identical clients, I would expect each node to upload about as much as it downloads. So I was surprised to see that my Bitcoin Core node has (since last startup) downloaded 1 GB of data but sent 47…
Vojtěch Strnad
  • 5,623
  • 1
  • 8
  • 31
5
votes
1 answer

How does a full node decide which outbound peers to have?

I understand that a full node can have up to 10 outbound connections (8 full relay peers and 2 block-relay-only peers). I wonder how my full node decides which nodes to connect to for outbound. What are the selection criteria does a node use to…
glowang
  • 95
  • 4
5
votes
2 answers

How would an adversary increase the required fee to replace a transaction by up to 500 times?

In the ephemeral anchors draft BIP (also discussed here) it states that without V3 transactions an adversary can increase the required fees to replace a transaction as much as 500 times. That sounds a lot. What is the exact scenario where there…
Michael Folkson
  • 14,337
  • 3
  • 11
  • 45
5
votes
2 answers

How does bitcoin prevent DDoS amplification via the `addr` p2p message type?

If I am not mistaken the mainline bitcoind will accept unsolicited addr messages, and upon receiving this message - the struct is deserialized, and then verify each address from the unsolicited sender. The addr struct allows for up to 1,000…
Rook
  • 333
  • 2
  • 8
5
votes
1 answer

Is the `mempool` message reliable?

According to https://github.com/bitcoin/bitcoin/blob/master/src/net_processing.cpp#L3775-L3801, it seems like the mempool message is only responded to in certain cases. Can someone help understand how this works and why a full node would not always…
cloudhead
  • 189
  • 5
5
votes
1 answer

To run a full node, should I get a static IP address from my ISP?

I have a router connecting my home LAN to the ISP. After opening port 8333 on the router, and forwarding it the computer running the node, bitnodes.io confirmed the node was reachable. However, bitnodes.io sees the IP address the ISP is currently…
Fanta
  • 153
  • 5
1
2 3
8 9