Author

Topic: Can't broadcast signed transaction (Read 1011 times)

copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
August 04, 2017, 01:09:19 PM
#14
the coins are stored on three change addresses.

Do any of those addresses have a red letter U next to them when you check them on blockchain.info? The top address in the example below shows a red letter U to indicate that its inputs are unconfirmed. If one or more of your addresses shows a red letter U then the problem might be due to an unconfirmed input, otherwise the problem's caused by something else.



Actually, you can still spend from unconfirmed transactions in electrum from just sending the coins regularly.

Hello,


I've started a transaction with Electrum 2.8.2 on Windows. Next I've signed it with Electrum 2.8.2 on Linux, cold storage,  and it looks like the signing processes is successful.  As soon as I try to broadcast it all I am getting this error:

"The transaction was rejected by network rules. (16: mandatory-script-verify-flag-failed (Script failed an OP_EQUALVERIFY operation))"

I've connected the PC to Internet and tried one more time to send the coins directly from that wallet. All I get is: "The transaction was rejected by network rules. (16: mandatory-script-verify-flag-failed (Script failed an OP_EQUALVERIFY operation))"

As I observed, the coins are stored on three change addresses. One of them is red. Gap was increased. I've tried to add $1 to each of those addresses - the balance is updating.

Next I've tried to sweep the private keys and the only thing I get is "No inputs found (Note that inputs need to be confirmed)"

Is it there any chance to recover those funds?
Thank you in advance. Any advice would be much appreciated.

EDIT: I've noticed a similar thread on reddit. So I am not the only one with the same problem. Hope to get it fixed.

Can you post your addresses here somewhere?
I think there is a limit of 144 confirmations (about a day of blocks) in order to all of the inputs to be confirmed to an amount that the network will accept (although this might have changed).
Do you have the input and output scripts - can I try broadcasting the same transaction the latest version and see if I get the same error?
sr. member
Activity: 616
Merit: 252
August 04, 2017, 08:47:30 AM
#13
I am getting the exact same error. Anyone who can enlighten me on the problem/solution.

Creating transaction on online-computer, and trying to sign it on offline-computer, and then trying to broadcast it on online-computer
legendary
Activity: 2772
Merit: 2846
April 03, 2017, 01:08:54 PM
#12
idk how this could help. Basically what I understood is that for some reasons a bitcoin address from my wallet doesn't get it's correct private key. Or vice-versa. Correct me if I am wrong please. 

I don't know what problem or bug in your electrum wallet is causing problems, but if you try importing your electrum seed words into a mycelium wallet on your phone your Bitcoins should show up and it should be possible to send them anywhere you want. Whatever the problem is with your electrum wallet shouldn't affect a mycelium wallet.
newbie
Activity: 12
Merit: 0
April 03, 2017, 01:03:36 PM
#11
idk how this could help. Basically what I understood is that for some reasons a bitcoin address from my wallet doesn't get it's correct private key. Or vice-versa. Correct me if I am wrong please. 
legendary
Activity: 2772
Merit: 2846
April 03, 2017, 09:42:24 AM
#10
If you get desperate you could try importing your electrum seed into a mycelium wallet on your phone. A few bitcointalk members including myself successfully experimented with importing a mycelium seed into electrum, so I imagine it's probably possible to import an electrum seed into mycelium. This post and the thread it's in detail our experiments.

https://bitcointalksearch.org/topic/m.18297658
newbie
Activity: 12
Merit: 0
April 03, 2017, 09:13:03 AM
#9
I'll quote this post from an other thread cause is describing the best the problem. I've updated electrum from git to 2.8.3 and restoring it from seed didn't help either. It restored only the spent coins and the balance isn't the correct one.

Well, frankly I don't really know how to go through all the steps @crazylol posted bellow.

Hi All!

We have a strange problem with electrum-wallet.

Facts: We have 10 electrum-daemons 2.7.18, which run under different users on one server. JSON-requests to this daemons are balanced by nginx. All works fine about the month (without restart), but recently we wanted to update our wallets to 2.8.2. After command electrum daemon stop balance of 5 wallets out of 10 became 0. Then, i started electrum daemons again, and in 5 of 10 wallets balance became much less than should be.
Ok, I tried to restore this wallets from seed, but, unfortunately, balance was like after reboot.

Investigation: Fortunally, all addresses, which were used for payment requests were stored in 2 places - in wallet_file and on the filesystem. Grep on payment requests showed more than 700 addresses, which were used for this requests, but electrum listaddresses showed me less than 300 addresses.

Next, I took one random address from 700 and said electrum ismine _thisaddress_, result was false. I manually added this address in wallet_file in tag "addresses":"receiving", and after that result of electrum ismine _thisaddress_ became true.

Ok, next I tried to send BTC from this address and received an error: 'code': -26, 'message': '16: mandatory-script-verify-flag-failed (Script failed an OP_EQUALVERIFY operation) - this error means "error in sign of transaction". Sending BTC from addresses, restored from seed, was fine.

