Bitcoin Forum

Bitcoin => Electrum => Topic started by: C. Bergmann on April 07, 2014, 12:04:16 PM



Title: Minimal fee
Post by: C. Bergmann on April 07, 2014, 12:04:16 PM
Hi there,

when will electrum implement the option to reduce fees to 0.00001 btc? It's available since bitcoin core (0.9.0) and I would like to have the choice to use it also with my favorite wallet.


Title: Re: Minimal fee
Post by: Abdussamad on April 07, 2014, 12:47:19 PM
You will have to edit the source code to make this change. Edit the MIN_RELAY_TX_FEE line in lib/bitcoin.py. Change it to 1,000 satoshis:

Code:
MIN_RELAY_TX_FEE = 1000

Line: https://github.com/spesmilo/electrum/blob/c24482c21a7df7e7dc9d1027a738acfa49044a7e/lib/bitcoin.py#L680

The reinstall.


Title: Re: Minimal fee
Post by: C. Bergmann on April 07, 2014, 01:33:31 PM
You will have to edit the source code to make this change. Edit the MIN_RELAY_TX_FEE line in lib/bitcoin.py. Change it to 1,000 satoshis:

Code:
MIN_RELAY_TX_FEE = 1000

Line: https://github.com/spesmilo/electrum/blob/c24482c21a7df7e7dc9d1027a738acfa49044a7e/lib/bitcoin.py#L680

The reinstall.

thank you
I did try it.
But electrum doesn't propagate a transaction about 0.00079 btc with this fee. It says network can't. With Bitcoin Core (0.9.0) it works


Title: Re: Minimal fee
Post by: Abdussamad on April 07, 2014, 01:39:57 PM
You will have to edit the source code to make this change. Edit the MIN_RELAY_TX_FEE line in lib/bitcoin.py. Change it to 1,000 satoshis:

Code:
MIN_RELAY_TX_FEE = 1000

Line: https://github.com/spesmilo/electrum/blob/c24482c21a7df7e7dc9d1027a738acfa49044a7e/lib/bitcoin.py#L680

The reinstall.

thank you
I did try it.
But electrum doesn't propagate a transaction about 0.00079 btc with this fee. It says network can't. With Bitcoin Core (0.9.0) it works

Try connecting to a different electrum server.

The thing is that you need a large portion of the network to be running 0.9.0 for the lower fee to take effect. That means miners but it also means electrum servers for us.


Title: Re: Minimal fee
Post by: C. Bergmann on April 07, 2014, 01:42:57 PM
Thank you again. Do you have a tipp which server I should try?


Title: Re: Minimal fee
Post by: Abdussamad on April 07, 2014, 01:49:06 PM
Thank you again. Do you have a tipp which server I should try?

I don't know. You can try asking in the servers thread or the electrum IRC channel about which servers will relay transactions with 1,000 satoshi fees.


Title: Re: Minimal fee
Post by: C. Bergmann on April 07, 2014, 01:50:48 PM
I tried several servers by random. None did accept the transaction.


Title: Re: Minimal fee
Post by: Abdussamad on April 07, 2014, 02:03:07 PM
I tried several servers by random. None did accept the transaction.

Set the transaction fee in tools > preferences. Then use tools > create transaction > from CSV text to create your transaction. Confirm everything is correct, sign and save the transaction to a file. Then open the file using a text editor, copy the hex portion and broadcast it using bitcoind or blockchain.info's pushtx:

https://blockchain.info/pushtx


Title: Re: Minimal fee
Post by: C. Bergmann on April 07, 2014, 02:12:17 PM
I tried several servers by random. None did accept the transaction.

Set the transaction fee in tools > preferences. Then use tools > create transaction > from CSV text to create your transaction. Confirm everything is correct, sign and save the transaction to a file. Then open the file using a text editor, copy the hex portion and broadcast it using bitcoind or blockchain.info's pushtx:

https://blockchain.info/pushtx

Hmmm ... if I do so (I don't know if I have the knowledge to do) it would be easier to just use bitcoin core ...

I run a bitcoinblog (bitcoinblog.de) and work currently on an article how to lower transaction fees for non-technicals. So I am searching for easy methods to do so


Title: Re: Minimal fee
Post by: dabura667 on April 07, 2014, 03:07:19 PM
I tried several servers by random. None did accept the transaction.

Set the transaction fee in tools > preferences. Then use tools > create transaction > from CSV text to create your transaction. Confirm everything is correct, sign and save the transaction to a file. Then open the file using a text editor, copy the hex portion and broadcast it using bitcoind or blockchain.info's pushtx:

https://blockchain.info/pushtx

Hmmm ... if I do so (I don't know if I have the knowledge to do) it would be easier to just use bitcoin core ...

I run a bitcoinblog (bitcoinblog.de) and work currently on an article how to lower transaction fees for non-technicals. So I am searching for easy methods to do so

Hmm... for me, all I need to do is set the variable to 0 and it lets me choose any fee...

did you try using 1.9.8?


Title: Re: Minimal fee
Post by: C. Bergmann on April 07, 2014, 03:38:08 PM
Ok, I updatet / downloaded the new client.

Still doesn't work.

Did you try to send a tx with 0.00079 btc?


Title: Re: Minimal fee
Post by: Abdussamad on April 07, 2014, 03:50:41 PM
Ok, I updatet / downloaded the new client.

Still doesn't work.

Did you try to send a tx with 0.00079 btc?

Try the steps I outlined. The problem is server side not client side.


Title: Re: Minimal fee
Post by: JWU42 on April 07, 2014, 06:23:24 PM
The following electrum servers are running bitcoind v0.9.0

  • electrum2.jdubya.info
  • jwu42.dyndns.org

But without pools using 0.9.0 it won't matter  ???


Title: Re: Minimal fee
Post by: filchef on April 07, 2014, 07:09:28 PM
I tried several servers by random. None did accept the transaction.

Set the transaction fee in tools > preferences. Then use tools > create transaction > from CSV text to create your transaction. Confirm everything is correct, sign and save the transaction to a file. Then open the file using a text editor, copy the hex portion and broadcast it using bitcoind or blockchain.info's pushtx:

https://blockchain.info/pushtx

Can you explain with example what is the hex portion of file.


Title: Re: Minimal fee
Post by: EagleTM on April 07, 2014, 07:31:17 PM
But without pools using 0.9.0 it won't matter  ???

They'll probably be treated like no-fee TX by pools who have upgraded to 0.9.0 - at least now they have a chance to propagate where previously they'd only propagate if they matched the strict rules for no-fee tx. It's really experimental at this stage to get them into a block because even bitcoin-qt in core sets the old  0.0001 fee as default to send tx.


Title: Re: Minimal fee
Post by: Abdussamad on April 08, 2014, 12:50:53 AM
I tried several servers by random. None did accept the transaction.

Set the transaction fee in tools > preferences. Then use tools > create transaction > from CSV text to create your transaction. Confirm everything is correct, sign and save the transaction to a file. Then open the file using a text editor, copy the hex portion and broadcast it using bitcoind or blockchain.info's pushtx:

https://blockchain.info/pushtx

Can you explain with example what is the hex portion of file.

It is a plain text file with a json object in it. It will look like this:

https://bitcointalk.org/index.php?topic=517006.msg5738256#msg5738256

You just copy the hexadecimal digits inside the quotes and paste into blockchain.info or eligius' push transaction page. Very simple.