Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Shirosaki on September 28, 2014, 11:26:58 AM



Title: Synchronisation bug?
Post by: Shirosaki on September 28, 2014, 11:26:58 AM
Hi everyone,

I try to install bitcoin core. I read many posts to know and fix my problem but i can't..  :'( I start installation with boostrap.dat  and come to 281173 block but after when bitcoin core start to synchronise with newtork, Block just stop to be creating.

I wait 2 days but I think it's a bug and that's why i come to us  :)

I open nat/pat :
8333 tcp and udp
8332 tcp and udp
18332 tcp and up

Configuration on my computer :
I5 3570k
SSD
8 GB ram
fiber

Ps : I try to speak english but it's not my main langage, so sorry if it's hard to reading and please tell me if you need more information.


Title: Re: Synchronisation bug?
Post by: shorena on September 28, 2014, 11:45:30 AM
How many connections do you have to the network?
Did you try one of the fallback nodes [1] in your area for fast sync?

[1] https://en.bitcoin.it/wiki/Fallback_Nodes


Title: Re: Synchronisation bug?
Post by: Shirosaki on September 28, 2014, 11:58:13 AM
Before I try to update bitcoin 9.2.1 to 9.3. I have 17 connections

Now I have 0 connections :(

I didn't try to add nodes but i'm going to try now with your link

 PS : i downgrade to 9.2.1
 PS2 : I do this :
addnode "66.228.49.201" add
addnode "137.116.225.142" add
addnode "85.214.251.25 " add
addnode "67.186.224.85" add

But i have only 2 connections  :-\


Title: Re: Synchronisation bug?
Post by: shorena on September 28, 2014, 12:26:22 PM
Before I try to update bitcoin 9.2.1 to 9.3. I have 17 connections

Now I have 0 connections :(

I didn't try to add nodes but i'm going to try now with your link

 PS : i downgrade to 9.2.1
 PS2 : I do this :
addnode "66.228.49.201" add
addnode "137.116.225.142" add
addnode "85.214.251.25 " add
addnode "67.186.224.85" add

But i have only 2 connections  :-\

You can only sync with one node anyway**, try to pick good nodes (fast connection and "close"* to your ISO) from the list if you can. Sadly they dont say how fast the connection is so you have to try a bit until you find one thats fast.


* idealy same network range e.g. both have X.Y.Z.something
** if you enter getpeerinfo in console, search for sync: true to know which you currently use.


Title: Re: Synchronisation bug?
Post by: Shirosaki on September 28, 2014, 12:35:58 PM
 What mean close to your ISO?
Okay I must try to find a great node
Result of getpeerinfo :

14:34:12

getpeerinfo


14:34:12

[
{
"addr" : "176.9.46.6:39291",
"addrlocal" : "90.52.38.122:8333",
"services" : "00000001",
"lastsend" : 1411906889,
"lastrecv" : 1411905458,
"bytessent" : 2210,
"bytesrecv" : 151,
"conntime" : 1411905458,
"pingtime" : 0.00000000,
"version" : 70002,
"subver" : "/Satoshi:0.9.2.1/",
"inbound" : true,
"startingheight" : 321579,
"banscore" : 0,
"syncnode" : true
},
{
"addr" : "148.251.238.178:22269",
"addrlocal" : "90.52.38.122:8333",
"services" : "00000001",
"lastsend" : 1411906823,
"lastrecv" : 1411906823,
"bytessent" : 980,
"bytesrecv" : 231,
"conntime" : 1411905726,
"pingtime" : 0.00000000,
"version" : 70001,
"subver" : "/getaddr.bitnodes.io:0.1/",
"inbound" : true,
"startingheight" : 281173,
"banscore" : 0,
"syncnode" : false
},
{
"addr" : "93.105.177.253:27812",
"addrlocal" : "90.52.38.122:8333",
"services" : "00000001",
"lastsend" : 1411906692,
"lastrecv" : 1411906883,
"bytessent" : 75769,
"bytesrecv" : 15107,
"conntime" : 1411905983,
"pingtime" : 0.00000000,
"version" : 70002,
"subver" : "/Satoshi:0.9.2.1/",
"inbound" : true,
"startingheight" : 316213,
"banscore" : 0,
"syncnode" : false
}
]

Realy thank to you shorena :)


Title: Re: Synchronisation bug?
Post by: Shirosaki on September 28, 2014, 12:45:47 PM
Please tell me if i'm wrong but it's not normal if i don't create block since 2 days? I try many node but i stay less than 3 connections


Title: Re: Synchronisation bug?
Post by: shorena on September 28, 2014, 12:58:34 PM
Please tell me if i'm wrong but it's not normal if i don't create block since 2 days? I try many node but i stay less than 3 connections

When you say "create" block I assume you mean download, because finding a block greatly depends on your hashingpower (GPU speed or ASICs you use) and you should not use bitcoin core for that. And I think (not sure) it would only start to mine (as in create a block) when sync is finished.

No its not normal. Your client usually aims to get 8 connections, but maybe in your area its hard to find other nodes, I dont know.


-snip-
[
{
"addr" : "176.9.46.6:39291",
"addrlocal" : "90.52.38.122:8333",
"services" : "00000001",
"lastsend" : 1411906889,
"lastrecv" : 1411905458,
"bytessent" : 2210,
"bytesrecv" : 151,
"conntime" : 1411905458,
"pingtime" : 0.00000000,
"version" : 70002,
"subver" : "/Satoshi:0.9.2.1/",
"inbound" : true,
"startingheight" : 321579,
"banscore" : 0,
"syncnode" : true
}-snip-

thats the node you sync with.


Title: Re: Synchronisation bug?
Post by: Shirosaki on September 28, 2014, 01:19:52 PM
Now i understand more how bitcoin core works that's why I have remove my wallet and bitcoin core.

I install since the beginning and don't use bootstrap.dat because it's maybe cause of him if my download is lock after.

I download 260 Mo(edited) and Upload 16 Mo . I just hope download don't be cancel like other time when I come to 280 000..

I use this node :
addr" : "68.104.0.183:8333",
"addrlocal" : "90.52.38.122:8333",
"services" : "00000001",
"lastsend" : 1411909916,
"lastrecv" : 1411909916,
"bytessent" : 2066332,
"bytesrecv" : 10826230,
"conntime" : 1411909649,
"pingtime" : 0.00000000,
"version" : 70002,
"subver" : "/Satoshi:0.9.2.1/",
"inbound" : false,
"startingheight" : 322921,
"banscore" : 0,
"syncnode" : true

PS : Hum yes when i say create , i mean download ^^
PS2 : I think in two hours I can say if it's solved or not :)


Title: Re: Synchronisation bug?
Post by: Shirosaki on September 28, 2014, 01:38:44 PM
I download more and it's less is fluid

Picture :

http://img11.hostingpics.net/pics/649439Capture2.png

http://img11.hostingpics.net/pics/235986Capture3.p

Maybe that's why I can't finish download?


Title: Re: Synchronisation bug?
Post by: shorena on September 28, 2014, 02:05:14 PM
I download more and it's less is fluid

Picture :

http://img11.hostingpics.net/pics/649439Capture2.png

http://img11.hostingpics.net/pics/235986Capture3.p

Maybe that's why I can't finish download?

Looks like you have a lot ahead of you (3 years). Maybe use the bootstrap.dat torrent [1] to skip some years and do the rest the "normal" way?

[1] https://bitcointalk.org/index.php?topic=145386.0


Title: Re: Synchronisation bug?
Post by: Shirosaki on September 28, 2014, 02:12:01 PM
I would try without bootstrap.dat because i have thought it's him who do a problem with my blockchain but even if I only use network to download, my blockchain is again lock.
Tens minute, nothing have changed. (3years).  I see hight download (over 400 mo) but blockchain is locked anyways :(
Maybe my Ram do corrupt data ..


Title: Re: Synchronisation bug?
Post by: shorena on September 28, 2014, 02:31:32 PM
I would try without bootstrap.dat because i have thought it's him who do a problem with my blockchain but even if I only use network to download, my blockchain is again lock.
Tens minute, nothing have changed. (3years).  I see hight download (over 400 mo) but blockchain is locked anyways :(
Maybe my Ram do corrupt data ..

I dont think so. As long as you still download you should be fine. Some parts (even the old ones) of the blockchain are pretty big so you dont see a change for a while.


Title: Re: Synchronisation bug?
Post by: Newar on September 28, 2014, 03:58:05 PM
我慢

Your computer will also have to verify the blockchain, not only download it.

shorena: forget about the fall back nodes page. The bot to update went MIA somewhere and it says nothing about the speed of those anyway.


Title: Re: Synchronisation bug?
Post by: shorena on September 28, 2014, 04:04:07 PM
我慢

I think OPs prefered language is french, at least the pictures posted suggest that ;)

Good advice in any way though.

-snip-
shorena: forget about the fall back nodes page. The bot to update went MIA somewhere and it says nothing about the speed of those anyway.

:C

Yeah thats why you have to test around a bit to find one of them thats actually fast. I know zvs has some fast full nodes, but I keep forgetting the IPs. Do you know of any up to date list?


Title: Re: Synchronisation bug?
Post by: Newar on September 28, 2014, 04:15:37 PM
我慢

I think OPs prefered language is french, at least the pictures posted suggest that ;)

Good advice in any way though.

It "sounded" like Japanese to me, anyway...

-snip-
shorena: forget about the fall back nodes page. The bot to update went MIA somewhere and it says nothing about the speed of those anyway.
Yeah thats why you have to test around a bit to find one of them thats actually fast. I know zvs has some fast full nodes, but I keep forgetting the IPs. Do you know of any up to date list?

He hasn't been as forthcoming as he was with his IPs; the last ones, AFAICT:

5.9.24.81
107.155.104.194
106.185.32.195
178.79.173.71
94.242.57.173

Mine:

84.200.34.113
50.7.68.180

And yours :)


Title: Re: Synchronisation bug?
Post by: Shirosaki on September 28, 2014, 04:36:18 PM
I'm french  :P

If I understand correctly, you say download is also use to check chainblock and not only download them. But it's strange when you wait 2 days and you have no change :(

With 500 méga to download, how many time I need to have all blockchain ? When I look others topic, they say it's realy long but I see nobody talk about a problem with block stop progress during long time.

Maybe I must change setting to do faster checking of chainblock?

Or I just need to wait long long long time but if i do one verification with 4 days so i need 4 months to use finaly bitcoin core ? :o

Newar : I don't understand what you say with your IPs :

I must add one of them like a node?


Title: Re: Synchronisation bug?
Post by: shorena on September 28, 2014, 04:44:36 PM
-snip-

He hasn't been as forthcoming as he was with his IPs; the last ones, AFAICT:

5.9.24.81
107.155.104.194
106.185.32.195
178.79.173.71
94.242.57.173

Mine:

84.200.34.113
50.7.68.180

And yours :)

