Bitcoin Forum

Bitcoin => Electrum => Topic started by: birux on January 29, 2021, 01:41:28 PM



Title: payment problema
Post by: birux on January 29, 2021, 01:41:28 PM
I sincerely thank anyone who wants to give me advice.
I ask you for help with a problem that has already occurred to me several times.
I have to make a payment.
In the wallet I have btc 0.023 but electrum only allows me a Max amount of btc 0.000029.
As if the real amount available were not considered. 
How can I solve this problem?
Thanks for your attention.
Bango


Title: Re: payment problema
Post by: mocacinno on January 29, 2021, 02:05:07 PM
Did you collect dust? In other words: did you receive dozens (or even more) micro-payments from (for example) faucets?

The more unspent outputs you need to use as an input, the bigger the transaction becomes, the higher the fee you'll have to pay to give an incentive to the miners to add your transaction into the block they're currently trying to solve...

This is just one of the explanations, but one that occurs rather often.


Title: Re: payment problema
Post by: birux on January 29, 2021, 02:29:45 PM
Try to check for the txids on your electrum wallet, check if you authorized for all. Most especially, the last transactions.


Sorry for the trivial question, I am a beginner level. How can I check if there is authorization?
Should I select all addresses and set "spend from"?

Thanks
Birux


Title: Re: payment problema
Post by: mocacinno on January 29, 2021, 02:52:54 PM
--snip--


Sorry for the trivial question, I am a beginner level. How can I check if there is authorization?
Should I select all addresses and set "spend from"?

Thanks
Birux

Quite the opposite... By going to the address tab, or the coins-tab and selecting "spend from" or "spend" you are activating coin control. By activating coin control you'll only be using a subset of the unspent outputs to create transactions, hence you won't be able to spend the total value of your wallet.

You'll know when you're using coin controll because there'll be a notice at the bottom like this one:
https://i.imgur.com/oRdDXUV.png


You didn't answer my question tough: did you use this wallet to collect faucet payments (or other micro-payments)?


Title: Re: payment problema
Post by: bitmover on January 29, 2021, 02:57:43 PM
In the wallet I have btc 0.023 but electrum only allows me a Max amount of btc 0.000029.
As if the real amount available were not considered. 
How can I solve this problem?
Thanks for your attention.
Bango

Hello.


How do you know youu have 0.023 BTC? Did someone sent that you, or did you bought that from some exchange?

If someone sent them to you, you must have told them your public address, right? Does it show any balance in a blockexplorer? Can you share it here?


How did you create this wallet (electrum)? Did you note down the seed, 12/24 words in a piece of paper?


Title: Re: payment problema
Post by: birux on January 29, 2021, 04:17:14 PM
--snip--


Sorry for the trivial question, I am a beginner level. How can I check if there is authorization?
Should I select all addresses and set "spend from"?

Thanks
Birux

Quite the opposite... By going to the address tab, or the coins-tab and selecting "spend from" or "spend" you are activating coin control. By activating coin control you'll only be using a subset of the unspent outputs to create transactions, hence you won't be able to spend the total value of your wallet.

You'll know when you're using coin controll because there'll be a notice at the bottom like this one:
https://i.imgur.com/oRdDXUV.png


You didn't answer my question tough: did you use this wallet to collect faucet payments (or other micro-payments)?
___________________________________________________



So if I am not misunderstood, I do NOT have to select "Spend from". In any case, the sum of the amounts relating to the addresses (8 addresses with yellow stripe) coincides with the total of the actual availability. Unfortunately, however, when I make a payment, electrum gives me a much lower MAX limit.
To answer your question, I only use electrum for small personal purchases and the only "incoming" amounts come from Exchange and at most I perform three or four transactions per month.

Thanks
Bx



Title: Re: payment problema
Post by: hosseinimr93 on January 29, 2021, 04:29:14 PM
............In any case, the sum of the amounts relating to the addresses (8 addresses with yellow stripe) coincides with the total of the actual availability..........
Addresses highlighted in yellow are your change addresses.
As you said, you have used your wallet for making payments for your purchases. Every time you sent fund to an address, the remaining balance of UTXO(s) selected by electrum was sent to one of your change addresses.
The transaction you are going to make will include at least 8 inputs and that's why you have to pay a high fee.


Title: Re: payment problema
Post by: mocacinno on January 29, 2021, 04:29:59 PM
--snip--

So if I am not misunderstood, I do NOT have to select "Spend from". In any case, the sum of the amounts relating to the addresses (8 addresses with yellow stripe) coincides with the total of the actual availability. Unfortunately, however, when I make a payment, electrum gives me a much lower MAX limit.
To answer your question, I only use electrum for small personal purchases and the only "incoming" amounts come from Exchange and at most I perform three or four transactions per month.

Thanks
Bx



You understood correctly... "Spend from" is an easy way of controlling which unspent outputs will be used. It is mainly used to protect your privacy.
What do you mean with "addresses with yellow stripe". Do you mean change addresses? If this is the case, it doesn't matter if they have a "green stripe" or a "yellow stripe".

Can you do the following:
  • go to "view", select "show coins"
  • A new tab should appear: "coins".
  • Go to the "coins" tab
  • count the number of lines
  • tell us the amount of lines you counted in the coins-tab






Title: Re: payment problema
Post by: birux on January 29, 2021, 04:43:38 PM

[/quote]

You understood correctly... "Spend from" is an easy way of controlling which unspent outputs will be used. It is mainly used to protect your privacy.
What do you mean with "addresses with yellow stripe". Do you mean change addresses? If this is the case, it doesn't matter if they have a "green stripe" or a "yellow stripe".

