ill explain the steps i want figure out.

I have an empty bitcoin core wallet .

Step 1. I backup the wallet and go offline. 

Step 2. Someone send me a bitcoin to this wallet and i can see it(in balance).

Step 3 .Ill restore my bitcoin core wallet to the initial point..

What will happen then ?

I assume that ill start over with the blockchain from scratch, And what will happen is that initially the balance will be 0 (since my node is not yet aware of the transaction). So ill need to synchronize up to the block where the transaction was included (this will take some time). At that time the balance will be updated. After that the synchronization will continue until it's up-to-date with the head.

I'm trying to avoid making test this week because lake of time, So if someone can help and know the exactly answer, i will be glad to be updated ASAP .

If not , ill update after testing if its working as i mentioned above.
up vote 2 down vote accepted

Step 1. I backup the wallet and go offline.

Step 2. Someone send me a bitcoin to this wallet and i can see it(in balance).

When you're off the internet the wallet software will not know the transaction occurred until it is synced with other nodes on the network (P2P protocol). However, as long as the sender is online, the transaction will still be pushed into the mempool and eventually exist on the network (once included in a block) and you will be able to spend the output (so long that the transaction has been created properly).

Step 3 .Ill restore my bitcoin core wallet to the initial point..

If you've backed up your wallet file, you are essentially saving your private keys which is the only piece allowing you to spend TX outputs. If you reset your node or import your wallet into a computer that is not yet fully synced, the balance will remain 0 up until the block containing your transaction.

I assume that ill start over with the blockchain from scratch, And what will happen is that initially the balance will be 0 (since my node is not yet aware of the transaction). So ill need to synchronize up to the block where the transaction was included (this will take some time). At that time the balance will be updated. After that the synchronization will continue until it's up-to-date with the head.

Yep this is correct.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.