Skip to content

Syncing zebra to kmd times out sometimes #5

@dimxy

Description

@dimxy

obtain_tips or extend_tips functions sometimes time out (however syncing may continue).
The reason for that is that zebra sync uses getblocks p2p message but it may repeat calling 'getblocks' for the same block hash. Komodo peer acts differently that zcash on repeated 'getblock' requests and does not respond (if it has put this hash in the known inventory list).
A solution may be to use 'getheaders' that 'getblocks' as 'getheaders' is always responded by komodo nodes. The downside is that getheaders response is bigger in size and could not be parallelised according to zebra doc.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions