Pages:
Author

Topic: bitcoin core slow sync today? (Read 499 times)

newbie
Activity: 7
Merit: 1
August 30, 2018, 12:02:23 PM
#30
hi do any one knows how much server space i need to host live bitcoin wallet i have
MEMORY - 8gb
vCPUs - 4cpu
SSD DISK -160

is it good or i need more ?
legendary
Activity: 1624
Merit: 2481
August 25, 2018, 02:11:12 AM
#29
-reindex-chainstate should work in most of cases

-reindex-chainstate does wipe the chainstate + rebuilds it.
This is helpful if your chainstate got somehow corrupted.

But if the block index is corrupted, this command won't help you. You'll need to use -reindex instead.
-reindex does wipe the chainstate and the blockindex and rebuilds both of them (Chainstate is being built by validating blocks in the block index).


Both are unrelated to the time it takes for core to synch.
This is mostly dependend on the hardware (especially hard drive and CPU) and the network rate.
jr. member
Activity: 154
Merit: 1
August 25, 2018, 12:20:18 AM
#28
 -reindex-chainstate should work in most of cases
newbie
Activity: 15
Merit: 0
August 14, 2018, 07:47:33 AM
#27
Hey,

where do I find the most recent blk*.dat and rev*.dat files??

I run Bitcoind (wallet only through terminal)
Thanks.

they are in the /blocks folder if you are running bitcoin core. not sure whether or not Bitcoind is part of bitcoin core though.

It is. It's just BTC-core without the graphic user interface. Anyways, I just corrupted the SD-card, so I'm running a recent backup. So I never got to try the proposed solution. Tongue
member
Activity: 94
Merit: 56
August 14, 2018, 06:32:10 AM
#26
Hey,

where do I find the most recent blk*.dat and rev*.dat files??

I run Bitcoind (wallet only through terminal)
Thanks.

they are in the /blocks folder if you are running bitcoin core. not sure whether or not Bitcoind is part of bitcoin core though.
newbie
Activity: 15
Merit: 0
August 14, 2018, 01:51:18 AM
#25
Hey,

where do I find the most recent blk*.dat and rev*.dat files??

I run Bitcoind (wallet only through terminal)
Thanks.
newbie
Activity: 15
Merit: 0
August 12, 2018, 11:57:42 AM
#24
Hi

You might try what worked for me... bear in mind it will reindex the chain which took about 2 days in total. First pass goes fast then the next one takes longer.

I did the "deleting the most recent blk*.dat and rev*.dat files"

Ok. I two days isn't that long compared to the time it takes to first sync with the network. Tongue
I read through the whole post and can find the information I'll need there. Otherwise I'll return for help.

Thanks
member
Activity: 94
Merit: 56
August 12, 2018, 09:17:38 AM
#23
Hi

You might try what worked for me... bear in mind it will reindex the chain which took about 2 days in total. First pass goes fast then the next one takes longer.

I did the "deleting the most recent blk*.dat and rev*.dat files"
newbie
Activity: 15
Merit: 0
August 12, 2018, 06:52:13 AM
#22
Hey.
I have a problem, that I found fit to post here.
Since yesterday my note only shows headers to be 508757. Before it got "synced" it showed the correct headers 536424 as of writing this post

Your help will be much appreciated.


Code:
pi@btccore:~ $ bitcoin-cli getblockchaininfo
{
  "chain": "main",
  "blocks": 508757,
  "headers": 508757,
  "bestblockhash": "00000000000000000021b78e0d404649b4b91e3104e4ef2310e38563c7347722",
  "difficulty": 2874674234415.941,
  "mediantime": 1518400210,
  "verificationprogress": 0.8450131626940209,
  "initialblockdownload": true,
  "chainwork": "00000000000000000000000000000000000000000112b04f78f51cecbb145970",
  "size_on_disk": 890825462,
  "pruned": true,
  "pruneheight": 508092,
  "automatic_pruning": true,
  "prune_target_size": 1048576000,
  "softforks": [
    {
      "id": "bip34",
      "version": 2,
      "reject": {
        "status": true
      }
    },
    {
      "id": "bip66",
      "version": 3,
      "reject": {
        "status": true
      }
    },
    {
      "id": "bip65",
      "version": 4,
      "reject": {
        "status": true
      }
    }
  ],
  "bip9_softforks": {
    "csv": {
      "status": "active",
      "startTime": 1462060800,
      "timeout": 1493596800,
      "since": 419328
    },
    "segwit": {
      "status": "active",
      "startTime": 1479168000,
      "timeout": 1510704000,
      "since": 481824
    }
  },
  "warnings": ""
}

