Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [relay]

The tag has no usage guidance.

0
votes
1answer
26 views

Did Bitcoin Core relay blocks sequentially or in parallel to peers before Compact Blocks?

As I can see in the Bitcoin code, currently a node sends a block in parallel to all its peers. This makes sense as the block sending time is relatively small compared to the P2P latency. However, my ...
6
votes
1answer
215 views

Improvements that could be made to how bitcoin propagates its transactions and blocks?

As of 2018 what are the known improvements that could be made to how bitcoin propagates its transactions and blocks?
1
vote
1answer
25 views

Bitcoin CPFP transaction with zero fee

tx1 - I want to first create tx with 0 fee On the next I am going to add tx1 as input and add necessary fees into it the issue is tx1 gets rejected by full node why is that cant I broadcast a 0 ...
2
votes
1answer
41 views

Can two signed transactions be merged into one?

I'm in a situation where I have a presigned transaction, which, due to a bug in software that generated it, has a fee lower than minimal relay fee. I have that transaction's hex, but it can't be ...
0
votes
2answers
75 views

Bitcoin New Block Event Trigger

I want to know when a new block is discovered, I am watching debug.log to see if it has changed, I know there is a new block if the line contains "UpdateTip: new best". Is there a better way to do ...
2
votes
4answers
109 views

Why miners need to broadcast blocks that contains full transactions in Bitcoin?

Does anyone know why Bitcoin requires miners to broadcast blocks that contains full transactions? When a user want to make a payment on Bitcion, he/she needs to broadcast a signed transaction, and ...
1
vote
2answers
236 views

How does a node get information from other nodes?

I think a node sometimes needs to get a information from other nodes. e.g. get set of UTXO. get main(longest) chain. I have two questions. How does a node tell other nodes these requests? Like ...
0
votes
0answers
141 views

Who includes relay IP in their API beside BlockCypher & Blockchain.info?

We help identify bitcoin address owners http://bitcoinwhoswho.com/. The IP address of the node that first relayed a transaction can be very informative. Are there other options for relayed_by from API ...
1
vote
0answers
39 views

aggregated signatures for combining payments over a low bandwidth mesh network

Background I'm researching how in a low bandwidth mesh network payment transactions from nodes can be combined to reduce the bandwidth used for payments. Aggregated signatures seem like a useful ...
1
vote
1answer
74 views

Why are miners allowed to change a tx id?

BIP 62 proposed to make transaction malleability impossible. Why was this retracted and why are miners allowed to change a transaction id? Also, what does it mean when someone says signatures ...
4
votes
1answer
740 views

How can I get logging information on incoming transactions with bitcoind?

Im running two Bitcoind Nodes. Is there anyway to log the incoming transactions and the output?
9
votes
2answers
1k views

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?
0
votes
1answer
490 views

How does Bitcoin transmit transactions?

What is the underlying mechanism? Do you transmit a message to a local node who then relays it? How does that relay work? I know about DNS seeding but then how does the rest of the relaying occur? If ...
2
votes
1answer
59 views

Is there a difference between relaying a transaction and relaying a block?

I was checking the message types of the Bitcoin protocol and got curious whether there is a difference between relayin a transaction and a block, or not? For example, notfound message say that ...
2
votes
2answers
195 views

What forces transactions to be visible to all miners?

How are transactions provided to the miners? And what keeps the following scenario from occurring? A valid transaction is initially reported to a "rogue" node, A, in the network. If that node is a ...
0
votes
1answer
111 views

What is the default relaying policy for RBF double spend transactions?

Let's say I broadcast a transation tx0 signaling RBF replaceability. Later on, I realize it has a small amount of fees, so I send another transaction tx1 that spends the same inputs than tx0, but this ...
1
vote
1answer
215 views

Why are some transactions found on some chain explorers but not on others?

This is something that has puzzled me for a while and I cannot think of a rational reason for it. The transaction 3361d2484f0566ab13d32f2ab321319945f48eaea1ac2cc9f5a79b40528359c3 shows properly on ...
7
votes
1answer
1k views

What are the advantages to become a bitcoin node?

