Bitcoin Forum
November 09, 2024, 04:45:37 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What happens if you copied private key and try to use it again?  (Read 285 times)
contactdevajit (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
August 16, 2017, 02:19:23 PM
 #1

I am very new to bitcoins. I

 have one question. Suppose some one copied their private key and saved it in their harddisk.

Next they will do the transaction. Now since you already copied the private keys can you use it again?

How bitcoin prevent this? 

Thanks in advance for clearing my doubt.
Wayan_Pedjeng
Sr. Member
****
Offline Offline

Activity: 913
Merit: 252


View Profile
August 16, 2017, 02:33:39 PM
 #2

You can use the private key for the same wallet. The private key does not change with every transaction. It is permanent and stable. If you want a new private key, then you need to create a new Bitcoin wallet.
contactdevajit (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
August 16, 2017, 03:05:07 PM
 #3

Ok got it. It was my mistake. I thought coins are stored in your computer with every bitcoin as its own address. Now I understand it perfectly. private key is only for wallet address. Not for bitcoin
odolvlobo
Legendary
*
Offline Offline

Activity: 4494
Merit: 3403



View Profile
August 16, 2017, 04:21:30 PM
 #4

You can use the private key for the same wallet. The private key does not change with every transaction. It is permanent and stable. If you want a new private key, then you need to create a new Bitcoin wallet.

Your terminology is wrong.

A "wallet" is a container that holds one or more "private keys" (and the associated "addresses"). A "wallet" is not a "private key" or an "address".

If you want a new address, the wallet will create one for you by generating a new private key. Most wallets do that automatically every time you use an address.

Typically, a wallet has a unique "seed" or "recovery phrase", and if you want a new wallet, you get a new seed.

People write things like "send bitcoins to a wallet" or "a wallet has X bitcoins" for convenience when they actually mean "send bitcoins to an address in a wallet" or "a wallet has addresses with a total of X bitcoins"

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
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!