Next, I tried to export private key of _thisaddress_. It was ok, but, when I tried to import it to new wallet, I saw, that address of this private key did not match with _thisaddress_. I think, that this situation and error: 'code': -26 have one reason.

Next, I exported all 700+ addresses from payment requests, flushed tag "addresses":"receiving" in wallet_file and manually added all this addresses in this tag. After that, I exported all private keys from this wallet and imported them to new wallet. The balance of new wallet became correct and I could send BTC from this addresses.

Question: Why did this happen? Smiley
legendary
Activity: 1736
Merit: 1023
April 03, 2017, 08:26:45 AM
#8
Generally, installing an older version won't help. I'd recommend that you try installing the latest available version and then creating a NEW wallet and restoring from your old seed. This should recreate the wallet and I believe you would then be able to spend the coins without issues. Try it and let us know if you still see an issue.
newbie
Activity: 12
Merit: 0
April 03, 2017, 01:23:32 AM
#7
Importing private keys for that address simply doesn't work. I am able to import that key, but the balance is null. The problem is described in the thread you've posted above. I will try with an older version. Thanks.
legendary
Activity: 3472
Merit: 10611
April 02, 2017, 11:46:39 PM
#6
well you can always install an older version. i don't see any change to wallet file or seed in the 2.8.x versions. https://github.com/spesmilo/electrum/blob/master/RELEASE-NOTES#L1-L34 so there shouldn't be any problems there.
also you can always right click on the addresses from your address tab (press Ctrl+a if you don't see it) and choose private key, and as you may know private key is the only thing you need to "recover your coins".

in any case whatever decision you make, make sure to backup your seed and wallet file first and then do the changes.
newbie
Activity: 12
Merit: 0
April 02, 2017, 04:47:31 AM
#5
My silly question is how do I recover my coins?
newbie
Activity: 12
Merit: 0
April 01, 2017, 04:16:49 AM
#4
the coins are stored on three change addresses.

Do any of those addresses have a red letter U next to them when you check them on blockchain.info? The top address in the example below shows a red letter U to indicate that its inputs are unconfirmed. If one or more of your addresses shows a red letter U then the problem might be due to an unconfirmed input, otherwise the problem's caused by something else.

https://s8.postimg.org/hc4fgkr6d/image.png

Nope, there is no U letter near any of those addresses.

It doesn't seem to be a problem with his outputs and their confirmation. I have found a similar problem on the repository here: https://github.com/spesmilo/electrum/issues/2242 and the problem seems to be coming from the signing process and the bug should have been fixed in the latest version.

edit: similar https://bitcointalksearch.org/topic/electrum-not-restoring-addresses-from-seed-1849541

Yeap, I think I have exact the same problem. Thanks for posting.
legendary
Activity: 3472
Merit: 10611
March 31, 2017, 11:54:15 PM
#3
It doesn't seem to be a problem with his outputs and their confirmation. I have found a similar problem on the repository here: https://github.com/spesmilo/electrum/issues/2242 and the problem seems to be coming from the signing process and the bug should have been fixed in the latest version.

edit: similar https://bitcointalksearch.org/topic/electrum-not-restoring-addresses-from-seed-1849541
legendary
Activity: 2772
Merit: 2846
March 31, 2017, 03:43:04 PM
#2
the coins are stored on three change addresses.

Do any of those addresses have a red letter U next to them when you check them on blockchain.info? The top address in the example below shows a red letter U to indicate that its inputs are unconfirmed. If one or more of your addresses shows a red letter U then the problem might be due to an unconfirmed input, otherwise the problem's caused by something else.

newbie
Activity: 12
Merit: 0
March 31, 2017, 02:49:07 PM
#1
Hello,


I've started a transaction with Electrum 2.8.2 on Windows. Next I've signed it with Electrum 2.8.2 on Linux, cold storage,  and it looks like the signing processes is successful.  As soon as I try to broadcast it all I am getting this error:

"The transaction was rejected by network rules. (16: mandatory-script-verify-flag-failed (Script failed an OP_EQUALVERIFY operation))"

I've connected the PC to Internet and tried one more time to send the coins directly from that wallet. All I get is: "The transaction was rejected by network rules. (16: mandatory-script-verify-flag-failed (Script failed an OP_EQUALVERIFY operation))"

As I observed, the coins are stored on three change addresses. One of them is red. Gap was increased. I've tried to add $1 to each of those addresses - the balance is updating.

Next I've tried to sweep the private keys and the only thing I get is "No inputs found (Note that inputs need to be confirmed)"

Is it there any chance to recover those funds?
Thank you in advance. Any advice would be much appreciated.

EDIT: I've noticed a similar thread on reddit. So I am not the only one with the same problem. Hope to get it fixed.
Jump to: