Questions tagged [transaction-selection]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
87 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
32 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, ...
2
votes
1answer
148 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
62 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
52 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
98 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
38 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
1answer
42 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
1answer
86 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
2answers
49 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
3answers
140 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 ...
2
votes
2answers
225 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
3answers
96 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 ...
3
votes
2answers
252 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
2answers
36 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
1answer
87 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 ? ...
2
votes
1answer
141 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
2answers
599 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
2answers
689 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
1answer
201 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
1answer
370 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 ...
6
votes
1answer
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 ...
1
vote
1answer
495 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
360 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
720 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
3answers
666 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? ...
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?
1
vote
1answer
238 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
3answers
601 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
2answers
499 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
54 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
1answer
245 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
156 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
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
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 ...
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 ...
11
votes
2answers
509 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
1answer
187 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
2answers
252 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
1answer
494 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, ...
6
votes
2answers
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
2answers
600 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 ...
8
votes
1answer
575 views

What is the largest number of blocks a transaction has ever waited for confirmation?

What is the largest number of blocks a transaction has ever waited before eventual confirmation? Please exclude: Transactions with no fee Transactions delayed because of unconfirmed inputs ...
5
votes
1answer
640 views

How does getblocktemplate select transactions?

I wrote a script that compares the transactions listed in the memory pool with the transactions included in getblocktemplate: http://learnmeabitcoin.com/explorer/node/memorypool (I've ordered the ...
2
votes
2answers
263 views

How are transactions collected into new block?

How are the latest transactions collected into new block to send them to miners for hashing? Which part of the network is responsible for giving miners the correct block to hash?
1
vote
3answers
168 views

Is there a way to create a transaction that it can only be confirmed after another unrelated transaction has been confirmed?

Is there a way to create a transaction A that cannot be confirmed until B has been included in a block, although A does not build on any UTXO B creates? B would have already been broadcast by another ...
4
votes
2answers
71 views

Are sequential blocks more likely to be “empty” if solved by the same entity?

If not SPV mining, so-called "empty blocks" occur if there are no available transactions to include and is usually when the previous block was solved a short period of time previously. Is there any ...
2
votes
2answers
521 views

How often do miners recalculate the merkle root they're working on?

I think that I understood most of the things about Bitcoin but there is still a mystery. We can see on https://blockchain.info/ that there are up to 4/5 new transactions every seconds. My question ...
5
votes
1answer
423 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-...