Bitcoin Forum
June 20, 2024, 12:15:15 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: private key - does it change?  (Read 597 times)
nuttynoah (OP)
Full Member
***
Offline Offline

Activity: 229
Merit: 100


View Profile
February 24, 2014, 10:58:42 PM
 #1

Maybe this question has been asked 100 times, but it's a quickie. Smiley

I bought some coins, printed my public and private keys as a paper wallet and backed up my dat file.
I then deleted the qt file and all pertaining files as I wasn't going to use them for a while.
So yesterday I bought some new coins, downloaded a new client qt and copied my old wallet.dat file into the right place and hey presto all my old coins appeared once synced together with the new coins (which I sent to the same public address as before).

So here's the thing, as I now want to delete the client qt file and everything else off my computer and I will backup the wallet as before.  But do I also need to print out my private key again or does this not change?  I'm guessing it doesn't change. Much like the public key but I thought I'd better check, just in case. Embarrassed
roslinpl
Legendary
*
Offline Offline

Activity: 2212
Merit: 1199


View Profile WWW
February 24, 2014, 11:42:21 PM
 #2

Maybe this question has been asked 100 times, but it's a quickie. Smiley

I bought some coins, printed my public and private keys as a paper wallet and backed up my dat file.
I then deleted the qt file and all pertaining files as I wasn't going to use them for a while.
So yesterday I bought some new coins, downloaded a new client qt and copied my old wallet.dat file into the right place and hey presto all my old coins appeared once synced together with the new coins (which I sent to the same public address as before).

So here's the thing, as I now want to delete the client qt file and everything else off my computer and I will backup the wallet as before.  But do I also need to print out my private key again or does this not change?  I'm guessing it doesn't change. Much like the public key but I thought I'd better check, just in case. Embarrassed


Old private keys will not change.
New one must be added Wink

Simple.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3430
Merit: 4669



View Profile
February 24, 2014, 11:58:20 PM
 #3

Every bitcoin address has its own private key.  That private key is mathematically connected to the bitcoin address.  Therefore, for a given bitcoin address, the private key doesn't ever change.

If you generate a new bitcoin address, the new address will have its own private key, entirely separate from the prvious private key of the previous address and not realated in any way.  Therefore, if you use a new address, you will have a new private key.
BookLover
Hero Member
*****
Offline Offline

Activity: 533
Merit: 500


^Bitcoin Library of Congress.


View Profile
February 25, 2014, 12:34:47 AM
Last edit: February 27, 2014, 02:54:52 AM by BookLover
 #4

Just a note to prevent a possible future crisis: When bitcoin-qt sends coins it creates a new private key (https://en.bitcoin.it/wiki/Change), so you need to either send all of your coins back to the original address or print out the new private key.

roslinpl
Legendary
*
Offline Offline

Activity: 2212
Merit: 1199


View Profile WWW
February 25, 2014, 12:37:10 AM
 #5

Just a note to prevent a possible future crisis: When qt sends coins it create a new private key (https://en.bitcoin.it/wiki/Change), so you need to either send all of your coins back to the original address or print out the new private key.

thanks man! Not it is clear like a water! Smiley

Your full of information reply make it easy to understand!

Cheers!
bittyweb
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
February 25, 2014, 07:55:04 AM
 #6

The private key will not change never. it is linked to the address permanently.

So every address, has its own private key.
nuttynoah (OP)
Full Member
***
Offline Offline

Activity: 229
Merit: 100


View Profile
February 25, 2014, 02:57:12 PM
 #7

Many thanks everyone for the advice.
nuttynoah (OP)
Full Member
***
Offline Offline

Activity: 229
Merit: 100


View Profile
February 25, 2014, 10:08:29 PM
 #8

So something seems wrong.
I just printed out my private key using the console and dumpprivkey and it is completely different to the one I had before.
This is Quarks if that makes a difference.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3430
Merit: 4669



View Profile
February 25, 2014, 10:37:25 PM
 #9

So something seems wrong.
I just printed out my private key using the console and dumpprivkey and it is completely different to the one I had before.
This is Quarks if that makes a difference.

I don't know anything about Quarks.  Unlikely, but perhaps Quarks uses a completely different form of proof of authorization to spend?  More likely you either made a mistake before, or you made a mistake now.
nuttynoah (OP)
Full Member
***
Offline Offline

Activity: 229
Merit: 100


View Profile
February 25, 2014, 10:56:39 PM
 #10

So something seems wrong.
I just printed out my private key using the console and dumpprivkey and it is completely different to the one I had before.
This is Quarks if that makes a difference.

I don't know anything about Quarks.  Unlikely, but perhaps Quarks uses a completely different form of proof of authorization to spend?  More likely you either made a mistake before, or you made a mistake now.

I just tried 3 times and still got the same private key so maybe I made a mistake the first time round a few months ago.  Wouldn't be my first operator error Embarrassed
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!