Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor syncer initialization to separate go-routine #1501

Open
gupadhyaya opened this issue Jan 23, 2024 · 1 comment
Open

Refactor syncer initialization to separate go-routine #1501

gupadhyaya opened this issue Jan 23, 2024 · 1 comment
Assignees

Comments

@gupadhyaya
Copy link
Member

currently the syncer is initialized after the genesis block is produced by manually initializing the store and starting the syncer (syncer needs the genesis block to be available in store for successful init). this manual initialization interfere with Broadcast which results in validation failed (known header: '1' <= current '1') #969. Ideally, we should broadcast (which self stores the block/header), which then should trigger the syncer to initialize. This would eliminate double init.

@ThanhNhann
Copy link
Contributor

Hi @gupadhyaya, can I handle this issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants