will the bitcoin core be able to create a wallet.dat file offline
Sure, any software wallet should be able to generate a new wallet without the Internet connection. In fact, some storage setups are meant to be offline all the time.
the bitcoin core will detect the old wallet.dat file which is in the usb flash, the 1 btc old wallet.dat. will it be able to detect the wallet with the balance on it even if it is offline, the bitcoin core here is fully synced to take notice
Wallet.dat contains information about transactions so your balance will be visible while being offline. As for importing your backup, if there are any confirmed transactions associated with that wallet after you made that backup, the balance won't be up-to-date if your online node has already downloaded the blocks in which they were included. You will have to run Bitcoin Core with -rescan parameter. If you copied you wallet file after all transactions have been confirmed then simply importing it should be enough.
thanks for your reply
- if I have a an old wallet.dat which had transactions lets say from 2017 and I have my bitcoin core fully synced and up-to-date, so simply replacing the default generated wallet.dat with that old one will be enough
(while it's offline) ?
- i am afraid you have missed this, I have underlined the question for you
lets first assume we have a host machine (main pc) and a guest machine (machine with bitcoin core installed in it) and an old wallet.dat file with 1 btc in it on a usb flash
guest machine :
- have the already generated wallet.dat file deleted to let the bitcoin core create a new one offline (will the bitcoin core be able to create a wallet.dat file offline)
- open bitcoin core
- create a new address
main pc :
- open bitcoin core
- the bitcoin core will detect the old wallet.dat file which is in the usb flash, the 1 btc old wallet.dat (will it be able to detect the wallet with the balance on it even if it is offline, the bitcoin core here is fully synced to take notice)
- send the 1 btc to the new address offline created on the guest machine
can I do all the following (totally offline)- hopefully you have any answer for my Wasabi question, if no, no problem