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
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 <...
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 ...
11
votes
2answers
534 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)...
9
votes
1answer
29k 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 ...
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
620 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 ...
3
votes
1answer
388 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 ...
14
votes
1answer
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 ...
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 ...
11
votes
2answers
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 ...
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(...
1
vote
2answers
257 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 ...
14
votes
4answers
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 ...
4
votes
1answer
1k 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 ...
4
votes
2answers
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(...
2
votes
2answers
582 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 ...
2
votes
1answer
526 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
862 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 ...
2
votes
1answer
810 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 ...
1
vote
0answers
381 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
771 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 ...
0
votes
2answers
368 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 ...