Bitcoin Forum
May 08, 2024, 06:38:04 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: time to re-sync a powered-off fullnode  (Read 580 times)
joe1234 (OP)
Member
**
Offline Offline

Activity: 72
Merit: 33


View Profile
December 02, 2017, 01:26:36 PM
 #1

Hello forum


- does a fullnode after a power-outage (e.g. 24h) automatically re-sync?


- Does such re-sync entirely depend on the speed of my internet connection?



Thank your for your feedback!

Joe
If you want to be a moderator, report many posts with accuracy. You will be noticed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715150284
Hero Member
*
Offline Offline

Posts: 1715150284

View Profile Personal Message (Offline)

Ignore
1715150284
Reply with quote  #2

1715150284
Report to moderator
1715150284
Hero Member
*
Offline Offline

Posts: 1715150284

View Profile Personal Message (Offline)

Ignore
1715150284
Reply with quote  #2

1715150284
Report to moderator
ranochigo
Legendary
*
Offline Offline

Activity: 2968
Merit: 4168



View Profile
December 02, 2017, 02:30:35 PM
Merited by ABCbits (1)
 #2

- does a fullnode after a power-outage (e.g. 24h) automatically re-sync?
Depends. For Bitcoin Core, if your client gets shut down unexpectedly, your database might get corrupted. If that happens, you'll have to reindex the whole database which would take quite a while.
- Does such re-sync entirely depend on the speed of my internet connection?
No. It's mainly dependent on your processor and also the speed of your hard disk. It's the same with when your client gets synchronized the first time.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
joe1234 (OP)
Member
**
Offline Offline

Activity: 72
Merit: 33


View Profile
December 07, 2017, 05:38:25 PM
 #3

- does a fullnode after a power-outage (e.g. 24h) automatically re-sync?
Depends. For Bitcoin Core, if your client gets shut down unexpectedly, your database might get corrupted. If that happens, you'll have to reindex the whole database which would take quite a while.
Do you mean by "your client" e.g. my lightweight wallet?

Tahnk's a lot for any clarification!
Joe
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
December 08, 2017, 02:17:52 AM
 #4

Do you mean by "your client" e.g. my lightweight wallet?
No... he means your Bitcoin Core "Full node" client...

What he is saying... is that the syncing "speed" (in terms of blocks/second) of a node that was powered-off, will be similar as it was when it was first synced up after installation... it still needs to download and verify every block which requires processor power and harddrive speed for optimal performance.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Jet Cash
Legendary
*
Offline Offline

Activity: 2702
Merit: 2456


https://JetCash.com


View Profile WWW
December 08, 2017, 09:24:22 AM
 #5

The core software seems to be well written and robust. I run a full node over public WiFi, and the sync speed seems to be influenced by the quality and speed of the network connecton, and the speed and availablity of peers. Of course you should always shut down correctly, but if you forget, then Core sems to be able to sort things out. As a safety precaution I always restart in an orderly fashion once it starts to resync following an instant shut down. If you have a bad block on the hard drive, you can copy the blockchain up to that point, and let Core resync from the good blocks. That can save you time in downloading.

Offgrid campers allow you to enjoy life and preserve your health and wealth.
Save old Cars - my project to save old cars from scrapage schemes, and to reduce the sale of new cars.
My new Bitcoin transfer address is - bc1q9gtz8e40en6glgxwk4eujuau2fk5wxrprs6fys
btctousd81
Sr. Member
****
Offline Offline

Activity: 434
Merit: 270


View Profile WWW
December 10, 2017, 01:33:06 AM
Last edit: December 10, 2017, 02:15:32 AM by btctousd81
 #6

- does a fullnode after a power-outage (e.g. 24h) automatically re-sync?
Depends. For Bitcoin Core, if your client gets shut down unexpectedly, your database might get corrupted. If that happens, you'll have to reindex the whole database which would take quite a while.
- Does such re-sync entirely depend on the speed of my internet connection?
No. It's mainly dependent on your processor and also the speed of your hard disk. It's the same with when your client gets synchronized the first time.

doesnt block files get downloaded again ?

after unexpected power down of bitcoin-core ?

or it just rereads .blk files and creates chainstate db ? so no need to download blok files again.

Thanks

ranochigo
Legendary
*
Offline Offline

Activity: 2968
Merit: 4168



View Profile
December 10, 2017, 02:53:09 AM
 #7

doesnt block files get downloaded again ?
after unexpected power down of bitcoin-core ?
or it just rereads .blk files and creates chainstate db ? so no need to download blok files again.
Thanks
If you're unlucky and your computer turns off abruptly while syncing, your chainstate might be corrupted and you will need to reindex the whole blockchain again. It does not need to download the blocks again though I had some success with it when reindex doesn't work.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
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!