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?

  • 1
    Willipm, 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 Jan 9 '15 at 2:52
  • I thought maybe the original question was asking about what details of transactions do miners see? – Chuck Batson Jan 9 '15 at 3:23
  • @Nick ODell Chuck got me.Since George's answer has coverd both of the question,no bother to do the roll back. – Willipm Jan 12 '15 at 1:47
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.

  • I called "getrawmempool true" but got "Returns all transaction ids in memory pool. (code -1)" as result.Did I miss something? – Willipm Jan 12 '15 at 1:36
  • 1
    The command is bitcoin-cli getrawmempool true. Code -1 is RPC_MISC_ERROR. – George Kimionis Jan 12 '15 at 1:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.