Bitcoin Forum

Bitcoin => Electrum => Topic started by: Este Nuno on June 08, 2014, 05:30:55 PM



Title: How to override the default 0.0002 transaction fee?
Post by: Este Nuno on June 08, 2014, 05:30:55 PM
Someone mentioned in another thread that they override the default fee in Electrum and send most transactions without a fee. I'm not sure how to do this. Would anyone mind explaining?

Thanks.


Title: Re: How to override the default 0.0002 transaction fee?
Post by: jonald_fyookball on June 08, 2014, 07:25:20 PM
Just go under tools, preferences ... You can change default fee, or just change on each transaction.


Title: Re: How to override the default 0.0002 transaction fee?
Post by: Este Nuno on June 08, 2014, 07:40:53 PM
Just go under tools, preferences ... You can change default fee, or just change on each transaction.

It still does not let me send. I've done that before but it won't accept it. It just says 'This transaction requires a higher fee or it will not be propagated by the network.'.


Title: Re: How to override the default 0.0002 transaction fee?
Post by: jonald_fyookball on June 08, 2014, 08:06:52 PM
What version of electrum? How much are you sending?


Title: Re: How to override the default 0.0002 transaction fee?
Post by: Este Nuno on June 08, 2014, 08:21:30 PM
What version of electrum? How much are you sending?

1.9.8 I've tried it with different amounts. Last normal sized transaction I did was ~0.3 and it wanted 0.0004. Maybe if I set the default to 0.0001 it would have taken it as a 0.0002 transaction, but I'm not sure.

I'll keep testing it out seeing if I can find ways to send some tx's with lower fees. I guess some of my transactions are just too many kbs.


Title: Re: How to override the default 0.0002 transaction fee?
Post by: btcven on June 08, 2014, 11:09:18 PM
The fee depends on the size of the transaction, making it for free would probably get your transaction to limbo and dropped eventually.


Title: Re: How to override the default 0.0002 transaction fee?
Post by: dabura667 on June 10, 2014, 11:43:55 AM
What version of electrum? How much are you sending?

1.9.8 I've tried it with different amounts. Last normal sized transaction I did was ~0.3 and it wanted 0.0004. Maybe if I set the default to 0.0001 it would have taken it as a 0.0002 transaction, but I'm not sure.

I'll keep testing it out seeing if I can find ways to send some tx's with lower fees. I guess some of my transactions are just too many kbs.

Open /lib/bitcoin.py in electrum's install folder. (you can't do this with the standalone version)

Search for
Code:
MIN_RELAY_TX_FEE =

Change that number from 10000 to 1000 (this is the new minimum fee for 0.9.0 and beyond.)

Then after you save that file, restart electrum, then go into preferences and set the default fee to 0.00001 BTC (or 0.01 mBTC) and save.

A little more than half of miners use 0.9.0 and beyond, so you might have to wait 20 minutes instead of 10 minutes for your first confirmation.


WARNING: Setting that number in bitcoin.py to 0 is a bad idea, recently 0 fee transactions that require fees can take days or even weeks to confirm.


Title: Re: How to override the default 0.0002 transaction fee?
Post by: Este Nuno on June 10, 2014, 01:20:37 PM
What version of electrum? How much are you sending?

1.9.8 I've tried it with different amounts. Last normal sized transaction I did was ~0.3 and it wanted 0.0004. Maybe if I set the default to 0.0001 it would have taken it as a 0.0002 transaction, but I'm not sure.

I'll keep testing it out seeing if I can find ways to send some tx's with lower fees. I guess some of my transactions are just too many kbs.

Open /lib/bitcoin.py in electrum's install folder. (you can't do this with the standalone version)

Search for
Code:
MIN_RELAY_TX_FEE =

Change that number from 10000 to 1000 (this is the new minimum fee for 0.9.0 and beyond.)

Then after you save that file, restart electrum, then go into preferences and set the default fee to 0.00001 BTC (or 0.01 mBTC) and save.

A little more than half of miners use 0.9.0 and beyond, so you might have to wait 20 minutes instead of 10 minutes for your first confirmation.


WARNING: Setting that number in bitcoin.py to 0 is a bad idea, recently 0 fee transactions that require fees can take days or even weeks to confirm.

Excellent. Thanks a lot.


Title: Re: How to override the default 0.0002 transaction fee?
Post by: Este Nuno on June 14, 2014, 06:29:20 PM
I still can't send anything lower than 0.0001 no matter what. The software says the network won't accept anything lower than than even when i change it in the python file.


Title: Re: How to override the default 0.0002 transaction fee?
Post by: dabura667 on June 15, 2014, 04:15:19 AM
I still can't send anything lower than 0.0001 no matter what. The software says the network won't accept anything lower than than even when i change it in the python file.

Did you also change the preferences fee to 0?

bitcoin.py's minimum fee is set to zero.

Tools > Preferences > Transaction Fees is also set to 0.

send some bitcoins without a fee. (make sure the "Fee" box says "0" or "0." or something along those lines.) (ALSO make sure you have enough bitcoins, and that they are not immature mining reward coins.)

I just tried it out, and it worked fine for me.

I don't think it has anything to do with it, but just in case, I was connected to electrum.206industries.com when I tested just now. Try manually connecting to them.


Title: Re: How to override the default 0.0002 transaction fee?
Post by: fxbit on November 12, 2017, 04:32:17 PM
Is this things still work today in 2017, I tried it, its not working anymore with backlog of transaction probably will not work for sometime, anyone have good result please share


Title: Re: How to override the default 0.0002 transaction fee?
Post by: TheButterZone on November 13, 2017, 12:13:21 AM
Is this things still work today in 2017, I tried it, its not working anymore with backlog of transaction probably will not work for sometime, anyone have good result please share

https://github.com/TheButterZone/electrum/commit/fca33e290015b475463481fc9b6626489aad5495#commitcomment-25346743