Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: marley on February 21, 2014, 01:06:36 PM



Title: Miners and non-standard transactions
Post by: marley on February 21, 2014, 01:06:36 PM
If I'm a miner, how can I choose which types of transactions to accept? e.g. non-standard OP_CODES and so on...


Title: Re: Miners and non-standard transactions
Post by: Rannasha on February 21, 2014, 01:16:12 PM
If I'm a miner, how can I choose which types of transactions to accept? e.g. non-standard OP_CODES and so on...

You need to compile your own version of bitcoind that includes your preferences for transactions you'll accept. Note that this doesn't work if you're pool-mining, since then it's up to the pool operator to decide this.

The notion of "a miner can choose which transactions to include" is somewhat academic, as there's not a quick and easy way to do it.


Title: Re: Miners and non-standard transactions
Post by: marley on February 21, 2014, 02:10:02 PM
Is there a documentation on how I could do that? Or if not, can you at least point me in the right direction??
Thanks