Author

Topic: bitcoin core imp private key problems (Read 199 times)

legendary
Activity: 1624
Merit: 2481
August 20, 2019, 11:36:42 AM
#8
What exactly are you trying to do, and for what reason ?

Can you explain what you previously did and in which situation you currently are ?
Because, as nc50lc already mentioned, private keys are not deleted when being exported. Why do you need to import it again into the same wallet ?

If you have an issue, feel free to describe it as precisely as you can. This makes it much easier for us to identify the cause and to solve it.
legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
August 18, 2019, 10:08:03 PM
#7
can I import private keys to a bitcoin core wallet from which once I already exported
The question is quite vague, but this is what I get:
You're trying to re-import a private key to the same Bitcoin Core wallet where it was exported.

If that's the case, it wont work (nothing will happen) since that private key is still in that wallet.
Exporting a prv key won't delete the private key from your wallet.

If not, just carefully follow their guides (above replies).
staff
Activity: 3458
Merit: 6793
Just writing some code
August 18, 2019, 07:53:30 PM
#6
OP are you trying to import segwit address? you need to use addwitnessaddress
after you've done importprivkey, do addwitnessaddress on the imported legacy address
try it and see if it does the job and shows the segwit address you want to import
note: there was a discussion about issue on using addwitnessaddress, but I can't remember what it was
addwitnessaddress is no longer an available RPC. Segwit addresses for a private key will automatically be tracked.
hero member
Activity: 1232
Merit: 738
Mixing reinvented for your privacy | chipmixer.com
August 18, 2019, 06:28:07 PM
#5
OP are you trying to import segwit address? you need to use addwitnessaddress
after you've done importprivkey, do addwitnessaddress on the imported legacy address
try it and see if it does the job and shows the segwit address you want to import
note: there was a discussion about issue on using addwitnessaddress, but I can't remember what it was
legendary
Activity: 3374
Merit: 3095
Playbet.io - Crypto Casino and Sportsbook
August 18, 2019, 03:48:02 PM
#4
I already put the importprivkey myprivatekey and it doesnt work


if once months ago I importes my provate key is it cointinue be the same private key?
What did you do exactly?

If your bitcoin core wallet have walletpassphrase/password you need to enter this command line below

Code:
walletpassphrase "YourLongPassphrase" 600

Sample:

Code:
walletpassphrase mypassword123 600

After you do this import your private key using this command line below.

Code:
importprivkey "YourPrivateKey" "mylabel"

Sample:

Code:
importprivkey 5HriQ9XMNhb5mr8Pu19FpQCTMuBYjSF6KG4z3kidaUXiZiEAoL1 Mynewwallet


Now you should see the bitcoin address under receiving addresses.
newbie
Activity: 2
Merit: 0
August 18, 2019, 02:23:20 PM
#3
I already put the importprivkey myprivatekey and it doesnt work


if once months ago I importes my provate key is it cointinue be the same private key?
copper member
Activity: 2142
Merit: 1305
Limited in number. Limitless in potential.
August 18, 2019, 02:08:30 PM
#2
Yes, It will work apparently. You can visit this thread on stackexchange - How do I import a private key into Bitcoin-Core? not unless if the new version 0.18.1 does not able to do that which I think is not a problem. Tho someone correct me if I'm wrong.
newbie
Activity: 2
Merit: 0
August 18, 2019, 01:59:23 PM
#1
can I import private keys to a bitcoin core wallet from which once I already exported
Jump to: