Bitcoin Forum
September 14, 2024, 02:54:08 AM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Electrum / Re: New release: Electrum 4.0.5 on: November 19, 2020, 05:09:45 PM
Can anyone tell me where I messed up for failing to install this update?

Are you sure that Electrum is not running in the background? I got exactly the same error when I tried to reinstall it while I had my wallet opened. Check the task manager. You might need to kill the Electrum process manually.

You're the best Rath_ !

I hadn't thought about it, but that was the problem.

Many thanks Rath_  Wink
2  Bitcoin / Electrum / Re: New release: Electrum 4.0.5 on: November 19, 2020, 04:04:59 PM
Hello all!

I cannot download version 4.0.5;

I hope I followed the procedure, I downloaded this version from the verified site of Electrum.org, for Windows (I checked the signature too and it worked), then in my folder "my downloads", I have an "electrum-4.0.5-setup" file and another "electrum-4.0.5-setup.exe", the latter being of type "OpenPGP Text File" (this is the file that contains the pgp key from ThomasV).
To install this update, I double clicked on the "electrum-4.0.5-setup" file and after choosing the destination folder, the installation begins and is quickly followed by a pop'up that tells me "Error Opening File for writing - C: \ Program Files ....... dll - Click abort to stop the installation, Retry to try again or Ignore to skip the file".

And if I click on "ignore", the installation continues for half a second before having the same type of message again and again. So, I was not at the end and I preferred to stop the installation.

Can anyone tell me where I messed up for failing to install this update?
3  Bitcoin / Electrum / Re: erreur lors de transmission de transaction / error during transaction transmissi on: November 17, 2020, 10:28:52 PM
HCP come in my arms that I kiss you !!!  Cheesy Cheesy Cheesy Cheesy Cheesy

You found out where the problem came from! I followed your recommendations and it worked! the transaction has been broadcast!

But wow! you had to know that to have the private key you just had to select the part without the p2wpkh! If you hadn't told me I would never have guessed that this was the procedure!

At least it's cool, this galley allowed me to learn more about the use of Electrum, it was a good learning.

Another big thank you HCP! In addition to being able to broadcast my transaction, you allowed me to learn (like the other speakers on this topic, thank you!)  Wink
4  Bitcoin / Electrum / Re: erreur lors de transmission de transaction / error during transaction transmissi on: November 17, 2020, 03:16:12 PM
There should not be any need for you to sign anything to receive coins from the "market". You should be able to provide a bitcoin address and they should be able to create/sign/broadcast a transaction that sends coins to that address. Simple.

So, it appears that this "market" is using some sort of very complicated wallet setup... Undecided

Can you please explain the "cancelled transaction" that lead to the requirement for a "refund". Do you have an account on this "market" that has a wallet feature? ie. you login, and can generate deposit addresses etc? Huh

