HathorNetwork / hathor-core

Hathor core is the official and reference client for operating a full node in Hathor Network.

Home Page:https://hathor.network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Several seconds taken to log the receival of `BLOCKS-END` in sync-v2

luislhl opened this issue · comments

It seems the peer frequently takes several seconds (sometimes more, sometimes less) between sending the last block in the stream and sending this BLOCKS-END message.

In theory, the BLOCKS-END should be sent by the peer immediately after the last block in the stream, so taking several seconds between these 2 events being logged in the receiving peer looks odd.

It's not clear whether this is normal behavior or not, so we should investigate to be sure.

If we can get rid of these wait times, this would make a big different in the total time of a full sync.

Some screenshots I've collected to show the problem:

Screenshot from 2023-07-24 12-05-20
Screenshot from 2023-07-24 12-05-39
Screenshot from 2023-07-24 12-06-16
Screenshot from 2023-07-24 12-09-22

Originally posted by @luislhl in #275 (comment)

commented

I got message "remote error" , how? Could you help me?

hathor