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
1 vote
1 answer
31 views

How does bitcoin core API work locally (network) - bitcoinlib in python using too many web sockets

I'm trying to understand at a high level, the local network aspects of calling the bitcoin core api via bitcoinlib in python So the context around this question is that I wanted to work on some python ...
user2880722's user avatar
0 votes
0 answers
35 views

multiple socket address usage error - using rpc to index block hashes

When I am attempting to index and create an array out of all the blockhashes on the blockchain I keep getting this error: "[WinError 10048] Only one usage of each socket address (protocol/network ...
user2880722's user avatar
2 votes
1 answer
99 views

What is the purpose of addr_recv? What does it mean that addr_recv influences the heuristic for determining which of the receiving nodes IP is public?

I found here the purposes of addr_recv and addr_from. Bitcoin Core actually ignores addr_from in received version messages. addr_recv is used to influence the heuristic that determines which of the ...
Qwerty M3's user avatar
0 votes
1 answer
38 views

How to decide on custom network fee?

I'm slightly stuck. I hadn't bought any BTC since Oct 2023 and so didn't notice that the network fees had got so high so now I have some BTC on an exchange and I'll have to pay £20 or so to send it to ...
Cromulent's user avatar
  • 111
4 votes
1 answer
164 views

What's a rule of thumb for setting the maximum number of connections?

Connectivity of full nodes varies a lot, ranging from phones with mobile service to servers in data centers. Also, many nodes probably have asymmetric bandwidth. Assuming the goal of maximizing ...
real-or-random's user avatar
1 vote
1 answer
69 views

Why do nodes have a maximum peer count?

Why do nodes have a maximum peer count, in other words what could go wrong if each node is connected to all the nodes of the network?
Noah Bergh's user avatar
0 votes
1 answer
441 views

Is it real BTC or fake [duplicate]

All, I received some BTC to my coinbase wallet after someone asked me to setup custom network using the below setting. I received the BTC but I couldn't transfer to any other wallet and the says ...
san's user avatar
  • 1
0 votes
0 answers
19 views

need help with BTC transfer [duplicate]

All, I received some BTC to my coinbase wallet after someone asked me to setup custom network using the below setting. I received the BTC but I couldn't transfer to any other wallet and the says ...
san's user avatar
  • 1
1 vote
0 answers
31 views

Which are the default features enabled on the main three Lightning Network node implementations (LND, C-Lightning and Eclair)?

Which are the default features enabled on the main three Lightning Network node implementations (LND, C-Lightning and Eclair)? I mean the features shown when you use "describegraph" command.
Mani T's user avatar
  • 187
5 votes
1 answer
295 views

How to use Wireshark to identify Bitcoin/Lightning P2P packets

I've seen that Wireshark can detect protocol packets like Bitcoin and Lightning Network, which are identified in the protocol column. However, my Wireshark is not classifying those packets, it just ...
Mani T's user avatar
  • 187
2 votes
1 answer
109 views

AntMiner connected via ethernet to wireless plugin adapter has trouble connecting to the BTC Mining pool without DMZ

Ant Miners are LOUD, so I wanted to put mine in the (environmentally controlled) garage. However Ant miners only have an ethernet port, and I had no good way to run ethernet from the router to the ...
MathematicalFawkes's user avatar
1 vote
0 answers
47 views

What is the most successful method to automate circular rebalancing?

What is the most successful method to automate circular rebalancing? We have tried the Torq and the LNDG app but so far they both do not wotk for us so we are still performing manual circular ...
Orange_Bitcoin's user avatar
6 votes
1 answer
830 views

Why is each transaction broadcast twice in the Bitcoin network?

Here is a part of this mail in the mailing list from Satoshi: The bandwidth might not be as prohibitive as you think. A typical transaction would be about 400 bytes (ECC is nicely compact). Each ...
Amir reza Riahi's user avatar
-1 votes
1 answer
61 views

Can we or Should we build a public health records be kept on the bitcoin network? [closed]

Can/Should we public health records be kept on the bitcoin network? If your answer no, would love to know why? If your answer is yes, what do you think the most efficient way to build such a ledger? ...
RRR's user avatar
  • 1
4 votes
1 answer
247 views

Theoretical attack on the network by companies

