Bitcoin Forum
October 17, 2018, 06:32:16 AM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: time to re-sync a powered-off fullnode  (Read 487 times)
joe1234
Newbie
*
Offline Offline

Activity: 41
Merit: 0


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
1539757936
Hero Member
*
Offline Offline

Posts: 1539757936

View Profile Personal Message (Offline)

Ignore
1539757936
Reply with quote  #2

1539757936
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1539757936
Hero Member
*
Offline Offline

Posts: 1539757936

View Profile Personal Message (Offline)

Ignore
1539757936
Reply with quote  #2

1539757936
Report to moderator
1539757936
Hero Member
*
Offline Offline

Posts: 1539757936

View Profile Personal Message (Offline)

Ignore
1539757936
Reply with quote  #2

1539757936
Report to moderator
ranochigo
Legendary
*
Offline Offline

Activity: 1568
Merit: 1094

Somewhat inactive.


View Profile WWW
December 02, 2017, 02:30:35 PM
 #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.

joe1234
Newbie
*
Offline Offline

Activity: 41
Merit: 0


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
Hero Member
*****
Offline Offline

Activity: 756
Merit: 932

<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.

Jet Cash
Legendary
*
Offline Offline

Activity: 1036
Merit: 1251


I don't merit Spambies


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.

btctousd81
Sr. Member
****
Offline Offline

Activity: 392
Merit: 252


View Profile WWW
December 10, 2017, 01:33:06 AM
 #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: 1568
Merit: 1094

Somewhat inactive.


View Profile WWW
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.

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!