best regards!
member
Activity: 94
Merit: 56
July 31, 2018, 04:07:39 AM
#21
hi guys

it seems to have worked, it was syncing all day, now left at 25 weeks behind, so far so good... hopefully also the newest transactions will work OK

Great to hear! Let us know when you get up to 100%.


it's complete now, finished and all back to normal.
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
July 30, 2018, 12:23:15 PM
#20
hi guys

it seems to have worked, it was syncing all day, now left at 25 weeks behind, so far so good... hopefully also the newest transactions will work OK

Great to hear! Let us know when you get up to 100%.
member
Activity: 94
Merit: 56
July 30, 2018, 11:47:29 AM
#19
hi guys

it seems to have worked, it was syncing all day, now left at 25 weeks behind, so far so good... hopefully also the newest transactions will work OK
member
Activity: 94
Merit: 56
July 29, 2018, 05:15:44 PM
#18
The problem is that your node is rejecting block 533816 which means that any node which attempts to give it that block or any of its descendants will be disconnected from immediately.

Open the Debug Console (Help > Debug Window > Console) and then enter this command: reconsiderblock 0000000000000000001f642d24d3968eeef81460531346adbfb9882dd711ed45. If it returns with null, then the block was accepted and you should be able to connect to nodes and sync the rest of the blockchain.

Otherwise, start Bitcoin Core with the -reindex-chainstate option. That will reindex the chainstate (not quite as bad as a full reindex) and that should also fix the problem.

If all else fails, deleting the most recent blk*.dat and rev*.dat files and then starting Bitcoin Core should work too. That will trigger a full reindex as well as redownload the most recent blocks.


thanks a lot, actually I did the "deleting the most recent blk*.dat and rev*.dat files", it took 2 hours and 30 minutes for the database, now doing the "processing blocks on disk" and seems to work......I reckon other few hours for this round and let's see...thanks!
staff
Activity: 3458
Merit: 6793
Just writing some code
July 29, 2018, 04:33:24 PM
#17
The problem is that your node is rejecting block 533816 which means that any node which attempts to give it that block or any of its descendants will be disconnected from immediately.

Open the Debug Console (Help > Debug Window > Console) and then enter this command: reconsiderblock 0000000000000000001f642d24d3968eeef81460531346adbfb9882dd711ed45. If it returns with null, then the block was accepted and you should be able to connect to nodes and sync the rest of the blockchain.

Otherwise, start Bitcoin Core with the -reindex-chainstate option. That will reindex the chainstate (not quite as bad as a full reindex) and that should also fix the problem.

If all else fails, deleting the most recent blk*.dat and rev*.dat files and then starting Bitcoin Core should work too. That will trigger a full reindex as well as redownload the most recent blocks.
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
July 29, 2018, 03:23:26 PM
#16
In safe mode now and it seems exactly the same... teued to get connections for a bit then blinks then off again.

The whole chain? Well im on a 17mbit connection.. that will be long.

Any other ideas?  Oh actually the pc went to standby when i was home without shutting down the core client .. laptop ... altho that happened before.

Thank you

It won't redownload the chain it will run back through it but it will still take quite a long time to do that.

If by standby you mean hybernate then that shouldn't be the cause of the issue.

I'd suggest waiting between a few hours a day for someone who can work out the exact error in the debug.logs that you have provided as they should be indepth enough for someone who knows more about the source code of bitcoin core.


Right that makes sense.....now deciding whether doing that re-download thing (if that is at all a viable option) or doing something else... in that case.. ANY EXPERT around???


thanks for all your help jackg anyway!

Give them 24 hours to come here and then try reindexing (deleting the last blk file).

It won't download everything again unless it finds an issue but it will have to scan through it all and reindex everything.
member
Activity: 94
Merit: 56
July 29, 2018, 02:41:13 PM
#15
In safe mode now and it seems exactly the same... teued to get connections for a bit then blinks then off again.

The whole chain? Well im on a 17mbit connection.. that will be long.

Any other ideas?  Oh actually the pc went to standby when i was home without shutting down the core client .. laptop ... altho that happened before.

Thank you

It won't redownload the chain it will run back through it but it will still take quite a long time to do that.

If by standby you mean hybernate then that shouldn't be the cause of the issue.

I'd suggest waiting between a few hours a day for someone who can work out the exact error in the debug.logs that you have provided as they should be indepth enough for someone who knows more about the source code of bitcoin core.


Right that makes sense.....now deciding whether doing that re-download thing (if that is at all a viable option) or doing something else... in that case.. ANY EXPERT around???


thanks for all your help jackg anyway!
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
July 29, 2018, 02:36:03 PM
#14
In safe mode now and it seems exactly the same... teued to get connections for a bit then blinks then off again.

The whole chain? Well im on a 17mbit connection.. that will be long.

Any other ideas?  Oh actually the pc went to standby when i was home without shutting down the core client .. laptop ... altho that happened before.

Thank you

It won't redownload the chain it will run back through it but it will still take quite a long time to do that.

If by standby you mean hybernate then that shouldn't be the cause of the issue.

I'd suggest waiting between a few hours a day for someone who can work out the exact error in the debug.logs that you have provided as they should be indepth enough for someone who knows more about the source code of bitcoin core.
member
Activity: 94
Merit: 56
July 29, 2018, 02:11:55 PM
#13
What does it say at the bottom of the screen next to the loading bar?

Is is saying that it is syncronising with blocks or "no block source avaliable" etc...

it seems as "normal" although I see 0 connections, sometimes it goes to 8 then goes away....






So it's sticking on connecting to peers according to that, do you have any new firewalls that could be blocking it (or your ISP) although it's not even loading up the list of peers that they normally have...


nothing new really... I tried to use a proxy just earlier but no difference, I can see that there is network traffic, like 3MB... this is very odd.. on another forum someone suggested to delete the latest blk and rev file.. what u think of that? thank you

If you do that it'll reindex your entire blockchain.

How long did it take to sync, as it'll do all of that again?

I'd sooner suggest booting your computer in "safe mode with networking" and run your bitcoin core to see that it definitely isn't a firewall issue.

In safe mode now and it seems exactly the same... teued to get connections for a bit then blinks then off again.

The whole chain? Well im on a 17mbit connection.. that will be long.

Any other ideas?  Oh actually the pc went to standby when i was home without shutting down the core client .. laptop ... altho that happened before.

Thank you
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
July 29, 2018, 01:55:32 PM
#12
What does it say at the bottom of the screen next to the loading bar?

Is is saying that it is syncronising with blocks or "no block source avaliable" etc...

it seems as "normal" although I see 0 connections, sometimes it goes to 8 then goes away....






So it's sticking on connecting to peers according to that, do you have any new firewalls that could be blocking it (or your ISP) although it's not even loading up the list of peers that they normally have...


nothing new really... I tried to use a proxy just earlier but no difference, I can see that there is network traffic, like 3MB... this is very odd.. on another forum someone suggested to delete the latest blk and rev file.. what u think of that? thank you

If you do that it'll reindex your entire blockchain.

How long did it take to sync, as it'll do all of that again?

I'd sooner suggest booting your computer in "safe mode with networking" and run your bitcoin core to see that it definitely isn't a firewall issue.
member
Activity: 94
Merit: 56
July 29, 2018, 01:54:12 PM
#11
What does it say at the bottom of the screen next to the loading bar?

Is is saying that it is syncronising with blocks or "no block source avaliable" etc...

it seems as "normal" although I see 0 connections, sometimes it goes to 8 then goes away....






So it's sticking on connecting to peers according to that, do you have any new firewalls that could be blocking it (or your ISP) although it's not even loading up the list of peers that they normally have...


nothing new really... I tried to use a proxy just earlier but no difference, I can see that there is network traffic, like 3MB... this is very odd.. on another forum someone suggested to delete the latest blk and rev file.. what u think of that? thank you
Pages:
Jump to: