Bitcoin Forum
October 02, 2025, 03:41:35 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / Re: How can I change my private key for my BTC? on: December 16, 2017, 09:24:10 PM
You can't create a new private key without creating a new address.

They are linked and can't be separated.

Can I create a new address within the same bitcoin core wallet? If I go to file, receiving address and select new, it provides me a new public key (and If i'm correct, also generates a new private key). Could I then move the BTC in my wallet to this new public address and then have it in a private key?

Also can you please help me understand how to do a rescan of the blockchain within Bitcoin Core client?
2  Bitcoin / Bitcoin Technical Support / Re: How can I change my private key for my BTC? on: December 16, 2017, 09:02:01 PM
I might have a year ago, but nothing ever happened and I dont know for sure.

So let me get this straight. Backup my current wallet.dat (1) with my BTC there. Remove it from the AppData folder, let Bitcoin Core generate a new wallet.dat (2). Get the public address generated with this new wallet.dat (2), back up it up and close bitcoin core. Put wallet.dat (1) with my BTC back into the AppData folder, completely sync the blockchain, send the BTC to the new public address that was created and associated with wallet.dat (2). Now put wallet.dat (2) into the AppData folder, and the coin should appear under this new address? Would I have to redownload the blockchain for it to show up? Also, how long would it take to confirm and how much would the fee be?

If I somehow messed this up, but I had the original wallet.dat (1), I could undo this?

Seems about right...
Now, to answer your questions:
You'd need to rescan the complete blockchain, but not redownload it. Rescanning can take a couple of hours, but everything depends on your cpu, memory and IO speed of your disk.
The best fee depends on the number of unspent outputs that are managed by your wallet (1). I wrote a tool long ago to help you with this task: https://www.mocacinno.com/page/feeestimate
If you have the number of inputs/outputs OR a list of funded addresses managed by your wallet, this tool will help you estimate a reasonable fee. However, if you keep your wallet open for a couple of hours before creating a tx, bitcoin core should have a reasonable fee estimation automatically.

As for your last question: there are ways to mess this up in a way you cannot fix it by having access to wallet.dat (1). However, as long as you keep 2 secure backups of both wallet.dat's, and you double check the deposit address generated by wallet.dat (2), i don't see a way to really mess things up.

Hey another quick question. Could I move my BTC to a new address (and get a new private key) within the same Bitcoin Core wallet? If I go to file, receiving address and select new, it provides me a new public key (and If i'm correct, also generates a new private key). Could I then move the BTC in my wallet to this new public address and then have it in a private key? Am I missing something here or is the only way to do it with the previously discussed way of generating a new wallet.dat file?

Also, can I name the wallet.dat file anything I want or does it always have to have the .dat extension to work? 
3  Bitcoin / Bitcoin Technical Support / Re: How can I change my private key for my BTC? on: December 14, 2017, 07:30:33 AM
--snip, quote was getting to big--

I believe it is 6?

In that case, at this time, i'd recommand a fee of ~0.003, in this case you'll have a very reasonable chance of getting your transaction confirmed within 2-3 hours.
If ~0.003 is to much (personally, i think it's a lot of money), you can always try a little lower fee, however you'll have to expect to wait a longer time.

So that's roughly $50 USD to move 1BTC. I guess it's not terrible, but I supposed it's better than losing everything.
4  Bitcoin / Bitcoin Technical Support / Re: How can I change my private key for my BTC? on: December 14, 2017, 07:23:05 AM
How long would it take for roughly 1BTC to transfer over to the new address? Also, i'm not sure what "unspent inputs that are managed by your wallet" means? In terms of $$, how much would moving 1BTC cost?

I was still editing my previous post (re-editing posts is something i like to do when i don't like my initial answer), i think your question has been answered by my edit.
In short: you'll be creating a transaction with x inputs and 1 output... To find the number of inputs, open your wallet ,go to help => debug window => console and type "listunspent" (without quotes offcourse). Now you can count the number of unspent outputs.
If you don't like the fee estimation bitcoin core is giving you, you can put the number of inputs you found by using the command "listunspent" and 1 output in my wizard: https://www.mocacinno.com/page/feeestimate (option 2)

So it could cost me a thousand dollars to move 1 BTC?

Theoretically, yes... If you were collecting 1000's of dust inputs, the fee can be really high when talking in fiat terms... However, if this is the case, let me know and i'll give you some tips on how to pay a smaller fee.

Is there anyway I can see the inputs without the client? I don't have access to it right this second (not at home ATM), but I am genuinely curious. I think I've had like 6 total transactions ever with this one address, does that make a difference?  

no, it doesn't make a difference... An unspent output is an unspent output, disregarding which address it's funding.
As for your other question: if you have an idear which addresses are managed by your wallet, you can look those addresses up on a block explorer, even if you don't have physical access to your wallet.

For example: if you look up your address on blockchain.info, you should see a link called "Unspent Outputs". If you click it, you can count the number of unspent outputs funding this one address. If you do this for most (or all) of the funded addresses of your wallet, you know the number of unspent outputs (approximately... It's allways possible you're forgetting some addresses... And it's possible your wallet generated change addresses you don't know about to)

I believe it is 6?
5  Bitcoin / Bitcoin Technical Support / Re: How can I change my private key for my BTC? on: December 14, 2017, 07:13:38 AM
How long would it take for roughly 1BTC to transfer over to the new address? Also, i'm not sure what "unspent inputs that are managed by your wallet" means? In terms of $$, how much would moving 1BTC cost?

I was still editing my previous post (re-editing posts is something i like to do when i don't like my initial answer), i think your question has been answered by my edit.
In short: you'll be creating a transaction with x inputs and 1 output... To find the number of inputs, open your wallet ,go to help => debug window => console and type "listunspent" (without quotes offcourse). Now you can count the number of unspent outputs.
If you don't like the fee estimation bitcoin core is giving you, you can put the number of inputs you found by using the command "listunspent" and 1 output in my wizard: https://www.mocacinno.com/page/feeestimate (option 2)

So it could cost me a thousand dollars to move 1 BTC?

Theoretically, yes... If you were collecting 1000's of dust inputs, the fee can be really high when talking in fiat terms... However, if this is the case, let me know and i'll give you some tips on how to pay a smaller fee.

Is there anyway I can see the inputs without the client? I don't have access to it right this second (not at home ATM), but I am genuinely curious. I think I've had like 6 total transactions ever with this one address, does that make a difference? 
6  Bitcoin / Bitcoin Technical Support / Re: How can I change my private key for my BTC? on: December 14, 2017, 07:05:59 AM
How long would it take for roughly 1BTC to transfer over to the new address? Also, i'm not sure what "unspent inputs that are managed by your wallet" means? In terms of $$, how much would moving 1BTC cost?

I was still editing my previous post (re-editing posts is something i like to do when i don't like my initial answer), i think your question has been answered by my edit.
In short: you'll be creating a transaction with x inputs and 1 output... To find the number of inputs, open your wallet ,go to help => debug window => console and type "listunspent" (without quotes offcourse). Now you can count the number of unspent outputs.
If you don't like the fee estimation bitcoin core is giving you, you can put the number of inputs you found by using the command "listunspent" and 1 output in my wizard: https://www.mocacinno.com/page/feeestimate (option 2)

So it could cost me a thousand dollars to move 1 BTC?
7  Bitcoin / Bitcoin Technical Support / Re: How can I change my private key for my BTC? on: December 14, 2017, 06:58:20 AM
I might have a year ago, but nothing ever happened and I dont know for sure.

So let me get this straight. Backup my current wallet.dat (1) with my BTC there. Remove it from the AppData folder, let Bitcoin Core generate a new wallet.dat (2). Get the public address generated with this new wallet.dat (2), back up it up and close bitcoin core. Put wallet.dat (1) with my BTC back into the AppData folder, completely sync the blockchain, send the BTC to the new public address that was created and associated with wallet.dat (2). Now put wallet.dat (2) into the AppData folder, and the coin should appear under this new address? Would I have to redownload the blockchain for it to show up? Also, how long would it take to confirm and how much would the fee be?

If I somehow messed this up, but I had the original wallet.dat (1), I could undo this?

Seems about right...
Now, to answer your questions:
You'd need to rescan the complete blockchain, but not redownload it. Rescanning can take a couple of hours, but everything depends on your cpu, memory and IO speed of your disk.
The best fee depends on the number of unspent inputs that are managed by your wallet (1).

As for your last question: there are ways to mess this up in a way you cannot fix it by having access to wallet.dat (1). However, as long as you keep 2 secure backups of both wallet.dat's, and you double check the deposit address generated by wallet.dat (2), i don't see a way to really mess things up.


How long would it take for roughly 1BTC to transfer over to the new address? Also, i'm not sure what "unspent inputs that are managed by your wallet" means? In terms of $$, how much would moving 1BTC cost?
8  Bitcoin / Bitcoin Technical Support / Re: How can I change my private key for my BTC? on: December 14, 2017, 06:52:10 AM
I might have a year ago, but nothing ever happened and I dont know for sure.

So let me get this straight. Backup my current wallet.dat (1) with my BTC there. Remove it from the AppData folder, let Bitcoin Core generate a new wallet.dat (2). Get the public address generated with this new wallet.dat (2), back up it up and close bitcoin core. Put wallet.dat (1) with my BTC back into the AppData folder, completely sync the blockchain, send the BTC to the new public address that was created and associated with wallet.dat (2). Now put wallet.dat (2) into the AppData folder, and the coin should appear under this new address? Would I have to redownload the blockchain for it to show up? Also, how long would it take to confirm and how much would the fee be?

If I somehow messed this up, but I had the original wallet.dat (1), I could undo this?
9  Bitcoin / Bitcoin Technical Support / Re: How can I change my private key for my BTC? on: December 14, 2017, 06:41:37 AM
Is there anyway I can mess this up and end up losing my coin over paranoia? Is this noob proof lol? I'm sorry I'm just so stressed out over all this bitcoin. I don't have that much, but losing money over stupidity is just really, really awful lol.
10  Bitcoin / Bitcoin Technical Support / Re: [Question ]Moving from non HD wallet to HD wallet. Should I do 1 tx or many? on: December 14, 2017, 06:02:45 AM
When you say from non HD wallet to HD wallet, do you mean both within bitcoin core? can you tell me the difference between hd and non hd wallet?
11  Bitcoin / Bitcoin Technical Support / How can I change my private key for my BTC? on: December 14, 2017, 05:23:00 AM
I am using Bitcoin Core and am not 100% if someone has my private key. I want to change my private key, however I am not sure how to go about doing so. Can I crate a new receiving address, and move the BTC I have to that new address, which would then give me a new private key all with using the same Bitcore client?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!