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
1answer
20 views

How do I ask other nodes for their stale blocks?

I want data on as many stale blocks as possible. Is there a way to ask peer nodes to run "getchaintips" and get their results? Previously, I used Blockchain.info's API call for this, but it seems ...
1
vote
2answers
108 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
2answers
66 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 ...
0
votes
0answers
21 views

Why is my Bitcoin transaction not confirming today? [duplicate]

Please don't tell me that this also has something to do with this stupid Corona virus. First, it slashes the Bitcoin value in (less than) half. Then I can't order any groceries and have to sit here ...
0
votes
0answers
22 views

Find out dynamic IP address by querying bitcoin core

I'd like to use a dashboard page like Bitcoin Node Manager with Bitcoin Core. The summary page lists the IP address of the node, as obtained using bitcoin-cli getnetworkinfo. Bitcoin Core only seems ...
1
vote
2answers
8k views

Can the Bitcoin Miner run offline?

Is it possible to run a Bitcoin Miner offline and calculate hashes without being connected to the Internet?
0
votes
1answer
18 views

Change port 8333 to other. (Running multiple docker instances)

My question is: can I change port 8333 on the network connection to any other port (8334 f.e.) without making my node "blind" to the other peers in the network? Will it still sync/push transaction ...
1
vote
1answer
331 views

Blockchain receive payments API Network propagation

I'm using the Blockchain API to generate an address to receive payments. I received a payment to a generated address, then Blockchain sends the received amount to the address I defined but that ...
2
votes
1answer
67 views

Bump zero fee transaction with CPFP

I want to first create a transaction with 0 fee (tx1). Next, I am going to use an output of tx1 as an input in another transaction with the necessary fees. The issue is now that tx1 gets rejected by ...
0
votes
0answers
12 views

What exactly does the “score” field mean and how does work? when I execute the RPC command “getnetworkinfo”

I saw a similar question (this) but I think that the answer doesn't clarify me what the field meaning and how works (it's calculated?, how?).
1
vote
2answers
1k views

How to confirm my node is on the network?

I wanted to verify that my node is on the bitcoin network. For this I used the 'getnetworkinfo' command on my bitcoincore console and was able to optain my node's IP address. This is: 2001:0:9d38:6abd:...
0
votes
0answers
26 views

How to tell if my node is online (conflicting information)

I am really confused. I am attempting to set up a listening node. When I look at bitnodes.earn.com it shows my node as offline when searching by IP, but when I run getconnectioncount it returns a ...
1
vote
2answers
142 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 ...
0
votes
1answer
39 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 ...
0
votes
1answer
69 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 ...
5
votes
1answer
526 views

Test Network Genesis Block

I am using BitcoinJ for my java application which fetches the test network's genesis block. I referred to the basics mentioned at JavaWorld and BitcoinJ's Google Code wiki. I am able to get it ...
3
votes
1answer
36 views

What kind of node connects to your full node and doesn't share blocks with you?

When running getpeerinfo I can see that a number of connected nodes return a synced_blocks of -1. Some of these have been connected for days, so: Is it correct to assume that these nodes are never ...
0
votes
1answer
31 views

How to Construct a Ping Message

I am struggling greatly trying to figure out how to send a basic "PING" message, and receive back a "PONG" response. import random import hashlib import socket PEER_IP = "35.187.200.6" PEER_PORT = ...
0
votes
0answers
19 views

How long does it take to crawl and map the bitcoin network?

There are several websites that have data on the number of nodes in the network. For instance coin.dance. About how long does it take to map the entire bitcoin network?
0
votes
1answer
214 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 ...
1
vote
2answers
93 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 ...
0
votes
2answers
118 views

What cryptocurrencies are there with a financial incentive to run a node?

I have a very naive question: Are there any distributed cryptocurrencies with a financial incentive to run a node? I know that cardano ada has financial incentives to run nodes, as they pay a part of ...
4
votes
1answer
49 views

Discovering Bitcoin network topology

For a research I am doing I would love to have a graph with the network of reachable Bitcoin nodes. Active reachable nodes can be extracted by using getaddr messages (e.g. bitnodes project). However ...
0
votes
1answer
108 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
1answer
26 views

What would the effect of a very long bear market be on the Bitcoin economy?

I don't mean to be a doomsday prophet or spread FUD, but I need to know if Bitcoin (or any PoW coin) investors should be concerned about the following scenario: Assume Bitcoin goes in a very long ...
2
votes
1answer
2k views

Bitcoin protocol and Wireshark

I captured bitcoin protocol communication in real-time and it is present in fig1 and fig2. Fig1 In red box, there are many types of command. First Question: How can Wireshark detect bitcoin ...
3
votes
1answer
100 views

Quantity of traffic on test network

I want to begin experimenting with bitcoin. I notice the estimated upload traffic for the real bitcoin network is around 200 GB per month. That's too much for an experiment. How much traffic per month ...
0
votes
0answers
47 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
42 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 ...
22
votes
6answers
19k views

What happens to the bitcoin network when the miners all stop in the future?

What happens to the bitcoin network when the miners all stop, years in the future after all the bitcoins have been mined? How will the network continue to function? Won't bitcoins then be useless? ...
3
votes
3answers
203 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 ...
14
votes
2answers
8k views

How can I setup Bitcoin to be anonymous with Tor?

Bitcoin is billed as many things, among them its anonymity is highly regarded. While it is true that a transaction does not identify a user or wallet, recent news shows that there is the potential for ...
6
votes
1answer
173 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
24 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
34 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
64 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
26 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
99 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 ...
22
votes
3answers
6k views

How are bitcoin transactions and the blockchain transferred over the internet?

So I have several specific question connected to this topic and I'm aware of the conceptual answers and I'm only interested in the technical details (with programming terms and concepts as I'm a ...
4
votes
2answers
257 views

Obtaining Lightning network graph data

I was wondering if it is possible for me to obtain data about the Lightning network mainnet, particularly the nodes and the edges (channels) in the network. I know that the graph is visualized in ...
7
votes
2answers
4k views

What is the P2P technology/protocol used by Bitcoin to find nodes and distribute messages across them?

I am wondering if there is a standard/de facto P2P library/implementation/spec used by Bitcoin Core and other implementations of Bitcoin?
1
vote
1answer
23 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 "...
0
votes
1answer
55 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 ...
1
vote
0answers
32 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 ...
2
votes
1answer
76 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
99 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
0answers
47 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. ...

1
2 3 4 5
8