Questions tagged [transaction-selection]

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

Filter by
Sorted by
Tagged with
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 <...
mitchkman's user avatar
  • 313
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 ...
BitCoin New Guy's user avatar
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)...
Murch's user avatar
  • 72.6k
10 votes
1 answer
30k views

Whats the process of Creating a Block on the BlockChain

have been mining on pools and blindly going a long for the ride of > generating a block Can somebody walk through the process in simple terms of the steps involved in creating a block on the ...
BitCoin New Guy's user avatar
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 ...
l1b3rty's user avatar
  • 378
11 votes
2 answers
644 views

In a double spend attempt, how is the valid transaction chosen?

Suppose I publish the private key of an address that contains 1 bitcoin. If two people try to transfer this bitcoin to another address before a new block is found, who gets it? How is this decision ...
nmat's user avatar
  • 11.5k
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
3 votes
1 answer
422 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 ...
Aliakbar Ahmadi's user avatar
15 votes
1 answer
1k views

Are there any pools or large miners running "child pays for parent" patch?

A feature available through pull #1647 gives the recipient of a transaction a method to help get a transaction to confirm. This feature is called "child pays for parent", and what it means is that ...
Stephen Gornick's user avatar
11 votes
2 answers
1k views

Double spend attack by sending higher fee transaction directly to the pools possible?

The standard client prioritizes TXs by the time of receipt, e.g. a conflicting transaction will not be relayed. This is not enforced by the network, though. Is there anything that would prevent this ...
kermit's user avatar
  • 2,019
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(...
Tor's user avatar
  • 119
1 vote
2 answers
267 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 ...
BlockChange's user avatar
14 votes
4 answers
21k views

relationship between bitcoin miner and verification of transactions [closed]

Bitcoin miner mines a block, which can't be submitted to the network without proof of work. And the new block contains all of the new transactions. Hence the new block acts as a security measure, and ...
Sida Zhou's user avatar
  • 349
6 votes
2 answers
878 views

Does a new block necessarily include all transactions that occurred before its generation? What about network latency?

I read What exactly is Mining? and What are bitcoin miners really solving?, but was left wondering: What happens if a new transaction comes in, whilst mining? To answer that, I found Do transactions ...
Andrew Cheong's user avatar
4 votes
2 answers
1k views

Does the amount of the transaction fee affect the priority of a transaction?

I've been reading about transaction fees here. From the aritcle, Transaction priority is calculated as a value-weighted sum of input age, divided by transaction size in bytes: priority = sum(...
kirian's user avatar
  • 3,279
4 votes
1 answer
2k views

How often do miners update their block transaction list?

Assuming an interval where no block is found, do we know how often the typical miner updates his block transaction list with new transactions from the mempool? I found a reference which suggests that ...
btcee99's user avatar
  • 98
2 votes
1 answer
572 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, ...
Mostafa Zamani's user avatar
2 votes
1 answer
838 views

Can miners choose which transactions to mine?

I'm curious if miners can choose which transactions to mine? I know that there are limits to the minimum size of a transaction fee (around 5400 satoshis) but I'm wondering if miners can ignore those ...
Austin Fatheree's user avatar
2 votes
2 answers
716 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 ...
Second Bailout's user avatar
1 vote
0 answers
443 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 ...
Gary Chen's user avatar
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 ...
Ashish Negi's user avatar
0 votes
2 answers
398 views

How Is Block Assembled?

I think I understand mining well enough, but what I don't get is how the blocks of transactions are assembled. According to this post - What exactly is Mining? - the miners assemble the blocks and ...
a432511's user avatar
  • 123