As far as I understand, the nodes are responsible for verifying the transactions and the blockchain, but also to relay transaction over the bitcoin network. Being a bitcoin node require a certain ...
1
vote
2answers
217 views

What happens between submitting a transaction to the network and it being confirmed?

I am very new to bitcoin, appreciate any help that I can get for below queries. 1) Is there any way (site or app) to know, to which node my current (latest) transaction is headed to? Does it go to ...
4
votes
1answer
205 views

Can a desktop wallet be tracked using IP address?

I'm wondering if I use a vanilla desktop wallet like MultiBit or Bitcoin Core to send and receive bitcoins, who can track my IP address and how?
2
votes
2answers
193 views

Is selfish mining still an option with compact blocks and FIBRE?

The selfish mining strategy relies on withholding a block to build on it in private. When the honest chain publishes a block, the attacker immediately broadcasts its own withheld block in order to try ...
1
vote
1answer
97 views

Increasing the odds when solo mining with low-medium hashrates

I never saw anything concrete related to this so I dare to ask here. First, my situation: I'm currently mining solo, on a private pool, with roughly 350Th/s. That to be increased soon with another ~...
6
votes
1answer
344 views

Can an unconfirmed transaction fall under the radar?

Something very peculiar has happened with a transaction and I would like to understand what network conditions can possibly be the cause of this. I transferred about 150mBTC from my Android wallet ...
5
votes
1answer
4k views

How does a new block get distributed

I understand how a new block gets created, and verified by the miner that created it. But then, does it advertise this new block to near nodes? And how do these nodes go about verifying this? Do they ...
2
votes
2answers
190 views

How do I know I can trust the head of the blockchain

I'm trying to understand how the mining process works. Specifically, my understanding is the local miner works on blocks and add them to their local blockchain if they succeed. It may turn out that ...
2
votes
2answers
343 views

When we can agree on mempool sorting order, we can just confirm first n-transactions that are at least 10 mins old. What's missing?

When we can agree on a mempool sorting order, we can just confirm first n-transactions (or 80% of transactions) that are at least 10 minutes old. Then, we can transfer (broadcast) the block header ...
3
votes
2answers
332 views

Does the `blocksonly` setting prevent other nodes from sending my node unconfirmed transaction, or does it simply cause my node to ignore them?

I've seen this option discussed, but I don't have a clear understanding of what is going on. Since this setting appears to reduce node bandwidth by as much as 88%, I assume it somehow communicates to ...
2
votes
2answers
74 views

Can there be stale blocks in “header first” implementation?

The Bitcoin developer guide mentions stale blocks as not being in the longest chain, then moves on to orphan blocks. It states you don't get orphan blocks, "and if you do" they are just dropped. But ...
7
votes
1answer
278 views

List transactions *relayed* by my full node?

Running Bitcoin Core full node 24/7, with 70+ peer connections. Is there a bitcoin-cli command that will let me see the transactions that my full node has relayed from its SPV "clients"? FWIW, I can ...
4
votes
1answer
261 views

Why are all redeem scripts standard, but only a few pubkey scripts?

As I understand it, only transactions with pubkey scripts conforming to a certain pattern are considered "standard" and are relayed, however a script is also considered standard regardless of its ...
2
votes
1answer
73 views

How does the Bitcoin block propagation process recover when false positive happens?

I have read articles about how Invertible Bloom Filters (IBLT) work and I have some basic knowledge how Bitcoin works for block propagation using IBLT. But since IBLT would introduce false positive, ...
2
votes
2answers
235 views

What is my incentive for sending old blocks?

If I am a miner, it makes sense for me to broadcast recent blocks since I want my chain to be the longest (see What encourages Bitcoin miners to relay blocks?). However, what is my incentive for ...
2
votes
1answer
91 views

Do transactions happen globally synchronized?

Since Bitcoin validates transactions by the majority of peers, and stacks ALL transaction history chain to some kind of hash, is then the following statement true? Only one transaction can happen ...
2
votes
1answer
103 views

What is the waste ratio of the overall network?

