Skip to main content

Questions tagged [relay]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
90 views

Why do PinSketch sketches consist of the sum of odd powers?

The following is taken from BIP-330 (aka Erlay): A short ID sketch with capacity c consists of a sequence of c field elements. The first is the sum of all short IDs in the set, the second is the sum ...
Cosmik Debris's user avatar
4 votes
2 answers
270 views

Why can't nodes have the relay option to disallow certain transaction types?

Is it a bad idea to give the nodes optionality to disallow certain list of transaction types(like P2TR_V1 which contain inscription spam, i.e. the previous output for those) from relaying? By default, ...
WhoIsNinja's user avatar
1 vote
1 answer
51 views

Is a header message used to notify peers of a new block?

As far as I know, when we receive a new transaction or block, we send an INV message to all peers to inform them about it. If the peers want that data, they send us a GETDATA message. In several ...
Cosmos's user avatar
  • 309
4 votes
2 answers
141 views

What if a miner just broadcasts the header and never gives the body? What will happen?

What if a miner just broadcasts the header and never broadcasts the body? For example: A miner, after having successfully mined some block, just broadcasts the header for all other miners and hide the ...
longyue li's user avatar
3 votes
4 answers
253 views

What percentage of mined nonces fail to join the consensus blockchain?

From Wikipedia: The PoW requires miners to find a number called a nonce (a number used just once), such that when the block content is hashed along with the nonce, the result is numerically smaller ...
MWB's user avatar
  • 95
9 votes
0 answers
188 views

What are the advantages to attackers of different styles of replacement cycle attacks?

In Antoine Riard's original description of replacement cycle attacks against HTLCs, a replacement cycle looks like this: Bob broadcasts an HTLC-timeout (input A, input B for fees, output X) Mallory ...
David A. Harding's user avatar
3 votes
2 answers
201 views

Are blocks containing non-standard transactions relayed through the network or not as in the case of non-standard transactions?

When a node receives a non-standard transaction (for example, it has more than one OP_return output or has some of the non-standard outputs), it will not be relayed further through the network, ...
dassd's user avatar
  • 1,099
5 votes
1 answer
177 views

What's the governing motivation for the descendent size limit?

Since 2015, Bitcoin Core has included a -limitdescendantcount configuration parameter (added in this commit) that forbids a transaction in a node's mempool from having more than x descendants accepted ...
David A. Harding's user avatar
8 votes
2 answers
1k 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
  • 76k
6 votes
1 answer
877 views

What are the arguments in the `mempoolfullrbf` debate?

In the past months there has been a debate about the new mempoolfullrbf startup option released in Bitcoin Core v24.0.1. The debate seems to be overlapping with debates whether full-rbf and 0-conf are ...
Murch's user avatar
  • 76k
2 votes
2 answers
267 views

Using an unmined Tx as a UTXO

Consider two transactions - Tx1, Tx2. Tx1 is an input of Tx2. Say Tx1 did not get to any block yet. Can Tx2 get into the mempool of: a node that holds Tx1 in its mempool a node that does not hold Tx1 ...
michaell_co's user avatar
1 vote
1 answer
102 views

Does Bitcoin Core really use random delay in transaction relay?

I read that bitcoin uses random delay when relaying transaction to other peers in order to protect privacy. When I read the source code of the newest Bitcoin Core, I found a function called ...
noob's user avatar
  • 97
1 vote
0 answers
65 views

Why would users want to submit a transaction directly to a specific miner?

I am wondering why some users are interested to send their Bitcoin transactions to a specific miner? This should increase the delay because of waiting for the specific miner to win. Are there any ...
Motiv's user avatar
  • 109
5 votes
1 answer
156 views

Is the minimum fee consensus, just policy, or both?

Intuitively, I think minRelayFee is policy while minBlockTxFee is validation, but DEFAULT_MIN_RELAY_TX_FEE is in validation.h while DEFAULT_BLOCK_MIN_TX_FEE is in policy.h.
Mercedes's user avatar
  • 824
2 votes
2 answers
160 views

How to find nodes forwarding transactions with less than minRelayTxFee?

Technically, it is up to each node operator to set the minRelayTxFee as he pleases. Assume a transaction with less than 1Sat/vB in transaction fees and a fairly empty mempool. Is it possible to ...
Markus Rother's user avatar
2 votes
3 answers
938 views

Why is a synchronized mempool necessary in the network?

My understanding is that nodes maintain a mempool of unexecuted transactions. They use a bloom filter to query other nodes for transactions they do not currently have in their own mempool... thus ...
user491880's user avatar
0 votes
1 answer
168 views

Does running full node in prune mode contribute to BTC network? [duplicate]

