Questions tagged [transaction-selection]

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

Filter by
Sorted by
Tagged with
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
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
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
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
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
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.8k
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
10 votes
1 answer
1k views

What is the motivation for miners to include all recent transactions in a block?

I think I understand the basic operation of the Bitcoin protocol. Blocks are the "long-term memory" of the network used to prevent double spending (and the way the network agrees in first place). ...
fiction's user avatar
  • 518
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
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
8 votes
1 answer
688 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 ...
Logan's user avatar
  • 373
7 votes
1 answer
302 views

What if some group of people start sending small transactions from wallet to wallet just to make the blockchain bigger?

What if some government start using their computers to move the tiniest amount of Bitcoin possible, from wallet to wallet, just to make the blockchain REALLY big? Is this possible? And also, is it ...
Guelando 2's user avatar
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
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
7 votes
1 answer
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 ...
Loourr's user avatar
  • 3,050
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
6 votes
6 answers
1k views

Can blocks remain capped to 1MB forever?

This is perhaps more of an economics question than a bitcoin question, but I'm wondering if it would be viable to leave the block size capped at 1MB for all time and simply let a series of rules ...
mulllhausen's user avatar
  • 1,713
6 votes
1 answer
266 views

Do any pools discriminate against some transactions?

Are there any pools that openly discriminate against some transactions? For example, they only put transactions with a fee in their blocks, thus ignoring all "free" transactions?
ThePiachu's user avatar
  • 43k
5 votes
2 answers
981 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 ...
Michael's user avatar
  • 175
5 votes
1 answer
779 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 ...
inersha's user avatar
  • 2,968
5 votes
1 answer
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 ...
Hugo Borne's user avatar
5 votes
2 answers
500 views

Is it possible to increase the transaction fee of a sent transaction not yet in a block?

Is it possible to increase transaction fee of a transaction that is already sent and seems stuck?
Łukasz Lew's user avatar
5 votes
1 answer
504 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-...
Rich Apodaca's user avatar
  • 2,321
5 votes
1 answer
2k views

What are the internal details of GetWork() .. the foundation of Bitcoin mining?

According to this answer GetWork() sends "a chunk of data containing the block data, including the randomized bits, and the nonce (the bit which the miner changes)." Can anyone provide details on ...
makerofthings7'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
2 answers
1k 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 ...
Jyclop's user avatar
  • 143
4 votes
2 answers
332 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 ...
seafooler's user avatar
4 votes
2 answers
90 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 ...
organofcorti's user avatar
4 votes
2 answers
430 views

Will a new block be found immediately, when there are enough transactions to fill a block?

I am trying understand the Bitcoin verification process. What happens, if a new block has not been found and there are enough transactions waiting to fill the current block size limit? Will a new ...
Prasad's user avatar
  • 43
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
4 votes
1 answer
379 views

Would it be possible to create a mining pool service that specifically processed only certain transactions?

I've seen that it's possible to encode custom data in the block chain. I'm wondering if it's possible for someone to start a mining pool consisting of client that use some metadata in either wallets ...
barrymac's user avatar
  • 1,605
4 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 ...
tlo's user avatar
  • 275
3 votes
1 answer
163 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 ...
Joey's user avatar
  • 33
3 votes
2 answers
317 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 ...
Darius's user avatar
  • 779
3 votes
1 answer
267 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 ...
Wapac's user avatar
  • 1,074
3 votes
1 answer
515 views

How to 'pick' transactions to include when attempting to add a new block?

I saw this question about finding new transactions. But how do you pick which transactions to include in the block you're trying to add? Should it be in a certain order, or random? How many ...
Anonymous's user avatar
  • 473
3 votes
1 answer
188 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 ...
user115073's user avatar
3 votes
2 answers
56 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 ...
hash tables's user avatar
3 votes
2 answers
734 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?
themirror's user avatar
  • 309
3 votes
1 answer
227 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.
john martin's user avatar
3 votes
1 answer
279 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 * ...
Sergey Potekhin's user avatar
3 votes
1 answer
423 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
3 votes
2 answers
662 views

How are unconfirmed transactions divided into different blocks?

According to https://bitcointalk.org/index.php?topic=216938.0 one transaction can only be contained in one block. If I understand correctly, miners can freely decide what transaction they include in ...
czerny's user avatar
  • 247
3 votes
1 answer
191 views

Mine valid but nonstandard transactions

Is there a way to configure cgminer to accept valid but nonstandard transactions for mining? If not, where, theoretically, would be a good place to look if I was interested in mining nonstandard ...
rocketas's user avatar
  • 163
3 votes
1 answer
559 views

What are the requirements of a transaction being included in a block?

What are the requirements of a transaction being included in a block? How does a miner verify that a transaction meets such requirements?
Kinnard Hockenhull's user avatar
2 votes
2 answers
846 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 ...
vi.su.'s user avatar
  • 1,842
2 votes
1 answer
481 views

What is criteria of mining priority except for transaction-fee?

I am reading "Mastering Bitcoin written by Andreas" and I found this explanation of mining. Transactions are added to the new block, prioritized by the highest-fee transactions first and a few ...
zono's user avatar
  • 1,915
2 votes
2 answers
717 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
2 votes
1 answer
54 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 ...
Arjun Reddy's user avatar
2 votes
3 answers
621 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 ...
Stephane Rolland's user avatar