Questions tagged [transaction-selection]

Questions about what criteria influence the selection of unconfirmed transactions for block inclusion.

Filter by
Sorted by
Tagged with
3
votes
1answer
145 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
2answers
4k 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 ...
0
votes
1answer
70 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
1answer
163 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
1answer
440 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
1answer
88 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
0answers
35 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
4answers
16k 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
1answer
157 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
2answers
68 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
1answer
60 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 ...
0
votes
1answer
155 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
1answer
40 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
2answers
50 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
1answer
44 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
1answer
210 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
2answers
533 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
1answer
110 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
2answers
702 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 ...
2
votes
2answers
252 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
3answers
164 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
3answers
117 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
2answers
40 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
2answers
274 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
1answer
94 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
2answers
805 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
3answers
605 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
2answers
701 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
1answer
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
2answers
731 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 ...
5
votes
2answers
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
2answers
158 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 ...
9
votes
1answer
2k 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
1answer
387 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
1answer
294 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
1answer
374 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
2answers
731 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
1answer
510 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
0answers
379 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
2answers
768 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
1answer
85 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
1answer
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
3answers
703 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
1answer
63 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? ...
1
vote
1answer
242 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?
1
vote
2answers
510 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
0answers
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 ...
11
votes
2answers
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 ...
3
votes
1answer
254 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
2answers
244 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 ...