Questions tagged [network]

This tag should be used for questions related to the Bitcoin network and communication between different nodes on the Internet.

Filter by
Sorted by
Tagged with
0 votes
1 answer
41 views

Peer-to-peer - informations about downloading

I would like to know how the software downloads the blockchain. If the bytes write throught the socket and wait until it's written. And If the software asks 16 blocks to each peer in which you're ...
user avatar
  • 69
2 votes
1 answer
80 views

Does running a node benefit the network?

There is a 10-year old question asking this. The sole answer to that question at the time was essentially a yes, and I've seen people say that running a node makes the network more "secure" ...
user avatar
7 votes
1 answer
315 views

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 ...
user avatar
  • 1,342
5 votes
1 answer
266 views

What is a block-relay-only connection? What is it used for?

Modern versions of bitcoin core establish a fixed number of outbound connections: 8 outbound-full-relay connections and 2 block-relay-only connections. What is the purpose of block-relay-only ...
user avatar
  • 231
2 votes
1 answer
26 views

How would one test the impact on the Lightning Network of a network split on the base layer?

How would one test the impact on the Lightning Network of a network split on the base layer (the blockchain progressing on two separate branches with each branch unaware of the other competing branch)?...
user avatar
1 vote
1 answer
44 views

How do the various bitcoin roles interact?

I think I've reached a reasonable (-ish) understanding of blockchain and bitcoin as it works just below the surface, but I still don't get that surface view. So, from the umpteen videos I've watched, ...
user avatar
  • 111
4 votes
2 answers
207 views

What is a Feeler Connection? When is it used?

The bitcoin client hard codes a limit of 8 outbound connections and 2 block-only connections. Your node will try to always maintain these 10 outbound connections with reliable peers as a defense ...
user avatar
  • 231
2 votes
0 answers
32 views

What is the prior work or inspiration for the new/tried table design?

In Eclipse Attacks on Bitcoin’s Peer-to-Peer Network section 8 Related Work, the authors describe how some of the countermeasures to eclipse attacks were inspired by botnets. What inspired the design ...
user avatar
  • 231
1 vote
2 answers
97 views

51% attack on a small network of nodes?

Not all the nodes in the bitcoin network are connected. So that means the computational power required to attack a smaller network would be comparatively easier. So, say we start a 51% attack on a ...
user avatar
1 vote
0 answers
55 views

Programmatically determining a full node in a peer-to-peer network

So I've found relatively few resources explaining the intricacies of the Bitcoin P2P network internal functionality. Right now, I'm writing a similar sort of peer-to-peer network, in another language ...
user avatar
3 votes
1 answer
172 views

How is network conflict avoided between chains?

I have a question which may appear obvious but hopefully it’s not. How do different Distributed Ledger Technologies (DLTs) and cryptocurrencies avoid network conflict? I understand the distributed ...
user avatar
6 votes
1 answer
113 views

Bitcoin Core stalled peer logic during initial block download

I'm trying to track down the cause of unexpected (20% to 85%) IBD slowdowns between my 2020 and 2021 annual performance tests. I experienced this slowdown with multiple implementations, so I don't ...
user avatar
3 votes
1 answer
71 views

Network Unroutable

I just started running bitcoin core on a dedicated laptop. I wanted to see if my node is connected to my Wasabi wallet so I sent some sats from Strike. In the peers list Wasabi shows up but under ...
user avatar
  • 31
0 votes
0 answers
54 views

Why does Electrum never complete synchronization with a server?

How do I diagnose why electrum never finishes synchronizing? I've tried selecting networks individually without success. Can I ping a server to confirm connectivity?
user avatar
0 votes
3 answers
42 views

if the lower bound of a blocks timestamps is the median of the previous blocks, how can the network difficulty ever decrease?

according to bitcoin developer documentation the lower bound for a blocks timestamp is the median of the previous 11 blocks. and also according to the documentation the network difficulty is ...
user avatar
  • 125
1 vote
2 answers
49 views

Is there any way to activate full 'leech' mode?

As I understand, bitcoin basically represents a situation where nodes are expected to (and do) serve other nodes in the network, information that represents the money of all transactions in that ...
user avatar
0 votes
1 answer
45 views

How to get IPs of 8 peers my node propagates transactions and blocks to?

I see that bitcoin-cli can do getpeerinfo. However, it typically returns around 30 different IPs. Even if I ask for only outbound ones, I get around 16 addresses. $ bitcoin-cli getpeerinfo | grep &...
user avatar
  • 139
