Bitcoin Forum
May 09, 2024, 12:14:51 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Change address  (Read 561 times)
findftp (OP)
Legendary
*
Offline Offline

Activity: 1022
Merit: 1006

Delusional crypto obsessionist


View Profile
July 05, 2016, 09:04:17 PM
 #1

So I did
importprivkey "private_key_from_weak_brainwallet"
in my bitcoin core console.

I know it's a weak key but it was for testing purpose only (1mBTC)
Now, is it possible that the wallet *ever* use this address again as a change address?
Because I don't want this address being used ever again since it's weak.

I thought I better change my mind and *export* the key, but I there doesn't seem to be an option for it.

So, edit with pywallet? Or just create a new wallet and make a transaction to it? Or just don't worry?
1715213691
Hero Member
*
Offline Offline

Posts: 1715213691

View Profile Personal Message (Offline)

Ignore
1715213691
Reply with quote  #2

1715213691
Report to moderator
1715213691
Hero Member
*
Offline Offline

Posts: 1715213691

View Profile Personal Message (Offline)

Ignore
1715213691
Reply with quote  #2

1715213691
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715213691
Hero Member
*
Offline Offline

Posts: 1715213691

View Profile Personal Message (Offline)

Ignore
1715213691
Reply with quote  #2

1715213691
Report to moderator
1715213691
Hero Member
*
Offline Offline

Posts: 1715213691

View Profile Personal Message (Offline)

Ignore
1715213691
Reply with quote  #2

1715213691
Report to moderator
1715213691
Hero Member
*
Offline Offline

Posts: 1715213691

View Profile Personal Message (Offline)

Ignore
1715213691
Reply with quote  #2

1715213691
Report to moderator
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
July 05, 2016, 09:36:25 PM
 #2

So I did
importprivkey "private_key_from_weak_brainwallet"
in my bitcoin core console.

I know it's a weak key but it was for testing purpose only (1mBTC)
Now, is it possible that the wallet *ever* use this address again as a change address?
Because I don't want this address being used ever again since it's weak.

I thought I better change my mind and *export* the key, but I there doesn't seem to be an option for it.

So, edit with pywallet? Or just create a new wallet and make a transaction to it? Or just don't worry?

If you enable the coin-control features of the wallet, then you would have the opportunity to "accidentally" choose that address for the change output if you choose to specify a change output address.  However, the wallet should not automatically choose that address if you don't specify it.


As a suggestion in case you want to do something like this in the future:

I probably would have created a backup of the wallet before importing the private key, and then used coin-control to spend that specific output sending it to some other address under my control.  Then I could just recover the backup and the imported private key would be gone (since it wasn't there when the backup was created.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6631


Just writing some code


View Profile WWW
July 05, 2016, 09:36:37 PM
 #3

So I did
importprivkey "private_key_from_weak_brainwallet"
in my bitcoin core console.

I know it's a weak key but it was for testing purpose only (1mBTC)
Now, is it possible that the wallet *ever* use this address again as a change address?
Because I don't want this address being used ever again since it's weak.
No. Bitcoin Core will always uses a new address for the change. Even if you request another receiving address but don't use it, that address will never be used for change.

I thought I better change my mind and *export* the key, but I there doesn't seem to be an option for it.

So, edit with pywallet? Or just create a new wallet and make a transaction to it? Or just don't worry?
What do you mean by "export"? If you mean you want to delete the key from the wallet, then no, that is not possible.

findftp (OP)
Legendary
*
Offline Offline

Activity: 1022
Merit: 1006

Delusional crypto obsessionist


View Profile
July 05, 2016, 09:48:01 PM
 #4

Thank you both for the answers.
I just leave the key in the wallet then.

What do you mean by "export"? If you mean you want to delete the key from the wallet, then no, that is not possible.

Yes, I meant delete. But it is not necessary since the address apparently is never going to be used again.
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!