Questions tagged [transaction-selection]
Questions about what criteria influence the selection of unconfirmed transactions for block inclusion.
95
questions
2
votes
2
answers
150
views
Can zero-fee txs get into a block?
What happens if a transaction is set to have zero fees?
Can it get into a block?
Also, if you updated a coin's code to accept zero-fee transactions, would this cause a hardfork?
(e.g. made tx's in ...
1
vote
1
answer
155
views
Do miners prefer RBF transactions over non-RBF transactions?
Given a replace-by-fee (RBF) transaction and a non-RBF transaction with equal fees, do miners prefer the RBF transaction over the non-RBF one? Or is this entirely up to the particular miner?
1
vote
1
answer
45
views
Which transaction gets picked when ancestor scores tie?
Bitcoin Core greedily picks the ancestor sets with the highest ancestor score into its block template. When two transactions have the same ancestor score (e.g. two transactions without unconfirmed ...
2
votes
0
answers
28
views
How many transactions could fit in a Bitcoin block pre-SegWit and post-SegWit? [duplicate]
I am interested in how many transactions could fit into a 1MB Bitcoin block before SegWit and then afterwards. I can't find good information about this online and the figures seem to vary quite a bit.
...
2
votes
1
answer
54
views
Can someone with majority hashing power decide what transactions are included in my block?
I read this paragraph about if a mining pool controls the majority of the hashrate on the network:
Blocking Transactions:
Anyone who controls the majority of the hashing power can decide which
...
1
vote
2
answers
289
views
How do transaction verification and adding a block to the blockchain fit together?
I have the below questions:
How is a transaction added to a block?
Do miners get a reward for adding a transaction to a block?
How is that block then added to the blockchain?
If everyone (miners) are ...
6
votes
6
answers
1k
views
Can blocks remain capped to 1MB forever?
This is perhaps more of an economics question than a bitcoin question, but I'm wondering if it would be viable to leave the block size capped at 1MB for all time and simply let a series of rules ...
3
votes
1
answer
163
views
Understanding POW and transactions
If I understand correctly, when calculating a proof of work, the entire header is being used in a sha256 function.
Now, whenever a new transaction is added to a pre-mined block, the header completely ...
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 ...
1
vote
1
answer
293
views
How does miner order transactions?
I understand that miners can do whatever they are pleased to do. Either include 0 transaction or 1000 transactions in the block before mining. But I assume majority of the nodes run the same set of ...
3
votes
1
answer
267
views
Miner transaction selection - how are sigops considered?
There is a limit on how much a block can sigop (set to 80000?). There is also a limit on how much a single transaction can sigop (set to 16000?). It thus seems possible (and if it's not possible, the ...
5
votes
1
answer
504
views
How does Bitcoin Core sort memory pool transactions by fee?
I'm trying to understand the algorithm Bitcoin Core uses to sort memory pool transactions by fee.
Gavin's fee rework proposal states:
Next, sort all remaining memory pool transactions by fee-paid-...
1
vote
1
answer
96
views
Is the transaction size relevant if fee per byte is the same?
Is the size of the transaction some factor when the miner chooses one transaction over the other, provided that they both have the same fee per byte?
In other words, will the miner prefer larger or ...
0
votes
0
answers
36
views
What unconfirmed transactions in Mempool get into a block? [duplicate]
I have a question regarding picking unconfirmed transactions from the mempool. Let's say, there are 1000 transactions in the mempool. Can I randomly select some transactions, say, transaction a, b, c, ...
26
votes
4
answers
17k
views
How do miners select which transactions to include in a block?
Where and how do you view and select which transactions to include in the block you are trying to create?
Do you look on the blockchain?
Is there some tool that you can use that allows you to see ...
3
votes
1
answer
188
views
Transaction with a high fee keeps getting skipped... Reason why?
I was sent a transaction that has been unconfirmed for 3 days now - but the feerate is relatively high (53.8 sat/vB). Blocks have been confirming transactions with lower feerates for days, but for ...
0
votes
2
answers
84
views
Which transactions go through the SHA256 process of "trying to win the new block"?
It is commonly said that a new block that is hoped to be added to the existing blockchain is filled with transactions, and together with a nonce, go through SHA256 twice, and tries to be a small ...
1
vote
1
answer
90
views
Do miners mine their own transactions or submit them to the network?
I am wondering how miners are behaving toward their own transactions. Do they send their own transactions to the mempool or can they process/confirm them directly?
I am assuming that the miners are ...
1
vote
1
answer
369
views
How to choose the transactions for a block?
From my understanding, the memory pool (or transaction pool) contains "open" or "unconfirmed" transactions that have to be validated and can be chosen (arbitrarily?) to be part of ...
2
votes
1
answer
49
views
Could a miner set a maximium transaction fee rate?
Could a miner set a maximimum transaction fee rate? I mean validate only transactions between x and y satoshis/byte?
I know is not clever. Is it possible?
3
votes
2
answers
56
views
Which transaction would get confirmed in an uncongested network?
Scenario:
Mallory sends some bitcoin with a $1 fee
Later, Mallory double spends her transaction with a $5 fee
A new block is found
In an uncongested network with an average transaction fee of ~20 ...
1
vote
1
answer
49
views
Broadcasting deprecated block version
With the recent addition of Binance to the group of miners who will accept taproot,
I wonder what would happen if despite a total of more than 99% of the network accepting it, a miner still doesn't ...
3
votes
1
answer
227
views
How does a miner choose which transactions go into the next block?
How does a miner choose which transactions go into the next block?
Do all transactions go through or is there a lottery process? I understand transactions with higher fees are given priority.
11
votes
2
answers
583
views
Are any miners still considering priority in their transaction selection?
A new answer on Who gets Bitcoin transaction fees? has spawned discussion on the paradigm shift from selection by priority (= coin age × spent value) to selection by fee rate (= fee / transaction size)...
1
vote
1
answer
203
views
Electrum: get transaction confirmations
I need to get transaction confirmations via command line. But seems there is no such method. onchain_history seems returns information but I don't want to pull a whole history, I need info about one ...
5
votes
2
answers
981
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 ...
3
votes
2
answers
317
views
What were 'high-priority' transactions in Bitcoin Core v0.9?
I came across these release notes for Bitcoin Core 0.9 and saw this quote under 'Transaction Fees'. Does this distinction between 'high-priority' and 'highest-fee' transactions still exist? What ...
2
votes
3
answers
210
views
Why do miners choose low fee rate transactions sometimes?
Miners prefer high fee rate transactions to low fee rate ones, but the part which I don't understand is why miners pick a low fee rate transaction that has been waiting for hours in the mempool into ...
1
vote
3
answers
144
views
Does each block contain all the Bitcoin transactions for that time period?
When a miner validates a block, does the block contain all transactions in Bitcoin for that time period? So does a miner validate an individual transaction between two parties, or are they validating ...
1
vote
2
answers
60
views
what is the most suitable time interval for updating information on a block while mining the block
So, Bitcoin block consists of some static (magic number, version, previous hash...) and dynamic (timestamp, Merkle Root, transaction count and transactions) elements. What I don't understand is if we ...
4
votes
2
answers
332
views
Why is the block size is not filled with transactions?
Since a miner can acquire the fees from the transactions in a block, the miner should package as many transactions as possible in a block.
However, I recently found a block (blocknum: 602297) with a ...
1
vote
1
answer
114
views
Why all miners produce the same blocks
My understanding is that all miners are feeded with transactions published by full node servers, but I didn't understand why they end up with exactly the same transactions in their created blocks ? ...
4
votes
2
answers
1k
views
Is there a minimum number of transactions in a block?
What encourages Bitcoin miners to include lots of transactions in blocks in the Bitcoin blockchain?
It seems like you could quickly add a block with just a single transaction and get the block reward ...
2
votes
3
answers
621
views
Transactions are not guaranted to be validated
I have read some posts about transactions never to be confirmed, but those post implied small transfers with no fees.
In my case my two transactions have something like 0.000428 BTC of fee.
I don't ...
2
votes
2
answers
846
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 ...
5
votes
1
answer
3k
views
How can a miner choose which transaction to include in the next block?
This question is not a duplicate of Can miners choose which transactions to mine?
Everybody seems to agree on the fact that miners can select which transactions they are mining. But I can't find a way ...
1
vote
2
answers
748
views
How exactly does a block get constructed and verified?
From what I understand, a new block contains all the transactions within the last 10 minutes. So when Alice sends Bob 10 BTC, how does this information get put onto the newest block? I guess I am ...
4
votes
2
answers
2k
views
As of 2017 is it still possible to get a transaction confirmed without a fee?
In the past it was possible to get a transaction without a fee confirmed if the inputs and outputs had a high enough priority and followed some rules. As of 2017 is a "free" transaction still possible ...
1
vote
2
answers
170
views
Is the probability of generating invalid blocks reduced by mining transactions unknown to others?
I've got a question concerning a possible mining strategy.
I've not found any proof of the strategy, but it seems reasonable to me.
If two mined blocks inserted in the block chain include the same ...
10
votes
1
answer
3k
views
Bitcoin transaction priority calculation
From the Bitcoin wiki page on transaction fees:
Transaction priority is calculated as a value-weighted sum of input
age, divided by transaction size in bytes:
priority = sum(...
3
votes
1
answer
423
views
Transaction inclusion into block
What are reliable and good sources for understanding the procedure of transaction inclusion into a block?
Problem outline:
Given, there are multiple peers - let's say 5 - in a test network, where 3 ...
2
votes
1
answer
311
views
Why is utxo time a priority for miners?
I've understood (maybe mistakenly) that once free transactions arrived to be collected into new block the miner will prioritize them by fee, then by maturity, meaning will take the transaction with ...
1
vote
1
answer
387
views
Who decides who verifies Alice's transaction?
Let's say the transaction got picked up into a block by miner A and into a block by miner B. Both are working on those separate blocks, and each block contains information about Alice's transaction ...
3
votes
2
answers
734
views
What factors determine how long confirmation takes?
Simple question...
What are all the factors (all of them!) that determine how much time X number of confirmations of a transaction takes?
1
vote
1
answer
550
views
Can a Bitcoin miner process their own transactions for free?
Can I become a Bitcoin miner by setting up multiple nodes to give higher priority to my own transactions to process them for less fee or for no fee?
My understanding is that a confirmation is when a ...
1
vote
0
answers
444
views
Does Stratum cause mining to be more centralized than getBlockTemplate would?
I read the question "I don't understand the "51% attack" problem. Why does a mining pool have power with a 51% share?" and its anwers. That made me wonder that since the GBT protocol is ...
1
vote
2
answers
831
views
Why does only the earliest transaction matter for double spending?
On page 2 of Bitcoin paper, it says:
The problem of course is the payee can't verify that one of the owners
did not double-spend the coin. A common solution is to introduce a
trusted central ...
2
votes
1
answer
91
views
Once SegWit is implemented, could updated miners still choose to ignore SegWit transactions?
Regular transactions can be ignored. What about SegWit transactions?
7
votes
1
answer
2k
views
If I offer a higher transaction fee, will my order get processed faster?
I was reading the wiki and it seemed to sugest that the transaction fees didn't play to much of a role in determining the priority of an order but rather the actual size in bytes and the previous ...
2
votes
3
answers
751
views
Why are there always some unconfirmed transactions?
As far as I know, a miner begins creating a new block as soon as it receives a valid block from another miner. It then begins to construct and hash the next block on top of the block it just received ...