Bitcoin Forum
April 25, 2024, 09:05:37 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: error 16: mandatory-script-verify-flag-failed  (Read 2165 times)
matthieu (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 1


View Profile
April 30, 2016, 05:48:28 PM
Merited by ABCbits (1)
 #1

Hi,

I get this error when trying to sent btc from electrum (v 1.9.8 )
Code:
The transaction was rejected by network rules : error 16: mandatory-script-verify-flag-failed (non canonical DER signature)

And I get the same error if I try to sweep the key to a new wallet
The key is from a block I mined in 2011, could it be related ?

Thanks
M.
1714079137
Hero Member
*
Offline Offline

Posts: 1714079137

View Profile Personal Message (Offline)

Ignore
1714079137
Reply with quote  #2

1714079137
Report to moderator
1714079137
Hero Member
*
Offline Offline

Posts: 1714079137

View Profile Personal Message (Offline)

Ignore
1714079137
Reply with quote  #2

1714079137
Report to moderator
Be very wary of relying on JavaScript for security on crypto sites. The site can change the JavaScript at any time unless you take unusual precautions, and browsers are not generally known for their airtight security.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714079137
Hero Member
*
Offline Offline

Posts: 1714079137

View Profile Personal Message (Offline)

Ignore
1714079137
Reply with quote  #2

1714079137
Report to moderator
matt4054
Legendary
*
Offline Offline

Activity: 1946
Merit: 1035



View Profile
April 30, 2016, 05:54:05 PM
Merited by ABCbits (1)
 #2

The key is from a block I mined in 2011, could it be related ?

Yes. I'm afraid that you might have to craft a custom transaction manually, but I'm not proficient enough with the Bitcoin protocol to tell you specifically how to do it. Soft forks have been rolled out since 5 years ago.

Have you tried importing the key in Bitcoin Core instead?
matthieu (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 1


View Profile
April 30, 2016, 06:00:27 PM
 #3

Have you tried importing the key in Bitcoin Core instead?

Thanks for your answer, I'll try with bitcoin core
twister
Hero Member
*****
Offline Offline

Activity: 672
Merit: 501



View Profile WWW
May 01, 2016, 03:02:25 PM
 #4

Download and install the latest version of the electrum and try to make the same transaction again, it should work. Don't have to create a new wallet, the old wallet will be selected by default which I think already contains the key with the coins that you imported.

 

██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
 
Get Free Bitcoin Now!
  ¦¯¦¦¯¦    ¦¯¦¦¯¦    ¦¯¦¦¯¦    ¦¯¦¦¯¦   
0.8%-1% House Edge
[/
matthieu (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 1


View Profile
May 01, 2016, 08:12:10 PM
 #5

I had try already with electrum 2.5.4
And I just tried with 2.6.4 and still the same error

I'll try with bitcoin-core as soon as I'm finished downloading the blockchain but I'm starting to worry Sad
matt4054
Legendary
*
Offline Offline

Activity: 1946
Merit: 1035



View Profile
May 05, 2016, 11:36:54 AM
 #6

I'll try with bitcoin-core as soon as I'm finished downloading the blockchain but I'm starting to worry Sad

Are you finished with downloading the blockchain?

Bitcoin Core allows you to do almost anything including broadcasting raw transactions. As long as you have the private keys that belong to the public keys (addresses) that received the money, you should be safe.
matthieu (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 1


View Profile
May 09, 2016, 09:56:01 AM
 #7

I just finished downloading the blockchain today and the transaction worked from bitcoin core, I managed to send my coins to a new electrum wallet Smiley
Thanks for your messages !
matt4054
Legendary
*
Offline Offline

Activity: 1946
Merit: 1035



View Profile
May 10, 2016, 04:59:32 PM
 #8

Glad to hear that, it is a good example to show why independence from client-specific implementations using private keys export/import is a feature that should be preserved no matter what Smiley
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!