What transactions will be included in the next block?

1

The miners decide whether a transaction will be included in the block.

What information do miners have about unconfirmed transactions?

How can I know, in detail, what transactions are going to be included in the block?

Willipm

Posted 2015-01-09T02:07:42.590

Reputation: 283

1Willipm, I've attempted to clarify your question. If I've changed the intent of your question, feel free to use the 'rollback' feature. (It's under the revision history.)Nick ODell 2015-01-09T02:52:21.953

I thought maybe the original question was asking about what details of transactions do miners see?Chuck Batson 2015-01-09T03:23:37.090

@Nick ODell Chuck got me.Since George's answer has coverd both of the question,no bother to do the roll back.Willipm 2015-01-12T01:47:39.133

Answers

1

You can see what a miner sees at this very moment, provided that your wallet is synched, by calling getrawmempool true in your bitcoin console. What you'll get is broadcasted transactions not yet included in a block.

In short, miners scan this list and then allow the valid transactions with a higher fee to be included first in the block they are about to mine.

George Kimionis

Posted 2015-01-09T02:07:42.590

Reputation: 2 824

I called "getrawmempool true" but got "Returns all transaction ids in memory pool. (code -1)" as result.Did I miss something?Willipm 2015-01-12T01:36:33.517

1

The command is bitcoin-cli getrawmempool true. Code -1 is RPC_MISC_ERROR.

George Kimionis 2015-01-12T01:46:49.687