If I run current (v22.0.0) full node in prune mode will it contribute to the BTC network (better security, etc..)? In v11.x.x the relay was not working hence no contribution to the network at all (if ...
Erik Webr's user avatar
1 vote
1 answer
387 views

What happens if nSequence is set to 0x00000000?

I know setting nSequence 0x00000001 means the transaction is not valid until 1 block has elapsed since its's prevout confirms. At most one spend per two blocks. What happens if it's set to 0x00000000? ...
Burak's user avatar
  • 186
0 votes
1 answer
140 views

Did the FIBRE protocol reduce the occurrence of chain forks?

I've just learned that Fibre protocol is used for really fast block propagation. My understanding is that if blocks are propagated faster, miners can more quickly continue to work on (what seems to ...
ddavi031's user avatar
  • 479
4 votes
2 answers
2k views

What's the blocksize limit after segwit and how do legacy nodes deal with segwit transactions?

Normally, I heard that the bitcoin blocksize is 1MB, but with the Segwit update the blocksize can be up to 4MB, so we should say that the blocksize is 4MB, right? Moreover legacy nodes only receive ...
Anh Dũng Lê's user avatar
1 vote
0 answers
74 views

What are the potential causes for the "block not found on disk" error?

We run several bitcoin core nodes and load balance requests across them all. We occasionally hit the error "Block not found on disk" shortly after a new block gets confirmed, when looking up ...
deezy's user avatar
  • 301
2 votes
1 answer
127 views

How does having a large mempool and allowing a greater transaction ancestry set change the interaction with your peers?

Bitcoin Core by default allows up to 300 MiB of mempool data, and restricts unconfirmed transaction trees to an ancestry set of at most 25 transactions and 101 kvB of transaction data. Since these are ...
Murch's user avatar
  • 76k
1 vote
1 answer
261 views

What if all the 8 peers of the node are malicious?

I looked at the question on how transactions are broadcast to the rest of the network in the blockchain network. In this stack exchange post, the author @morsecoder in the accepted answer mentions ...
Ruchit Patel's user avatar
0 votes
1 answer
155 views

OP_CHECKLOCKTIMEVERIFY generates non standard transaction

I create a transaction in my regtest enviroment with OP_CHECKLOCKTIMEVERIFY it's my transaction data: ...
monkeyUser's user avatar
2 votes
1 answer
207 views

Parsing stripped-witness blocks

I've read all the relevant BIPs, and am still confused. Are segwit enabled blocks stripped of witness data and marker and flag bytes when they are propagated to non-segwit peers? Or are they just ...
Mason's user avatar
  • 23
1 vote
0 answers
49 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 ...
user674907's user avatar
5 votes
2 answers
189 views

What happens if a miner receives a block but not its previous?

Suppose the following: A miner has stored the current blockchain A-B-C. It stops listening for blocks during some time. During that time, blocks D and E are mined and broadcasted. The miner ...
Carlos Pinzón's user avatar
5 votes
2 answers
1k views

Is the transaction pool global or local?

I can't find anything in the web about that topic. Do all the miners have one global pool filled with transactions, i. e. Miner 1 takes Transaction 1 into his candidate block, so Transaction 1 won't ...
Michael's user avatar
  • 175
1 vote
2 answers
468 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 ...
Herofire's user avatar
0 votes
1 answer
95 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 ...
MORTAL9's user avatar
  • 11
10 votes
1 answer
388 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?
G. Maxwell's user avatar
  • 7,727
2 votes
1 answer
347 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 ...
f4r4's user avatar
  • 181
2 votes
1 answer
281 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 ...
Daerienn's user avatar
1 vote
2 answers
542 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 ...
Anil M's user avatar
  • 15
3 votes
4 answers
481 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 ...
user avatar
1 vote
1 answer
162 views

Does broadcasting the network flood it?

There are a lot of messages that are sent around the Bitcoin network - e.g. updating new blocks, spreading new transactions. Do these not flood the network? Is it a pure broadcast to all the connected ...
adi's user avatar
  • 27
3 votes
2 answers
914 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 ...
mtdkki's user avatar
  • 47
1 vote
0 answers
81 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 ...
Richard Myers's user avatar
1 vote
1 answer
97 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 ...
lolololol ol's user avatar
3 votes
1 answer
4k 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?
benice's user avatar
  • 63
7 votes
2 answers
5k views

How do miners choose transactions?

I am a little puzzled about how miners choose transactions, are the people who want to transfer Bitcoin sending their transaction to miners asking them to validate them, or are they put somewhere and ...
no nein's user avatar
  • 297
20 votes
2 answers
3k 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?
verzn's user avatar
  • 203
1 vote
1 answer
756 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 ...
Rob's user avatar
  • 11
2 votes
1 answer
105 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 ...
Önder Gürcan's user avatar
3 votes
2 answers
284 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 ...
jayflo's user avatar
  • 133
2 votes
1 answer
203 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 ...
cpsola's user avatar
  • 1,548
1 vote
1 answer
271 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 ...
Alex's user avatar
  • 398
6 votes
1 answer
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 ...
nowox's user avatar
  • 227
1 vote
2 answers
255 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 ...
user1687711's user avatar
3 votes
1 answer
301 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?
supermario's user avatar