3 votes
1 answer
181 views

Can "Block" Message send multiple blocks?

Can multiple blocks be sent in a single block message in response to the GetBlocks message, or will a new Block message have to be sent for every block? Thanks.
user avatar
  • 121
3 votes
2 answers
152 views

Unable to use I2P on Ubuntu 20.04 / 21.04

I configured the I2P according to this answer on Ubuntu 20.04 and 21.10. But I have been getting the following error when I try to connect to any I2P peer: I2P: Error connecting to ...
user avatar
  • 51
2 votes
1 answer
69 views

Is it okay to send witness transactions in response to `MSG_TX` get data messages?

I have a neutrino client that currently signals NODE_NONE. When it announces transactions it sends inventory messages and gets getdata MSG_TX requests back. Currently it replies with the witness ...
user avatar
0 votes
0 answers
21 views

Connection Reset after sending mempool message

I build a python script to talk to bitcoin test nodes. When I'm sending mempool messages, my connection is getting is reset. Also sometimes when connecting to Jimmy Song's testnet node (testnet....
user avatar
0 votes
1 answer
42 views

Can a full node measure bandwidth to and from its peers?

For example, can I run a full node, connect to some 8 peers, and measure my uplink and downlink bandwidth to each of my peers?
user avatar
  • 139
1 vote
0 answers
48 views

How long do peers normally stay connected?

I've been experimenting with the Bitcoin protocol by trying to connect to peers and receive blocks, which has been working so far. However, often peers will close the TCP connection within a couple of ...
user avatar
  • 111
2 votes
0 answers
109 views

Version message C++

I learn bitcoin and I am trying to send a version message and get response, respectevily, by using C++. I can not find any examples or articles how to do it in C++. I'm forming request and send it by ...
user avatar
1 vote
3 answers
79 views

What makes the bitcoin network decentralized? is it the nodes or the miners or both?

I wonder what makes the bitcoin network decentralized? Do nodes participate in making the network decentralized? or is it just the miners and all about the hash power to take over the network aka 51%&...
user avatar
  • 227
0 votes
0 answers
33 views

Add ipv6 addresses from `getpeerinfo` of Node 1 in peers.dat for Node 2

Node 1 (connects to only ipv6 nodes): bitcoind -signet=1 -port=18333 -rpcport=18222 -rpcuser=user1 -rpcpassword=pass1 -datadir=/home/prayank/node1 -debug=net -onlynet=ipv6 Get address for few nodes ...
user avatar
1 vote
1 answer
168 views

Bind to local IP address and use it in addpeeraddress

Bind local IP (Node 1) bitcoind -regtest=1 -port=18333 -bind=192.168.150.110 Logs: 2021-09-01T13:14:16Z Bound to 192.168.150.110:18333 2021-09-01T13:14:16Z Bound to 127.0.0.1:18445 Trying to add it ...
user avatar
0 votes
1 answer
93 views

What types of smart contracts are available for bitcoin network in 2021?

We all know that the first smart contracts appeared on the Ethereum network. As far as I know, in the Bitcoin network, smart contracts work with a limited functionality – Bitcoin uses a non-Turing ...
user avatar
1 vote
3 answers
96 views

Do I have a chance to commit a transaction without any network fee?

I know how transaction fees are calculated. Also I understand that a transaction with a higher fee will be approved much faster than a transaction with the lowest one. Does the bitcoin protocol allow ...
user avatar
1 vote
0 answers
180 views

Low inbound connections and fixed getnetworkinfo score at 4

I spent hours researching for possible solutions, but couldn't find any. I set up my RPi4 bitcoin node about a month ago. It communicates through Tor (see torrc content). SOCKSPort 9050 Log notice ...
user avatar
  • 31
1 vote
1 answer
142 views

Can bitcoind listen on both ipv4 and ipv6?

Can bitcoind listen on both ipv4 and ipv6? I know it can make outbound connections on both (onion and i2p) but can it also advertise multiple public hosts if available? This question was asked by ...
user avatar
0 votes
1 answer
167 views

Scenario: What would happen to Bitcoin if the internet would crash - world wide [duplicate]

What would happen to Bitcoin if the internet or power would be shut down for a moment, all over the world? Would this destroy Bitcoin or other block chain based money or technology?
user avatar
  • 101
-1 votes
3 answers
137 views

Why there are so many miners, if only one will be rewarded?

Why do we need so many miners, if we anyways only can add one block every 10 minutes? I mean if the current block height is x and we now need the block of height x+1 only one miner will be rewarded ...
user avatar
  • 101
0 votes
0 answers
21 views

Are many nodes in the network trying to find a proof of work for the same block of transactions? [duplicate]

If two nodes in the bitcoin network receive the same transactions and now both are trying to find a proof of work of the current block, wouldn't this be inefficient? Because presumably both nodes are ...
user avatar
  • 101
5 votes
1 answer
959 views

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, ...
user avatar
  • 153
1 vote
2 answers
93 views

Is it possible to capture network events without going full-node?

You might find my question rather quixotic or nonsense. But I have to ask it here. I want to capture all the transactions propagated over the main network and detect if a new block mined. I don't want ...
user avatar
3 votes
1 answer
100 views

In Bitcoin Core, are compact blocks pre-filled with more than just the coinbase?

In the "How are expected missing transactions chosen to immediately forward?" section of https://bitcoincore.org/en/2016/06/07/compact-blocks-faq/ it states that "To reduce the number ...
user avatar
2 votes
1 answer
195 views

Is it possible to restrict Bitcoin's network traffic?

Bitcoin is just a software running on a computer communicating securely with peers on the internet. What will it take purely in technical terms to ban Bitcoin nodes from communicating with the network?...
user avatar
0 votes
1 answer
50 views

How can one join and leave Blockchain network? [duplicate]

As a newbie, it seems a bit abstract for me to imagine how Blockchain works! I'm curious that how my friends and I can join a Blockchain network? When we don't want to stay, can we silently leave and ...
user avatar
  • 21
3 votes
1 answer
134 views

If there are a significant number of pruned nodes on the network will it impact network security?

The size of the Bitcoin blockchain is reaching 350 MB and adding more than 60GB per year. I feel verification node centralization a risk if the cost of storage does not drop. My question 1: Is using ...
user avatar
0 votes
0 answers
40 views

how do bitcoin nodes detect a transaction?

I have a number of question about bitcoin but I was ask to do specific research on two questions and I figured this would be a good place to start. The first I have answered already the second is: &...
user avatar
2 votes
2 answers
293 views

Where does a full node get the blockchain from for Initial Block Download?

I understand that a full node needs to do an IBD before being able to verify transactions. So, it downloads the ledger up to now, which is known as Initial Block Download. But what I don't understand/...
user avatar
3 votes
1 answer
155 views

Are there any downsides to banning node crawlers?

There are multiple entities and open-source software that crawl the Bitcoin P2P network to discover and monitor nodes for various purposes (statistics, surveys, academic papers etc.) Some of those I ...
user avatar
1 vote
1 answer
53 views

How much info share bitcoin nodes between other nodes?

1.If we assume bitcoin nodes share the other nodes addresses in the end every node know other nodes adresses right? 2.If we share data through network every node share the same information other ...
user avatar
  • 11
0 votes
1 answer
54 views

How to understand the first reply of a node

I have send my version message to a bitcoin node and the hexdump of his answer was this: https://pastebin.com/QBNaeS0g Maybe this is a network related question but I want to know the version used by ...
user avatar
  • 2,361
1 vote
1 answer
101 views

Is there an easy way to estimate the number of mining nodes?

I was curious about the number of mining nodes on the network, yet I haven't seen it discussed. I tried two different approaches to approximate the count of mining nodes. I looked up the hashrate of ...
user avatar
2 votes
1 answer
545 views

How do network nodes "connect" - amateur level

I have little background in computing, have been studying bitcoin for intellectual stimulation. I have learned a lot and I understand quite a bit regarding the function of nodes, the validations they ...
user avatar
  • 320
0 votes
1 answer
109 views

What happens if everyone disconnected from the blockchain

What would happen if for some reason, every computer connected to the blockchain was disconnected, and no peer-to-peer connection was established with the blockchain protocol between 2 users. Would ...
user avatar
  • 1
1 vote
1 answer
137 views

Is there some kind of USB antenna I can buy to be able to use Bitcoin even when there is no Internet?

Let's say they cut the Internet tomorrow. I will still have my private keys on my offline computer, but I won't be able to sync the blockchain (as won't anyone else) nor would i be able to make any ...
user avatar
2 votes
3 answers
95 views

Trust in bitcoin networking

I am new to the subject, but as I was studying I wasn't able to understand something and I would appreciate if anyone could help me. I understand that in most aspects bitcoin doesn't rely on trusting ...
user avatar

1
2 3 4 5
9