Questions tagged [transaction-selection]
Questions about what criteria influence the selection of unconfirmed transactions for block inclusion.
95
questions
1
vote
1
answer
33
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
48
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
248
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 ...
3
votes
1
answer
156
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 ...
1
vote
1
answer
164
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 ...
1
vote
1
answer
92
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, ...
3
votes
1
answer
175
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
82
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
79
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
320
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
46
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?
1
vote
1
answer
47
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 ...
1
vote
1
answer
172
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 ...
3
votes
2
answers
54
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 ...
2
votes
3
answers
194
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 ...
3
votes
2
answers
297
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 ...
1
vote
3
answers
135
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 ...
4
votes
2
answers
314
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
2
answers
51
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 ...
1
vote
1
answer
108
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 ? ...
3
votes
1
answer
236
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
2
answers
908
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 ...
4
votes
2
answers
992
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 ...
3
votes
1
answer
221
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.
1
vote
1
answer
142
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
382
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 ...
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
535
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
428
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
807
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
3
answers
744
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 ...
1
vote
1
answer
65
views
What, other that Fees and Luck, controls the time to confirmation?
Are there any factors that contribute to how fast a transaction is confirmed other than the Fee (sat/B), and a little bit of luck?
Does it matter what service is used?
How large the transaction is?
...
2
votes
1
answer
87
views
Once SegWit is implemented, could updated miners still choose to ignore SegWit transactions?
Regular transactions can be ignored. What about SegWit transactions?
1
vote
1
answer
249
views
Why is the network congested?
I'm reading a lot of people saying that is taking around 3/4 days to confirm a transaction.
What are the reasons for this being happening?
2
votes
3
answers
616
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 ...
1
vote
2
answers
519
views
How does a miner know if a transaction has already been included in the block chain? Does he traverse through the complete chain to conclude this?
I am confused on what incentive a miner has on including a transaction apart from the transaction fee. So, if adding a transaction wastes any time, any miner should ideally not add transactions that ...
2
votes
0
answers
59
views
How often are mining nodes updated with new transactions [duplicate]
Apologies if this has been asked, I'm a bitcoin noob. I'm having a hard time understanding how bitcoin scales.
If bitcoin scales massively, to millions or billions of transactions per day, how will ...
3
votes
1
answer
273
views
Is it OK not to sort transactions at all?
According to Mastering Bitcoin. Mining - Transaction Age, Fees, and Priority, miners sort transactions, using special parameter, called priority, which looks like
Priority = Sum (Value of input * ...
1
vote
2
answers
168
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 ...
5
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
251
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 ...
11
votes
2
answers
3k
views
Why does Antpool mine so many empty blocks?
AntPool, the largest mining pool mines a lot of empty blocks (quick stat over the last 100 blocks they mined at time of writing shows 20% <10kB).
While I understand that sometimes it is useful to ...
11
votes
2
answers
563
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)...
0
votes
1
answer
194
views
Minimum number of transcation in blocks one must include? [duplicate]
Anybody as the miner can just include 1 transaction and mine 12.5 award transaction and nonce and although it may not speed up my process as (number of transaction +Award+ Nonce)=some Constant to be ...
1
vote
2
answers
263
views
Restarting mining on new transaction
I understood that when a new transaction comes in, the miners have to start over, or at least change their merkle-tree to include the new transaction, essentially starting from scratch again.
If I ...
2
votes
1
answer
560
views
How is the mempool incorporated in the calculation of the block hash?
So I've been reading about how the nonce is calculated. There is one part that I don't get. So there is a mempool, and each node (or mining node) takes a part (or the whole part) of that mempool, ...
7
votes
2
answers
1k
views
Creating empty blocks vs creating full blocks
I've already read many different answers to this topic.
Is it correct that the miner decides on his own if he includes any transactions in his block and how many (as long as the block size is <...
2
votes
2
answers
803
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 ...