I've thought about how powerful companies can change the protocol in pretty much any way they want. I'm pretty sure and hope there's some kind of way the network is resilient to this but I'm not sure ...
mathboi's user avatar
  • 183
2 votes
1 answer
121 views

Is there a way to download blocks from scratch without downloading block headers first?

I would like to know if there's a way to download a blockchain without knowing block headers. This could be achieved by asking NEXT_BLOCK_HASH from the genesis block. But is this even possible ?
Loopite's user avatar
  • 301
4 votes
1 answer
238 views

BIP324 encrypted packet structure

I recently saw the BIP 324 proposal. It shows us there can be some privacy enhancement by using ECDH secrets and encryption algorithms such as ChaCha20 and AEAD-ChaCha20-Poly1305. The proposal ...
Loopite's user avatar
  • 301
0 votes
0 answers
33 views

How to run master mining node with semi-offline slaves?

How can I run a master mining node with semi-offline slaves? I have a single master node that is fully connected to the internet (bidirectional). The master node is also connected to thousands of ...
fejyesynb's user avatar
  • 101
0 votes
0 answers
82 views

Failed Tls connection to LND with gRPC and REST using rust

I have been trying to connect to an LND node using Rust as a language. I have been constantly be given this error: tonic::transport::Error(Transport, hyper::Error(Connect, Custom { kind: InvalidData, ...
lescuer's user avatar
1 vote
1 answer
236 views

How to find transaction's original author in Bitcoin Core?

I have recently installed Bitcoin Core on my PC and downloaded the blockchain in prune mode. I want to find out if there is a way to find transactions original author, the node which broadcasted a ...
MagentaPink's user avatar
2 votes
0 answers
47 views

Listening only for local inbound connections over "clearnet", and using Tor for external connections

I want to connect some wallets to my node in my LAN, over regular connection (not Tor), but I don't want my node to use this "clearnet" connection for anything else (for example to connect ...
bl0ck3d's user avatar
  • 81
3 votes
1 answer
235 views

Bitcoind is able to listen both to clearnet and Tor networks but broadcast transaction only over Tor?

I know bitcoin core node can listen to both Tor and clearnet connections, but in this situation is it possible to broadcast transaction only over the Tor network and not clearnet? I'm asking it for ...
bl0ck3d's user avatar
  • 81
8 votes
2 answers
974 views

How does it contribute to the Bitcoin network when I run a node with a bigger than default mempool?

Lately, when the blockspace demand outstrips the default mempool size and the dynamic minimum feerate of nodes rises above the minimum transaction feerate, I often see the suggestion to simply ...
Murch's user avatar
  • 74.3k
1 vote
1 answer
76 views

Is it normal that uploading is higher than downloading? (traffic network) [duplicate]

Config: Windows 10, i5, RAM : 16Go Bitcoin options : Version : 24.0.1 with Serveur RPC on, UPnP on, natpmp on, no proxy, no onion Does it seems normal to you ?
Romain's user avatar
  • 41
0 votes
2 answers
76 views

How much info does the Bitcoin Network know about miners? Would a time traveler be discovered?

What information does the bitcoin network & blockchain actually log about the miners themselves, such as hardware-specs/OS/hashing-rate/etc.? And how backwards compatible are the protocols? For ...
Yurelle's user avatar
  • 103
2 votes
1 answer
71 views

How many lightweight nodes vs full nodes are there on the network?

I'm curious, how many lightweight nodes are there on the network? Is this easy to tell?
bitcoinluvr6969's user avatar
3 votes
1 answer
117 views

bitcoin-cli -netinfo not showing incoming ipv4 peers

I was trying to get my bitcoin node to be able to receive ipv4 peers for couple of days, but could not see any incoming peers even tho my port 8333 was open and reachable and to my best knowledge ...
Wiredancer's user avatar
2 votes
1 answer
77 views

DoS attack and MAX_BLOCKS_IN_TRANSIT_PER_PEER

I was reading Mastering Bitcoin and I found, in the section Exchanging "Inventory", this: "The node keeps track of how many blocks are "in transit" per peer connection, ...
Paro's user avatar
  • 185
1 vote
2 answers
52 views

If my node is connected to 7 nodes and 4 of those say that a block they transmitted to me is valid will i mark it as valid?

Let's say I am a node and I am connected to 7 other nodes. 4 of those nodes transmit me a tx or a block and say it's valid. (I am aware they do not explicitly send a message saying that something they ...
Aarav Dayal's user avatar
3 votes
1 answer
119 views

ThreadOpenConnections and break versus continue: why the one versus the other?

In the inner loop of ThreadOpenConnections() in net.cpp sometimes there is a break to the outer loop and sometimes a continue. This is my understanding of the decision between break and continue in ...
codo's user avatar
  • 31
2 votes
1 answer
164 views

Raw data vs information encoded in OP_RETURNs

Imagine I want to fill the 80 bytes of OP_RETURN data with zeroes, so that the resulting data is 640 bits set to 0, or 160 hex digits set to 0. The data is 640 bits but the information encoded is much ...
Son Kaos999's user avatar
7 votes
1 answer
58 views

What can an attacker do if they compromise a DNS seeder?

Recently Bitcoin Core developer Luke-jr was hacked and has stated that we should consider anything owned by him to be compromised. This would include his DNS seeder at dnsseed.bitcoin.dashjr.org. If ...
Ava Chow's user avatar
  • 69.8k
0 votes
1 answer
88 views

Network traffic peaks for Bitcoin Core GUI Node

I have the latest version installed, no SOCKS5 connexion. Sending maximum is around 4500Ko/s (also seeable on the picture). Do you know why it goes up like that ?
Romain's user avatar
  • 41
0 votes
1 answer
51 views

When a block is broadcasted, are all the data of the transactions packed into it or are only its hashes included in the block

Most of the blogs and answers to this question do not give a straightforward answer. I have a good amount of information regarding bitcoin and would like to simply know if the transactions are packed ...
Aarav Dayal's user avatar
10 votes
3 answers
5k views

Why is connecting bitcoin exclusively over Tor considered bad practice?

I've heard that a bitcoin node with only Tor connections is "trivial" to eclipse attack and that such nodes should maintain at least one (or more?) clearnet connections in addition. What is ...
pinhead's user avatar
  • 5,074
1 vote
1 answer
54 views

Globally offline node goes online but txs that were broadcast to it while off the net are not broadcast when it goes fully online

I have a Bitcoin Core node that I disconnected from the internet while keeping it on a hub with a laptop. I sent a transaction to that node from my laptop (via a local Electrum server). Now I put ...
davidbak's user avatar
  • 261
1 vote
1 answer
122 views

Can Bitcoin work without Network Time Protocol?

After reading an article about the imminent retirement of David Mills, and the possibility that there could be some handover issues (imho just rumors), I wondered if the Bitcoin protocol depends by ...
Stefano Adriani's user avatar
0 votes
1 answer
211 views

How to run bitcoind and lnd on separate machines on the same network

I have a bitcoin full node running on a raspberry pi 3b but it doesn't have enough memory to also run lnd at the same time so I'm trying to do that on a separate machine connected to the same network. ...
gruntled's user avatar
5 votes
2 answers
922 views

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 ...
Rook's user avatar
  • 333
8 votes
1 answer
914 views

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's user avatar
  • 636
1 vote
2 answers
161 views

Why does the network allow a fraudster (double spender) to broadcast a transaction to a single node (the victim)?

Let's assume for the sake of argument that a fraudster is able to create blocks faster than the rest of the network. Given that, they would be able to achieve double spending by making a fraudulent ...
David's user avatar
  • 11
0 votes
1 answer
76 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 ...
Loopite's user avatar
  • 301
3 votes
1 answer
141 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" ...
Vojtěch Strnad's user avatar
7 votes
1 answer
408 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 ...
0xb10c's user avatar
  • 1,400
7 votes
1 answer
2k 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 ...
vnprc's user avatar
  • 385
2 votes
1 answer
42 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)?...
Michael Folkson's user avatar
1 vote
1 answer
53 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, ...
tkp's user avatar
  • 111
6 votes
3 answers
546 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 ...
vnprc's user avatar
  • 385
2 votes
1 answer
145 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 ...
vnprc's user avatar
  • 385
1 vote
2 answers
120 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 ...
Vikram Ahuja's user avatar

1
2 3 4 5
10