Thanks, probably will start a collection of sorts ;)


I'm french  :P

If I understand correctly, you say download is also use to check chainblock and not only download them. But it's strange when you wait 2 days and you have no change :(

Yes it is.

With 500 méga to download, how many time I need to have all blockchain ? When I look others topic, they say it's realy long but I see nobody talk about a problem with block stop progress during long time.

Blockchain size is currently ~22.000 MB [1].

Maybe I must change setting to do faster checking of chainblock?

The checking only starts after a certain block (known as checkpoint). With the latest version this is block 295000 [2]

Or I just need to wait long long long time but if i do one verification with 4 days so i need 4 months to use finaly bitcoin core ? :o

Not 4 month, but maybe 4 days. Its hard to say, because a good sync node might disappear and the next one is bad.

Newar : I don't understand what you say with your IPs :

I must add one of them like a node?

The list of Nodes on the wiki I gave you earlier is old. The IPs from Newar are nodes from users (zvs* and Newar) that are actually running on servers so they are up all the time and should give you good speed. You dont have to add them, but it can help.

[1] https://blockchain.info/charts/blocks-size
[2] https://bitcoin.org/en/release/v0.9.3
* most likely but we are not 100% sure.


Title: Re: Synchronisation bug?
Post by: Newar on September 28, 2014, 04:48:46 PM
I'm french  :P

