We’re rewarding the question askers & reputations are being recalculated! Read more.

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
0answers
17 views

Types of onion address

I'm running a bitcoin core full node with Tor and I've configured a hidden service for that. The point is: bitcoin core log shows me an onion address which is very smaller than the one I found in /var/...
1
vote
1answer
15 views

difference between inbound and outbound connection

I'm running a bitcoin full node (bitcoin core) via Tor. I noticed I have only outbound connections (using maxconnections=16 in the conf file), but not even an inbound one. So which is exactly the ...
3
votes
3answers
166 views

Can we shutdown the Bitcoin blockchain?

I maybe wrong but what I think is the blockchain ledger exists as long as there are active nodes in the network. So can the Bitcoin blockchain be shutdown by shutting down power supply across the ...
6
votes
1answer
158 views

What is the oldest Bitcoin Core Client that can in theory sync to the chain tip?

I've seen this question regarding the original Satoshi Client being able to sync to the chain tip. The main issues why it doesn't work were: Change in protocol messages IRC Node discovery is now ...
2
votes
1answer
23 views

Double Spend Behavior on First Network Propagation

Supposing there is a double spend, call the transactions T1 and T2. If someone propagated both transactions within a short space of time to the network, of course only one of them can make it into the ...
0
votes
0answers
24 views

No addresses returned by getnodeaddresses RPC call

The issue I am attempting to use the getnodeaddresses RPC call to return all addresses known by a node in a docker network. I'm using the regtest environment. The RPC call returns an empty array ...
1
vote
1answer
19 views

Bitcoin network resources requirement

Supposing we are alone, could it be possible to run the whole bitcoin network and full capacity of it (maximum transaction per second by different peer) on a low end computer, and how can someone ...
3
votes
1answer
36 views

How does the Bitcoin p2p network work? Does it need port forwarding?

But does every peer node in the bitcoin p2p network need to have ports forwarded in order to participate? Otherwise, how does the p2p network work in the Bitcoin network? I heard that there are some ...
1
vote
0answers
24 views

Why not connect to all (huge amount of) nodes?

If you mine, a good network propagation time is important in case of mining-forks. I read that bitcoin only connects to 8 nodes. I would connect to many nodes as I can support to minimize my block ...
2
votes
1answer
93 views

Networking & Lightning Network

So I have a question regarding network connectivity within LN nodes. Scenario #1: I have public lightning network node. it has real public IP address (let's say 123.123.123.123), which one is ...
0
votes
1answer
100 views

Can't connect to Bitcoin RPC on DigitalOcean server

I am running bitcoind on a DigitalOcean droplet with public IP address e.g. 1.1.1.1. I would like to connect to it via RPC from another DigitalOcean droplet with public IP address e.g. 2.2.2.2. Both ...
0
votes
1answer
26 views

A question about transaction broadcasting and block creation

Let's say we have transaction X and transaction Y. The timestamp of X is chronologically earlier than that of Y. X's spender broadcasts X to the network and the same goes for Y's spender. Let's say ...
1
vote
1answer
19 views

A question about Proof-of-Work(PoW)

I will describe my question using an example. Let's say the network is working on adding block #100 to the blockchain. An attacker recreates block #99 with a combination of transactions that are "...
1
vote
0answers
27 views

Does finding neighbors in Bitcoin consider locality and hop count?

When the list of neighbors is being gathered by a new nodes in the network, does it consider the distance between the nodes to find closest possible, or it just takes some random nodes? In other words,...
1
vote
0answers
22 views

How often does a node connect to a random node?

I'm trying to understand the likelihood that a node would connect to a sybil attacker, and the critical piece to this that I don't understand is: how often does a bitcoin node connect to a random node ...
1
vote
1answer
42 views

How can I start bitcoind without blockchain synchronization?

Suppose I make a locked wallet with 50000 pre-generated addresses. As long as I researched, only way I can collect those 50000 addresses using RPC and "getnewaddress". Feel free to correct me. I ...
3
votes
1answer
88 views

What are the potential security issues when running a Lightning Node on my home network?

If I was to run a lightning node on my home network (and for example, not running the node through TOR), what should I worry about? Furthermore, what OS, settings and software should I use to ...
0
votes
0answers
26 views

About the balance of specific address

I have a question about how to figure out balance of specific address in the Bitcoin. There are many node in the blockchain(total # of nodes are 10000 based on 01/16/2019). but some nodes may have ...
1
vote
1answer
52 views

A more updated address clustering method?

say i have a transaction details of one address from blockchain info. is there a more updated heuristics for address clustering ? i.e. if a transaction has 2 output which address belongs to a ...
0
votes
2answers
54 views

What would happen if you tried to follow two Bitcoin blockchains from the same computer?

This will probably sound stupid but what would happen if you create an entirely new Bitcoin block chain and run it on the same computer. How does a node know which version of the Bitcoin block chain ...
1
vote
0answers
33 views

Can't inititate network handshake with my full node

I am running a custom Python script to initiate network handshakes with other nodes. While testing the code I decided to initiate an handshake with my own node but I am getting a timeout error. ...
0
votes
1answer
41 views

Can a Bitcoin node create an outgoing connection to a inbound node?

I'm trying to figure out if we can create an outgoing connection to a inbound node (a node which we are already connected to, but the remote peer has initiated the connection). I know that this does ...
6
votes
1answer
145 views

What is the Big-O for LN bandwidth? Can anyone answer this or provide a link to a spec that is sufficient enough for us to calculate it?

When I worked at Google, if someone wanted to deploy a network application they would need to provide a document to the SREs detailing the behaviour of the application at scale in terms of Big-O. Does ...
0
votes
0answers
60 views

How to dissect or decode a BTC transaction?

I used a packet capture to capture the transaction of bitcoin, and I got the following: ...
0
votes
0answers
34 views

Do SPV nodes sync “headers-first”?

Headers-first sync is defined somewhat by BIP 130 and expanded upon with compact block relay in BIP 152. I believe this is the commit in which it was added to Bitcoin Core. The result is that Bitcoin ...
1
vote
1answer
59 views

Is there a way for me observe network traffic of bitcoin exchange?

I was wondering if there is a way to observe a network traffic/packet of bitcoin exchange. I want to know what's in the packet when I send a bitcoin from one wallet to another. Thanks.
2
votes
0answers
28 views

How the process “ lock a certain amount of coins into the network as their stake” achieved technically in the Proof of stake algorithm

i am trying to understand deeper the proof of stake algorithm. i think i understand the basics but i am struggling to understand how this achieved thoroughly under blockchain network and how the nodes ...
2
votes
1answer
62 views

Malicious full nodes causing denial of service attacks

To control >51% of the mining power in bitcoin is impractical due to the immense investment that will be required. Also, The Bitcoin Core client has DoS protection against malicious nodes forwarding a ...
0
votes
1answer
137 views

Send coins from bitcoind full node to lnd without fee?

I'm trying to fund my LND node, for that I put some dust on my BTC wallet address and now I want to send to my LND wallet address but when I try to send with fees "paytxfee": 0.00000000 returns an ...
0
votes
1answer
53 views

What happens when invoices get paid more than once?

Until today I thought, that lightning invoices can only be paid once. Where do the funds go when an invoice is paid more than once? Will every payment reach the destination node or can reusage be ...
0
votes
1answer
63 views

Unable to find peers when connecting through tor proxy

I have tor running as a service on my computer and start bitcoind with -proxy=127.0.0.1:9050 but it fails to find any seeds through DNS or anything during startup, and even after leaving it on for ...
0
votes
0answers
56 views

Bitcoin neighbours with getaddr type message

lately I'm dedicating myself to programming my Bitcoin client for academic purposes, and I was analyzing protocol specifications, with particular attention to the system of exchange of known network ...
0
votes
2answers
44 views

Does a Node connect to all the peers?

Does a Node connect to all the peers in the network? Or just a few? If its just a few, how many? If its just a few, what about if all of those nodes in the list are malicious?
3
votes
2answers
136 views

How to confirm how many peers a node has?

When a node requests one of it's neighbours for a list of it's peers, that node responds with a list of all of it's neighbours. I'm just wondering is there a way to confirm that those nodes are ...
1
vote
0answers
47 views

Creating a tunneling (wormhole) service for bitcoin wallets

Zcash recently announced a new wallet and service to connect mobile devices to a node running on a private home network using a tunneling service they are calling "wormhole" (1). Basically it is ...
0
votes
0answers
19 views

Creating a bitcoin simulation

I want to create a bitcoin simulation where I can simulate information propagation similar to that of the real bitcoin network. I would then like to change how information propagation works in this ...
0
votes
1answer
33 views

Requesting a node's peers list

When joining the bitcoin network, you request a list of peers that a node has so that you are able to connect to those peers if you wanted to, in order to be better connected. Is there any way that ...
1
vote
3answers
58 views

When joining the bitcoin network, why aren't we connected to the most geographically closest nodes?

Is this a safety/security reason or is it just convenience?
1
vote
2answers
89 views

How could LN mitigate NAT transversal problem?

As we all know, IPv4 address space is already exhausted, many ISPs have deployed carrier grade NAT (CGN). So how could an LN node living behind NAT deal with NAT transversal problem? How could two ...
0
votes
1answer
35 views

Is there a way to distinguish miner nodes from other nodes?

In the bitcoin network, there are many different types of nodes. One of these types are miners and in the bitcoin network, is there any way to distinguish a miner node from a non-mining node? I'm ...
1
vote
1answer
43 views

Lightning Network: Is it creating 3 transactions instead of 2?

I'm watching this Lightning Network presentation by the original authors. At 9 minutes in, he notes that all the network sees will be a transaction to the multisig address and then a transaction to ...
4
votes
2answers
533 views

How are transactions propagated through the bitcoin network? (In-depth)

I know the general gossip protocol that occurs i.e transactions are sent to neighboring nodes who then send it to their peers etc. but I was trying to find a more in-depth answer on how transactions ...
1
vote
1answer
81 views

Any privacy considerations regarding allowing inbound connections for a Tor full node?

I wanted to know if there's any privacy considerations to take into account when opening the bitcoin ports on the router for a bitcoin node. I'm using -onlynet=onion in the bitcoin.conf file and I ...
0
votes
2answers
23 views

Is it possible to accurately map hashing power to network size?

Let's say we have a network with n nodes in it. Is it possible, when the hashing power of the network is calculated after a proof-of-work, to accurately estimate n with an algorithm taking the ...
0
votes
1answer
59 views

Blockchain endpoint working

I wanna clear this thing that how blocks are retrieved and created in from the nodes using an end point. The end point is basically centralized and have nothing to do with network if i'm not wrong. Is ...
1
vote
2answers
102 views

Transaction Relay and trickling in Bitcoin

If a node has 100 connections to other nodes and receives a new transaction using a getData request, it sends an inv message to it's 100 connecting peers correct? Does it also send the inv message to ...
1
vote
1answer
63 views

Possible better peer-to-peer protocols for Bitcoin?

As we know, bitcoin uses flooding in order to propagate blocks and transactions across all the nodes in the network. As it was launched in 2009, it's been almost 10 years since it's launch and I was ...
1
vote
2answers
37 views

Would bitcoin core work on a big endian system? Or even a system where C++'s `int` is not 32-bit?

Looking at the source code of bitcoin core, the serialization part, I see that there's no serialization abstraction layer that accounts for a possible different endianness or different binary layouts ...
2
votes
0answers
52 views

How to get multiple connections to the same node

I'm playing around with connecting my node to another one of my nodes to see how many incoming connections I can handle. Whenever I add node A from node B with bitcoin-cli addnode 1.1.1.1 add after ...
1
vote
2answers
76 views

Networking in cryptocurrency

I am learning and trying to implement my own cryptocurrency and I am thinking about how could I achieve the peer to peer connections. I read that bitcoin is using DNS seeds for discovering users. In ...