electrum icon indicating copy to clipboard operation
electrum copied to clipboard

when sweeping, no way to set a fee

Open ivanhoe1982 opened this issue 9 years ago • 13 comments

it gets a default 50 satoshi per byte, which in current circumstances results in 8-12 hour confirmation times (ubuntu)

ivanhoe1982 avatar Feb 19 '17 22:02 ivanhoe1982

Go to Preferences and use dynamic fees and enable option edit fees manually.

gits7r avatar Feb 20 '17 19:02 gits7r

I did just that even before posting the bug. I am testing on 2.7.18. After sweep, I get a transaction window with the usual transaction id, ins and outs, copy, save, sign (greyed out since it is already signed with the pk) and broadcast. No obvious (or non-obvious) way to edit the fee. The fee message actually says "unknown". Am I missing something?

ivanhoe1982 avatar Feb 20 '17 19:02 ivanhoe1982

When you press sweep, a sweep function from wallet.py is called with fee field set as None no matter what, which creates a transaction with an estimated fee (by using estimate_fee function from wallet.py) which is determined by the dynamic fee setting.

This means that if the fee is to be changed when sweeping, it has to be done somehow before you press sweep and create a transaction, similar to how you can change the fee when sending.

I've also had problems with default default dynamic fees, when my transactions got stuck as unconfirmed for more than a day.

I think something has to be changed about how the dynamic fees are calculated or, even better, a fee slider added to the sweep window (where you are prompted to enter private keys).

mmxmb avatar Feb 24 '17 17:02 mmxmb

Yup, I agree, I did exactly the same trace yesterday... Sweep window is a very special 'transaction' window, and I feel like the sweep function should just hand off to the transaction window, instead of being this weird standalone case. Then one could use functionality already built into transaction.

ivanhoe1982 avatar Feb 24 '17 17:02 ivanhoe1982

Newbie question, I could most likely find an answer from docs:

How does sweep differ from just creating a transaction and choosing Max amount?

JazzTp avatar Feb 25 '17 12:02 JazzTp

Ooops, maybe the answer is that you only use sweep to extract all funds from a wallet which private key you imported into an Electrum wallet, not to send all funds out of an Electrum wallet.

JazzTp avatar Feb 25 '17 12:02 JazzTp

I can attest that when sweeping you cannot set the fee. Also you cannot RBF the transaction.

schildbach avatar Mar 06 '17 20:03 schildbach

as a workaround, you can create a temporary wallet with the privkeys that you want to sweep. then, all the advanced fee and rbf options are available.

ecdsa avatar Jul 09 '17 19:07 ecdsa

Yes, please allow editing of the fee when sweeping a private key. Thanks to google websearch for finding this github issue and confirming that I wasn't missing a checkbox setting somewhere.

donnlee avatar Aug 08 '17 01:08 donnlee

+1

Engelberg avatar Aug 18 '17 06:08 Engelberg

+1

dan-da avatar Oct 12 '17 06:10 dan-da

+1

romankanevsky avatar Nov 03 '17 06:11 romankanevsky

fixed in #3380

ecdsa avatar Nov 30 '17 12:11 ecdsa