The answer to the question "Why do I have to wait 10 minutes before I can spend money I received?" in the FAQ of Bitcoin contains the sentence "For example, if it takes miners 1 minute on average ...
2
votes
1answer
174 views

Best Way to Get Latest Transactions

I'm trying to write a node that listens all the bitcoin transactions in real time. I'm considering two ways of doing this: The first one is to check mempools of other nodes periodically and the second ...
2
votes
2answers
205 views

Do P2Pool nodes always accept real blocks over share blocks?

The standard rule in bitcoin is that if you see two blocks on a chain that has the same work, you accept the one that you saw first as the correct one. If this extended to P2Pool chains, some nodes ...
1
vote
1answer
82 views

Does each peer prioritize inv(type=block) over inv(type=tx)?

I found that when a peer receives an inv message with type=block, it will immediately request that block or that block's headers with a getdata message or getheaders message. But if the peer receives ...
0
votes
1answer
97 views

Where is the code that receives blocks that miners have just solved

I was just looking through the Bitcoin code but since I am relatively new to C++ I was wondering, if anybody could tell me where the code responsible for receiving blocks that have just been mined by ...
2
votes
2answers
417 views

What node implementations and mining pools relay and process 'non-standard' scripts?

Which Bitcoin node implementations, if any, currently relay valid transactions that use so-called 'non-standard' scripts? What proportion of the network is made up of these implementations? What ...
3
votes
1answer
161 views

Mine valid but nonstandard transactions

Is there a way to configure cgminer to accept valid but nonstandard transactions for mining? If not, where, theoretically, would be a good place to look if I was interested in mining nonstandard ...
3
votes
1answer
1k views

How are transactions and blocks relayed?

What is the protocol for relaying transactions and/or blocks in bitcoin? I realize that nodes never relay a transactions and blocks with a variety of properties (e.g., invalid transactions). This ...
1
vote
1answer
84 views

Where should a miner get the most current block from?

Where does a miner get the most recent/current block from, to work on confirming new transactions and building the next block? Obviously it's the 'top' block on the blockchain - where can a new miner ...
7
votes
1answer
4k views

How do Bitcoin nodes know where to send new transactions and blocks to?

I am researching Bitcoin; what I can't find much information on though is how the P2P network itself operates. For example, BitTorrent uses a DHT protocol that allows for node discovery and ...
9
votes
1answer
1k views

How to take advantage of the free transaction relay policy?

I have about 0.027 BTC total, spread over 272 transactions. Was going to send them to someone, and then the transaction fees hit me: 0.0245 BTC. This agrees with the answer to this question -- (272 ...
3
votes
2answers
1k views

What motivates nodes (or miners) to relay transactions?

Miners want to include as many transactions as possible in their block to get the (optional) transaction fee. But what motivates them to relay a transaction further to the network? Is this done solely ...
20
votes
6answers
2k views

What encourages Bitcoin miners to relay blocks?

Lets say I'm mining bitcoins, and I've just received a new block that someone else has mined. What encourages me to send that block to anyone else. I can understand how the original miner wants to ...
4
votes
1answer
3k views

I built a miner, got a hash block, now what? Where do I send it?

So as an exercise I want to build a mining client, just because I'm curious. I understand that I'm supposed to create a hash, but once I have the hash, where do I send it? How do I submit it back ...
8
votes
1answer
238 views

Block messages with transactions hashes instead of full transactions

When a bitcoin node has the blockchain in sync, most transactions in incoming block messages may have been already received as standalone tx messages before. With a block message with only ...
2
votes
1answer
546 views

When does Blockchain.info show 127.0.0.1 as “first relayed by” for a transaction?

Does this mean the transaction had to come from a Blockchain.info/wallet user (or perhaps someone using Blockchain.info/pushtx)? Or could this indicate something else (e.g., a node from Tor even)?
1
vote
1answer
234 views

Are there any commercial nodes available so my transactions won't show my IP address?

Oftentimes my own IP address shows up as the "Relayed by ip" piece of data reported by Blockchain.info. Is there a commercial node available that I can conract with to act as relay so that my IP won'...