<p>Note that the transactions are chosen by the client you issue your <code>getwork</code> requests to. If you're mining in a pool, the pool chooses the transactions.</p>

<p>The key settings are in the <code>main.h</code> file. Look at <code>MIN_TX_FEE</code> and <code>MIN_RELAY_TX_FEE</code>.</p>

<p>To accept non-standard transactions, comment out these lines in <code>main.cpp</code>:</p>

<pre><code>// Rather not work on nonstandard transactions (unless -testnet)
if (!fTestNet &amp;&amp; !IsStandard())
    return error("AcceptToMemoryPool() : nonstandard transaction type")
</code></pre>

<p>Note that if you accept transactions with less than the normal transaction fees, you should connect to <a href="https://en.bitcoin.it/wiki/Free_transaction_relay_policy" rel="nofollow">Luke Dash Jr.'s node</a> to make sure you get such transactions, since most clients won't relay them to you. Add <code>-addnode=173.242.112.53</code> to the command line you use to start your client.</p>

CC BY-SA 3.0
2011-09-27T09:22:40.193Z
2011-09-27T09:22:40.193Z
David Schwartz
<p>If I run a miner where can I set the fee value to accept transactions in the bitcoin client?</p>

<bitcoind><transaction-fees><mining-reward>
Where can I set the fee value for accepting transactions?
ADenis
# Where can I set the fee value for accepting transactions?

(Asked by: username_0 on 2011-09-27)

If I run a miner where can I set the fee value to accept transactions in the bitcoin client?

**Tags:** bitcoind, transaction-fees, mining-reward


---

## 1 answers

### Answer by username_1 on 2011-09-27. Score: 4 | Accepted answer

Note that the transactions are chosen by the client you issue your getwork requests to. If you're mining in a pool, the pool chooses the transactions.
The key settings are in the main.h file. Look at MIN_TX_FEE and MIN_RELAY_TX_FEE.
To accept non-standard transactions, comment out these lines in main.cpp:
// Rather not work on nonstandard transactions (unless -testnet)
if (!fTestNet && !IsStandard())
    return error("AcceptToMemoryPool() : nonstandard transaction type")

Note that if you accept transactions with less than the normal transaction fees, you should connect to Luke Dash Jr.'s node to make sure you get such transactions, since most clients won't relay them to you. Add -addnode=173.242.112.53 to the command line you use to start your client.


---

