Take the 2-minute tour ×
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It's 100% free, no registration required.

Where and how (if you are mining on your own) 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 the fees as well ??

share|improve this question
    
Most miners are mining through a pool. Solo miners, mining pool operators and those running P2Pool can be selective, but any miner that gets work from elsewhere has no say in what transactions get included in the block. –  Stephen Gornick Feb 5 '13 at 2:39
    
So just to confirm if u are solo u can at an API level only select which transactions to exclude –  BitCoin New Guy Feb 7 '13 at 4:09
    
But what software use miners to accept transactions when they find a block? Their mining software or the Bitcoin client software? I'm searching information about Bitcoin and I don't know how miners can verify transactions, but I read here that miners that find a block can accept the transdactions that they want, but if they are "bad" or "malicious" miners, they can accept invalid transactions (double spending transactions). When this "bad" or "malicious" miner accept the transaction this validation is broadcasted over the network to be confirmated? Sorry for my english. If someone don't unders –  Zanetti Apr 24 '13 at 8:23
    
Miner can choose no transaction to build block: bitcoin.stackexchange.com/questions/3332/… –  diyism Jun 30 '13 at 17:22

3 Answers 3

up vote 7 down vote accepted

A bitcoin node's (bitcoin's standard client acts as one) first function is to relay transactions on a best effort basis, it only relays valid transaction. The miner which also is a node will try to solve a block on the transaction it received, but in the end the miner has last word he can decide to arbitrarily discard some transaction (like one with no miner's fee)

share|improve this answer
    
How would they exclude a transaction...is there some tool or viewer ??? –  BitCoin New Guy Jan 31 '13 at 21:39
    
Miner can choose not to include the transaction in their transaction tree... They don't have a tool they are a node who received the broadcast of transactions. If YOU want to see the transaction or block try blockchain.info or blockexplorer.com. But it is to say that those sites are merely nodes that permits you to see what is going on the network a miner is a node thus receive about the same info. –  Gopoi Jan 31 '13 at 21:47
    
I got all that ...if you are broadcast all transactions as part of the peer to peer...how do u exclude a transaction with a low fee value when u start cgminer as an example ?? –  BitCoin New Guy Jan 31 '13 at 21:52
2  
Ok you speak pratically, you would need to see if cgminer is able to be configured...which I am not sure. If you are part of a pool (not p2pool) you can't really deny transactions since you get the work from the pool directly (the pool runs the node). When I said miner I was considering any miner that you could program or configure, a miner in general can choose which transaction to include but it maybe implemented not to. –  Gopoi Jan 31 '13 at 22:03
    
Cool...so at a API level we could write code into our operation that excluded all transactions below a certain fee level... Thanks –  BitCoin New Guy Feb 1 '13 at 4:35

Do you look on the blockchain ?

No, because the blockchain only has confirmed transactions. Instead, the miner looks at its memory pool. It's named that because they are forgotten when the miner shuts down.

share|improve this answer

Just look up block 289791 from today at blockchain.info. No transactions included at all. Obviously that miner is speeding up his calculation by omitting them and got lucky today.

share|improve this answer
1  
Not including transactions doesn't speed up the calculation of a block in practice. In theory, you can omit a few hash calculations, but it's so insignificant that there is really no reason to omit them. –  Steven Roose Mar 10 at 10:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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