Bitcoin Forum
May 09, 2024, 06:17:08 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: private keys + listaddressgroupings  (Read 906 times)
ArpFlush (OP)
Hero Member
*****
Offline Offline

Activity: 623
Merit: 500


View Profile
June 02, 2015, 11:50:14 AM
 #1

Hi guys,

I have a question about an alternative backup or cold storage method:

Is it correct that the command "listaddressgroupings" lists all bitcoin addresses that have UTXO in the wallet?

When I perform a "dumpprivkey" for each address that's listed after doing "listaddressgroupings", can I use that privkey as a back-up? (e.g. write it down on a note and put it in a safe). And delete without any risk the wallet itself? I suppose yes...

ps: I know I can export a wallet backup too but I'm looking for several backup possibilities.

Thanks  Wink

"Panic Selling is not an Investment Strategy"
1715235428
Hero Member
*
Offline Offline

Posts: 1715235428

View Profile Personal Message (Offline)

Ignore
1715235428
Reply with quote  #2

1715235428
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715235428
Hero Member
*
Offline Offline

Posts: 1715235428

View Profile Personal Message (Offline)

Ignore
1715235428
Reply with quote  #2

1715235428
Report to moderator
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 560
Merit: 506


I prefer Zakir over Muhammed when mentioning me!


View Profile WWW
June 02, 2015, 12:45:57 PM
 #2

Is it correct that the command "listaddressgroupings" lists all bitcoin addresses that have UTXO in the wallet?

It lists all addresses including change address(es).

When I perform a "dumpprivkey" for each address that's listed after doing "listaddressgroupings", can I use that privkey as a back-up? (e.g. write it down on a note and put it in a safe). And delete without any risk the wallet itself? I suppose yes...

Yes.

ArpFlush (OP)
Hero Member
*****
Offline Offline

Activity: 623
Merit: 500


View Profile
June 02, 2015, 01:32:27 PM
 #3

Is it correct that the command "listaddressgroupings" lists all bitcoin addresses that have UTXO in the wallet?

It lists all addresses including change address(es).

When I perform a "dumpprivkey" for each address that's listed after doing "listaddressgroupings", can I use that privkey as a back-up? (e.g. write it down on a note and put it in a safe). And delete without any risk the wallet itself? I suppose yes...

Yes.

Thanks!

"Panic Selling is not an Investment Strategy"
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
June 02, 2015, 02:39:20 PM
 #4

If you aren't going to use the wallet at all, and you are just looking for a way to archive the private keys that have been used in the past, then this method is fine.

Be aware, however, that everytime you send a transaction from the wallet, it will move bitcoins to a new address that is NOT in your archive.
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 560
Merit: 506


I prefer Zakir over Muhammed when mentioning me!


View Profile WWW
June 02, 2015, 02:42:20 PM
 #5

-snip-

Be aware, however, that everytime you send a transaction from the wallet, it will move bitcoins to a new address that is NOT in your archive.

I didn't get you. You mean change address? If yes, isn't change address(es) shown when running listaddressgroupings?

ArpFlush (OP)
Hero Member
*****
Offline Offline

Activity: 623
Merit: 500


View Profile
June 02, 2015, 02:57:57 PM
 #6

-snip-

Be aware, however, that everytime you send a transaction from the wallet, it will move bitcoins to a new address that is NOT in your archive.

I didn't get you. You mean change address? If yes, isn't change address(es) shown when running listaddressgroupings?

I think I get it and it's logical of course. After that so called backup (of private keys) the wallet (if still active) also contains all keys and can make TXs.

"Panic Selling is not an Investment Strategy"
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
June 02, 2015, 03:03:33 PM
 #7

-snip-

Be aware, however, that everytime you send a transaction from the wallet, it will move bitcoins to a new address that is NOT in your archive.

I didn't get you. You mean change address? If yes, isn't change address(es) shown when running listaddressgroupings?

Change addresses that have been used in the past?  Yes.

Change addresses that will be used in the future?  I don't think so.
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 560
Merit: 506


I prefer Zakir over Muhammed when mentioning me!


View Profile WWW
June 02, 2015, 04:01:17 PM
 #8

I think I get it and it's logical of course. After that so called backup (of private keys) the wallet (if still active) also contains all keys and can make TXs.
-snip-

Be aware, however, that everytime you send a transaction from the wallet, it will move bitcoins to a new address that is NOT in your archive.

I didn't get you. You mean change address? If yes, isn't change address(es) shown when running listaddressgroupings?

Change addresses that have been used in the past?  Yes.

Change addresses that will be used in the future?  I don't think so.

Thank you! Got it. After he deletes wallet.dat and open core, a new wallet will be created. It is unlikely to delete newly created wallet.dat file but I understand what you said. It is indeed logical.

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!