I did not create a multisig wallet, my wallet is a standard wallet. The one that is multisig I think it is only the one of the market since it serves as an intermediary between the buyer and the seller (by sequestering the buyer's payment while waiting for him to receive his package, before to give the money to the seller).

On this marketplace, when I find an item that I like, I buy it by making a payment, normally. Except that the payment I made does not go directly to the seller, it is sequestered by the marketplace and will only be given to the seller when I have declared that I have received my package. It is exactly the same principle as on the Vinted platform. Except that this is in bitcoins. I don't have any waalet on this marketplace.

And suddenly, since the seller canceled my purchase, the marketplace wants to return my payment by giving me an encrypted transaction and asking me to sign it (since my payment apparently was on a multisig wallet, that of marketplace), then broadcast it.
Likewise, if my purchase had been accepted by the seller, the marketplace would have sent a transaction to the seller, asking him to sign it and then broadcast it for himself.
The payment in bitcoin is unlocked thanks to 2 signatures: that of the market and mine in the event of a refund, OR that of the market and the seller in the event of a successful sale.


Quote
It appears that they have created a partially signed transaction and given it to you... do you recognise the "input address" shown when you "verify" this transaction on Coinb.in? Huh It *should* be somehow related to your account on the "market". NOTE: It will not have anything to do with your Electrum wallet or addresses.

Here is the verified transaction on coinb.in:
https://image.noelshack.com/fichiers/2020/47/2/1605624673-capture-1.jpg

I don't recognise the imput adress (73244..........). Neither in relation to my account on this market, nor in relation to my Electrum wallet.

Quote
This is where you are going wrong... you should NOT be using the private key for the "reception address"... it must be one of the private keys associated with the multisig address that is being used as the input.

When you first setup your account on this Market, were you asked to enter a public key at all? Huh

As you can imagine, I do not have access to the private key associated with the multisig address which is used as input, as long as I do not recognize the address in imput on the transaction.

And when I configured my account on the marketplace, I was asked to enter a Bitcoin public key for multisig; there, I entered the public key linked to the reception address which I also entered.

On the other hand, when I am on Coinb.in, after verifying the transaction, step 2 is to sign the transaction. And to sign it, I am asked for a private key, not a public key. And if I enter the public key that I entered (linked to my reception address), the signature fails. Likewise, if I enter the private key (still linked to this same reception address), the signature also fails. The only time the signature is OK is when I sign with my master public key.

But there, once I copy the new transaction that I just signed with this master public key, I cannot broadcast it, it does not work (note that when I look at the encrypted transaction as given by the market, and the new encrypted transaction once I can sign it with my master public key, I see the encryption is exactly the same, nothing has changed in the code while the transaction is supposed to be signed - with my master public key)
5  Bitcoin / Electrum / Re: erreur lors de transmission de transaction / error during transaction transmissi on: November 15, 2020, 11:20:47 PM
The market giving me the transaction just gives me the encrypted text of the transaction and says "Sign this transaction with your private Bitcoin key and broadcast it to receive your funds."

Which "market" are you using?

It seems to be somewhat weird that you get a multisignature transaction to sign with a non-multisig wallet?

Is it the first time you were doing it this exact way? Or did it work in the past?

He mentioned that he copied the raw transaction from coinb.in and is trying to sign it from his Electrum wallet. It makes a single multisig address that needs to be signed with private keys belonging to other address to spend anything.

OP: When coinb.in made the multisig address, it asked you for the public keys of the holders. You should also have their private keys too. So in total you should have one address in three Electrum wallets, imported using File > New/Restore > type a name for your wallet > Import Bitcoin addresses or private keys.

Then the transaction has to be made in Electrum. First, create a payment from one of your wallets as you'd normally do. Then after you sign the transaction, you have to copy the raw transaction to the clipboard:



Then you open one of your other wallets and click on Tools > Load Transaction > From Text:



Then in the box that appears, paste the raw transaction you copied from the first wallet and click "Load Transaction". It should open a window like this:



Click "Sign" to sign the transaction as you normally do, then click Broadcast to send it.

That's how you spend funds from a multisig wallet in Electrum.

NotATether, in fact I don't have the public btc key of the market, all I have from the market is the encrypted transaction (and signed by the market apparently) that he asks me to sign in turn and then I will get a new signed transaction (by the market and by me) that I must broadcast. The market tells me to do this on Coinb.in, by following the procedure below:

1- I go to Coinb.in, menu "verify" (at the top); there I paste the encrypted transaction that they provided to me, then I click on "submit" ... There the decrypted transaction appears with the input address, the output address (one of my Electrum reception addresses), the amount of the transaction, 1 script for each input/output ...

2- I go to the "sign" menu: the market tells me "Paste here the transaction and your private key which belongs to the public key you used. Click on" Submit "to sign the transaction with your key";
I therefore paste the transaction then I will look for my private key on Electrum by right clicking on the reception address which I use for this transaction, I have to enter my password and there I obtain the private key which belongs to the public key used. I copy this private key, paste it on coinb.in to the dedicated location then I click submit and that's where it crashes, I get the following error message: "There is a problem with one or more of your inputs, please check and try again ". As if my private key wasn't good, yet I'm sure I'm taking the private key corresponding to the receiving address I'm using for this transaction!
On the other hand, if I enter my master public key instead of my private key, then the transaction is signed (it's not normal ?!).
And once the transaction is signed (with my master public key and not my private key as requested), I have to copy the new script of the signed transaction and paste it in the "broadcast" menu box, and obviously there it doesn't work not.

6  Bitcoin / Electrum / Re: Electrum as a savings account on: November 15, 2020, 12:17:35 AM
thank you all for your good advices, I can see it more clearly, even if I did not succeed in the manipulations proposed by BitMaxz, I will continue to learn (but thank you anyway  Wink)
7  Bitcoin / Electrum / Re: Electrum as a savings account on: November 13, 2020, 10:13:16 PM

~snip~

However, I intend to keep Electrum which will serve as my wallet to make transactions.


If you still want to use Electrum without hardware wallets you can still use it as a cold storage/offline wallet and I suggest you learn how to make an offline/raw unsign transaction and sign them with your Electrum cold storage.
Use this tool to make unsign transaction https://coinb.in/#newTransaction

Follow the guide from the link below but don't follow the whole guide stop on step 5 after you copy the unsigned raw hash and transfer them to your offline device and import it to your Electrum cold storage to make a signed transaction.
- https://bitcointalk.org/index.php?topic=1963263.msg19590145#msg19590145

After signing transfer the signed transaction hash again to online device and broadcast them to any broadcasting site like https://blockchair.com/broadcast or go back to coinb.in and use this https://coinb.in/#broadcast

Thanks for your help BitMaxz but I did not understand the procedure you want to teach me through this message?

So I looked, I tried to follow the tutorial, but besides the fact of not understanding the purpose of the procedure, I did not understand which addresses to enter in the boxes ... The amount that I must put , fees ... No, really, I'm sorry, I didn't understand anything about this procedure ...
8  Bitcoin / Electrum / Re: Electrum as a savings account on: November 13, 2020, 04:26:36 PM
Thanks Lucius Wink

Yes, regarding the fees relating to Coinbase, I need to review their FAQ, at least that will be clear.

Regarding the transcation costs, I was aware of the mining costs. On the other hand, I will have to learn about the concept of the number of input and output addresses that I can have, but also on the concept of Legacy or Segwit address (Segwit seems to be often recommended for beginners?) , 2 concepts that I do not yet master. I'm going to look at this on different forums, even if very slowly through our exchanges here I see it more and more clearly (the problem that I have with my Electrum wallet is a plus in my learning  Grin )
9  Bitcoin / Electrum / Re: erreur lors de transmission de transaction / error during transaction transmissi on: November 13, 2020, 03:41:12 PM
^^
You have to load the raw transaction and sign it from the multisig wallet not your standard wallet on which you are going to receive the funds (hope you still have access to it).

When you load the raw transaction, make sure you copy-paste the text or import the text file sent to you by the merchant not the signed one from coinb.in nor by double clicking the local transaction from the history tab.

When I load the raw transaction I always take the one provided by the market (copy paste the plain text), but the result is the same, I don't have access to the "sign" button, I can just "broadcast".

So maybe I should delete the local transaction from my wallet, the one that does not want to be broadcast, in order to have a wallet free of any blocked transaction?

On the other hand, I don't understand when you say: "You have to load the raw transaction and sign it from the multisig wallet and not from your standard wallet on which you will receive the funds (I hope you still have access to it). " ?

Sign it from the multisig wallet? which multisig wallet? personally I only have a standard wallet ...
The market giving me the transaction just gives me the encrypted text of the transaction and says "Sign this transaction with your private Bitcoin key and broadcast it to receive your funds."
10  Bitcoin / Electrum / Re: Electrum as a savings account on: November 13, 2020, 03:30:18 PM
Thank you for this additional information Coin_trader !

As for the exchange, I already have an account on Coinbase, I'm glad you referred to it as a fairly secure exchange  Grin

Besides, how is it going in terms of fees? Let's say I want to buy bitcoins for € 5,000... What will the fees be? (I proceed by bank transfer).
Then I transfer this amount to my hardware wallet, and from time to time, if I am lucky that the btc rate goes up, I think of withdrawing the gains (always leave the same base on my wallet, around € 5,000), transfer these (potential!)  btc gains to Coinbase to sell them and cash the € into my bank account ... I will find my way around the fees?
11  Bitcoin / Electrum / Re: Electrum as a savings account on: November 13, 2020, 02:55:47 PM
I understand that Electrum can be quite secure, this is also what I have read on other forums. As you say Lucius, you have to know how to secure your computer, like your phone ... I think mine are healthy but not being an expert in computer protection (and some procedures, it's Chinese for me!), I think it is better for me to move towards a hardware wallet to sleep a few thousand euros ...

However, I intend to keep Electrum which will serve as my wallet to make transactions.
12  Bitcoin / Electrum / Re: erreur lors de transmission de transaction / error during transaction transmissi on: November 13, 2020, 02:47:45 PM
But since you already have the transaction text, you should just need to click File > Load Transaction > From Text (or something like that, I can’t go to my Electrum to check). Paste the transaction in that text box.
the Load transacation option is under the Tools menu not File menu.
.
Try to load the transaction again as explained by NotATether. If the merchant signed the transaction, you should see "Partially signed" next to Status.
However, from the screenshot you posted, it looks like there are two other problems:
    The first, is the transaction fee. Electrum is unable to read the transaction fee which is probably why it returned that error.
    The second, is that the receiving address belongs to the multisig wallet (highlighted in green) meaning even if you succeed to broadcast the transaction, you will not be able to spend the coins without the merchant signature.


Thank you for your answer khaled0111.

When I reload the transaction, next to "status", it's always written "local" (as you can see on my screenshot).

As for the address highlighted in green, I do not understand since it is indeed one of my receiving addresses, the one I had provided to the market. In addition my Electrum wallet is a standard wallet, not a multisig wallet.

Regarding transaction fees, it also caught my attention, the fact that they are "unknown". However, when I look in the window "tools -> preferences -> TRANSACTIONS", the box "use the replacement of fees" is checked (as are checked "use the addresses of currency" and "activate the rounding of the output value "). But it is true that it seems abnormal to me that we cannot know the fees on this transaction ...
13  Bitcoin / Electrum / Re: erreur lors de transmission de transaction / error during transaction transmissi on: November 13, 2020, 02:32:22 PM
Thank you for your answer NotATether  Wink

So I tried to do the procedure you told me, reload the transaction, but when I get to the last window (the signature and broadcast window), I can only broadcast, the "sign" button remains turn off.

So I ask myself a question: isn't it because I have already signed this transaction on another site, in this case coinb.in?
Indeed, as I did not know how to broadcast the transaction offered to me by the market, I looked at the market's online help, which indicated to do so on the coinb.in site.
And on this site, apparently I was able to sign the transaction (oddly with my master public key), at least the signature was accepted, but I could not broadcast the transaction (error message: "mandatory-script -verify-flag-failed (Operation not valid with the current stack size) (code 16) ")

Or maybe it has nothing to do with it? I hope I didn't crash the transaction by trying on coinb.in and still be able to do it on Electrum... Undecided
14  Bitcoin / Electrum / Re: Electrum as a savings account on: November 13, 2020, 10:31:00 AM
I just took some information on the internet about hardware wallets and indeed it seems the most appropriate solution! Thanks guys!  Wink

On the other hand, in your opinion is it a common practice to keep several thousand euros in bitcoins on a hardware wallet and to sell them when the situation is right?

When I see what a "livret A" report in France (0.25% per year I believe?), I tell myself that my savings would perhaps be better placed in bitcoin ...
15  Bitcoin / Electrum / Re: erreur lors de transmission de transaction / error during transaction transmissi on: November 13, 2020, 10:11:48 AM
Whenever you get a "Operation not valid with the current stack size" error it means the transaction you are trying to broadcast is not valid. How did you construct the transaction? You mentioned that it uses multi-sig, by how many signatures are required? (What kind of M-by-N multisig is it?)

In the case of multisig, people have reported that not having enough signatures causes this error. https://www.reddit.com/r/BitcoinBeginners/comments/c45dja/need_some_help_for_multisig/

This is a "2 of 3" multisig ...

But suddenly, I do not understand: the market that gave me this encrypted transaction signed the transaction (at least it is supposed to have done so since it was he who sequestered my payment and offered me to return my funds), and once I import the transaction into my wallet, I also signed the transaction (at least I hope I did it well ... I explained how I process to sign, a few posts above).

So we would have 2 out of 3 signatures ...

I also think that it blocks for a problem of signature, but how to be sure?
16  Bitcoin / Electrum / Electrum as a savings account on: November 13, 2020, 10:04:45 AM
Hello all,

I would like to know if it is safe to use Electrum as a savings account? Is there a risk of having their bitcoins stolen?

For example, if I deposit several thousand euros on my wallet, let them sleep for several weeks or months, taking advantage of the fluctuation of bitcoin (hoping that it is up! If it is down it's also the game!), then let's admit that if luck was on my side, I want to withdraw these bitcoins to sell them on an exchange ...

What is your opinion on this practice?
17  Bitcoin / Electrum / Re: erreur lors de transmission de transaction / error during transaction transmissi on: November 13, 2020, 09:53:40 AM
I specify that I tried to connect to almost 30 different servers, in the end I always have the same error message ...
18  Bitcoin / Electrum / Re: erreur lors de transmission de transaction / error during transaction transmissi on: November 12, 2020, 11:37:15 PM
Thank you Jackg  Wink

Here is a screenshot of the situation:



I am using version 4.0.4 of Electrum;

To sign the message, I went to the "addresses" tab, I right-clicked on the receiving address that I had communicated for this transaction, then "sign / verify the message", and in the dialog box then opened, I pasted the encrypted transaction into the "message" dialog box (my receiving address is displayed in the "address" box), then I click on "sign".
There I have to enter my password, I validate and the "sign" button remains clickable. I then clicked on "verify", a pop'up indicated to me that the transaction has been verified.

Therefore the dialog box presenting the transaction is displayed (see screenshot) and when I click on "broadcast", I have the famous error message ...
19  Bitcoin / Electrum / erreur lors de transmission de transaction / error during transaction transmissi on: November 12, 2020, 10:00:52 PM
(English version at the bottom)

Bonjour,

Je suis nouveau avec Electrum et je ne maîtrise pas bien encore l'outil (tout comme gardez à l'esprit que je ne suis pas un pro de l'informatique, donc ne soyez pas trop "technique" dans votre réponse  Wink )

Je suis sur Electrum 4.0.4, je dois recevoir des fonds d'un marché suite à une transaction annulée;
Le marché m'a communiqué une transaction codée que je dois signer puis diffuser pour récupérer mes fonds.

J'ai réussi à importer la transaction sur mon wallet, j'ai pu la signer, et lorsque je clic sur "diffuser", j'ai le message d'erreur suivant:

"Le serveur a retourné une erreur lors de la transmission de la transaction.
Essayez de vous connecter à un serveur différent ou mettez à jour Electrum.
Operation not valid with the current stack size"

Ceci dit, ma transaction figure bien dans la fenêtre "historique" de mon wallet (avec la mention "local").
De la même manière, lorsque je vais sur l'onglet "adresses" de mon wallet, sur l'adresse spécifiée pour la réception, je peux voir la transaction s'afficher en bout de ligne (dans la colonne "solde").
Cependant, tout en bas de la fenêtre Electrum, là où s'affiche le solde de mon compte, je vois toujours le montant de mon compte non crédité de cette transaction en attente, et à côté s'affiche le solde de cette transaction avec la mention "unconfirmed"

En ayant cherché un peu sur ce forum, j'ai lu sur un topic qu'il se pourrait qu'il manque une signature, car l'adresse Inpout est une adresse multisig...

A vrai dire je n'en sais rien... Que puis-je faire?

Si vous souhaitez je peux poster une capture-écran de la transaction... En moins que les infos qui y figurent (ID de transaction - adresse entrée - adresse sortie) ne soient confidentielles?
Merci pour votre aide  Wink

-------------------------

Hello,

I am new to Electrum and I am not familiar with the tool yet (just keep in mind that I am not a computer pro, so do not be too "technical" in your answer;))

I am on Electrum 4.0.4, I have to receive funds from a market following a canceled transaction;
The market communicated to me a coded transaction that I must sign and then broadcast to recover my funds.

I managed to import the transaction on my wallet, I was able to sign it, and when I click on "broadcast", I got the following error message:

"The server returned an error while transmitting the transaction.
Try to connect to a different server or update Electrum.
Operation not valid with the current stack size "

That said, my transaction does appear in the "history" window of my wallet (with the mention "local").
Likewise, when I go to the "addresses" tab of my wallet, to the address specified for receipt, I can see the transaction displayed at the end of the line (in the "balance" column).
However, at the very bottom of the Electrum window, where my account balance is displayed, I still see my uncredited account amount from this pending transaction, and next to it is the balance for this transaction with the mention "unconfirmed"

Having searched a bit on this forum, I read on a topic that it could be that a signature is missing, because the Inpout address is a multisig address ...

To tell the truth I don't know ... What can I do?

If you wish I can post a screenshot of the transaction ... Unless the information that appears there (transaction ID - entered address - exit address) is confidential?
Thanks for your help  Wink
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!