Bitcoin Forum
November 15, 2024, 08:42:24 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: "This ECKey does not have the private key necessary for signing"  (Read 3686 times)
jonas.schnelli (OP)
Member
**
Offline Offline

Activity: 66
Merit: 16

bitcoin core contributor


View Profile WWW
October 16, 2013, 09:00:42 AM
 #1

while creating and completing a sendRequest with wallet.completeTx(pendingSendRequest), i encounter the error

"This ECKey does not have the private key necessary for signing"

When i try to spend less funds, the exception won't be thrown (i have to ECKey in my wallet).

What exactly does that mean?
Was there somehow a wallet corruption?
I did encrypt and decrypt my wallet (testing).


Mike Hearn
Moderator
Legendary
*
Offline Offline

Activity: 1526
Merit: 1134


View Profile
October 16, 2013, 09:09:36 AM
 #2

If this is with master, there might have been a regression w.r.t. encrypted wallets. I think someone else was complaining about this recently. I haven't noticed any issues myself, but perhaps the decryption process broke or something. It sounds like you have a mix of keys in your wallet, some of which have the private part and others which don't.

If you could debug it, that'd be helpful. I don't have time this week.
jonas.schnelli (OP)
Member
**
Offline Offline

Activity: 66
Merit: 16

bitcoin core contributor


View Profile WWW
October 16, 2013, 10:28:36 AM
 #3

Okay. Thanks.

I try to make this somehow reproducable and then try to debug it.
ganabb
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


View Profile
February 28, 2014, 07:09:07 AM
 #4

Remember that bitcoinj is a low level library and gets used by everyone who can and should learn enough about Openpgp to use it there's a reason it's the standard industry.

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!