é

I see :)


Regarding nodes, the quickest way to download is to connect to a single fast node with the connect= command. Easier is to shut down Bitcoin Core and delete peers.dat in your data directory [1] and try again.

Depending how far you are behind the bootstrap method suggested by shorena is a better bet.

Please post OS and Bitcoin Core version.

[1] https://en.bitcoin.it/wiki/Data_directory


Title: Re: Synchronisation bug?
Post by: Newar on September 28, 2014, 04:56:30 PM
[...]
* most likely but we are not 100% sure.
use maxconnections=1
listen=0
addnode=5.9.24.81
addnode=107.155.104.194
addnode=106.185.32.195
addnode=178.79.173.71
addnode=94.242.57.173

those are all mine, don't care.  1st is germany, 2nd is dallas, 3rd is japan, 4th is UK, 5th is russia.  i had a 6th in israel but i'm moving it to hong kong later

when blockchain is done, change the stuff back to whatever


Title: Re: Synchronisation bug?
Post by: Shirosaki on September 28, 2014, 05:22:12 PM
For summary,
So I restart with boostrap.dat (21 Mb) and let my computer ON during 4 days and it's nothing move, i come back?
Moreover, if download go under 500 mo I try many node of list you give me :
(5.9.24.81
107.155.104.194
106.185.32.195
178.79.173.71
94.242.57.173)
I'm not sur so I ask, to change my node, I must erase file peers.dat et use command addnode "IP" add
Nothing else? You tell about connect command that's it?

And of course I try to improve my english level hahaha  :P


Title: Re: Synchronisation bug?
Post by: shorena on September 29, 2014, 07:56:57 AM
For summary,
So I restart with boostrap.dat (21 Mb Gb)

and let my computer ON during 4 days and it's nothing move, i come back?

it should not take 4 days, but yes. Get the bootstrap.dat via torrent wait till all the blocks are verified and do the rest "on foot".

Moreover, if download go under 500 mo I try many node of list you give me :
(5.9.24.81
107.155.104.194
106.185.32.195
178.79.173.71
94.242.57.173)
I'm not sur so I ask, to change my node, I must erase file peers.dat et use command addnode "IP" add
Nothing else?

Usually that should be enough, but its easier to make a bitcoin.conf file [1] and just delete/rename that file once you are done.

You tell about connect command that's it?

connect is used in the config file to make sure you connect to a single node. Its not allways working perfect so its best to have a long list of good nodes.

And of course I try to improve my english level hahaha  :P

Learning is allways good :D

[1] https://en.bitcoin.it/wiki/Running_Bitcoin#Bitcoin.conf_Configuration_File - example you can easily edit with instructions where to put it.


Title: Re: Synchronisation bug?
Post by: Shirosaki on October 01, 2014, 08:41:49 PM
Hey i'm come back to say, I have take an other way, i run bitcoin core on my desktop computer and it's work ( I have try and retry on my computer, bitcoin stop running after I import bootstrap.dat. I realy think it's cause of my Ram but i will see this later) Thank for everything :)