Can you do the following:
  • go to "view", select "show coins"
  • A new tab should appear: "coins".
  • Go to the "coins" tab
  • count the number of lines
  • tell us the amount of lines you counted in the coins-tab





[/quote]


Thanks for the clarity. I did it: Eight lines (output points) appear in the COINs Tab


Title: Re: payment problema
Post by: mocacinno on January 29, 2021, 04:56:29 PM
--snip--


Thanks for the clarity. I did it: Eight lines (output points) appear in the COINs Tab

8 inputs, 2 outputs @ ~100 sat/vbyte should result in a fee of ~0.0013 BTC
So this doesn't really explain your problem.

Do you see the feerate that's being used?
The problem must be one of the following:
  • An incorrect feerate is being used
  • No all unspent outputs are being used as an input for your new transaction

Maybe a dumb question, but you're running the latest version of electrum, checked the signature and you are connected (a green button is shown at the bottom right corner), right?


Title: Re: payment problema
Post by: BitMaxz on January 29, 2021, 05:14:42 PM

Thanks for the clarity. I did it: Eight lines (output points) appear in the COINs Tab

Are you planning to send all Bitcoins from your wallet?

It seems when you are making a transaction from Electrum you are paying a large fee. The reason behind your problem is due to network congestion look at the Mempool stats below.

https://i.imgur.com/lEjev1L.png

This why the transaction you made is asking for a large fee.

Anyway, can you enable this

https://i.imgur.com/obaOUZ0.png

You can find it on tools>Preferences>transactions then enable advanced preview.

Now make new transactions again under send tab and paste the address you want to send BTC and manually put the amount(don't put the maximum amount sample you are going to send 0.02BTC) and then click "pay" it will show the transaction creation tab.
Then look for this below.
https://i.imgur.com/VIAPm36.png
now from "ETA" set it to "mempool" and use slide to manually set the fee.

Since you said there are 8 outputs from the coins tab the fee should be around 0.00151440BTC based on the current network and estimated size(Coinb.in/#fees).

Now click finalize and let's see if you can able to broadcast the transaction.


Title: Re: payment problema
Post by: birux on January 29, 2021, 05:38:03 PM
--snip--


Thanks for the clarity. I did it: Eight lines (output points) appear in the COINs Tab

8 inputs, 2 outputs @ ~100 sat/vbyte should result in a fee of ~0.0013 BTC
So this doesn't really explain your problem.

Do you see the feerate that's being used?
The problem must be one of the following:
  • An incorrect feerate is being used
  • No all unspent outputs are being used as an input for your new transaction

Maybe a dumb question, but you're running the latest version of electrum, checked the signature and you are connected (a green button is shown at the bottom right corner), right?

Version 4.0.5

Le green light is ON
The Fee rate is at minumum

Probably, as you also write, not all the Unspent Outputs are available for a transaction, even if the balance is correct.

Thanks a lot for your time, I'll put my fingers back on the keyboard later.

BX


Title: Re: payment problema
Post by: HCP on January 29, 2021, 08:58:34 PM
A couple of things to check:

1. Are you using a [2fa] wallet? Does it show [2fa] in the title bar like this:
https://talkimg.com/images/2023/11/15/zsvwl.png

or does it say [standard]?:
https://talkimg.com/images/2023/11/15/zsYE1.png


2. Is your wallet configured to show BTC or mBTC? ??? Goto "Tools -> Preferences -> General" and check the "Base Unit" setting:
https://talkimg.com/images/2023/11/15/zsf5m.png



Title: Re: payment problema
Post by: khaled0111 on January 29, 2021, 11:40:00 PM
...
It's either one of these, although the numbers don't add up and clearly this is not the first time he uses this wallet so he would know if it's a 2fa wallet. Or he has one/few unconfirmed transactions and the spend unconfirmed option in his wallet is disabled.
@op, if you received a transaction which hasn't been confirmed yet then you have to enable the spend unconfirmed option from your wallet's settings to be able to spend all your coins.


Title: Re: payment problema
Post by: birux on January 31, 2021, 12:26:24 AM

Thanks for the clarity. I did it: Eight lines (output points) appear in the COINs Tab

Are you planning to send all Bitcoins from your wallet?

It seems when you are making a transaction from Electrum you are paying a large fee. The reason behind your problem is due to network congestion look at the Mempool stats below.

https://i.imgur.com/lEjev1L.png

This why the transaction you made is asking for a large fee.

Anyway, can you enable this

https://i.imgur.com/obaOUZ0.png

You can find it on tools>Preferences>transactions then enable advanced preview.

Now make new transactions again under send tab and paste the address you want to send BTC and manually put the amount(don't put the maximum amount sample you are going to send 0.02BTC) and then click "pay" it will show the transaction creation tab.
Then look for this below.
https://i.imgur.com/VIAPm36.png
now from "ETA" set it to "mempool" and use slide to manually set the fee.

Since you said there are 8 outputs from the coins tab the fee should be around 0.00151440BTC based on the current network and estimated size(Coinb.in/#fees).

Now click finalize and let's see if you can able to broadcast the transaction.

Dear BitMaxz

Sorry for the late reply. After applying your recommendations and performing an update (4.0.9) the problem seems to be solved. Even clicking "Max" gave me the total balance available. I hope it is definitely resolved even if a few more steps are now required to make a payment. Thanks again to everyone who gave me advice.

Birux