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

Minimal node blockchain sync #289

Closed
dmugtasimov opened this issue Jul 25, 2021 · 13 comments
Closed

Minimal node blockchain sync #289

dmugtasimov opened this issue Jul 25, 2021 · 13 comments

Comments

@dmugtasimov
Copy link
Contributor

dmugtasimov commented Jul 25, 2021

DEPENDS ON:

TODO:

  • [DONE] Implement sync_minimal(source_blockchain: BlockchainBase, target_blockchain: BlockchainBase) function
  • Implement APIBlockchain -> partially moved out Implement APIBlockchain.yield_blocks_slice() #387
  • [DONE] If we do not have the latest blockchain state then get it
  • [DONE] Drop previous blockchain states to avoid gaps (this will be changed back with Fill gaps sync #290 )
  • [DONE] Download all blocks remained after latest blockchain state
  • Deal with convergence issue (where blockchain gets more blocks and blockchain states while we are syncing - which may require resync indefinitely)
  • Another issue to deal with is that different nodes may have different number of blocks in their blockchain
  • Yet another issue is that PV will probably be most up to date node always
  • [DONE] Enable caching after changing the way we put blocks in chunks -> do not put blocks to chunks until finalized -> Do not rename chunk file on each block #297
@dmugtasimov
Copy link
Contributor Author

Return metadata: #293

@dmugtasimov
Copy link
Contributor Author

#346

@dmugtasimov
Copy link
Contributor Author

#377

@dmugtasimov
Copy link
Contributor Author

#379

@dmugtasimov
Copy link
Contributor Author

#382

@dmugtasimov
Copy link
Contributor Author

#385

@dmugtasimov
Copy link
Contributor Author

#386

@dmugtasimov
Copy link
Contributor Author

Returning blockchain states does not seem to work correctly. Fix it first and then move forward with the task.

@dmugtasimov
Copy link
Contributor Author

#407

@dmugtasimov
Copy link
Contributor Author

#408

@dmugtasimov
Copy link
Contributor Author

#409

@dmugtasimov
Copy link
Contributor Author

#410

@dmugtasimov
Copy link
Contributor Author

#411

@dmugtasimov dmugtasimov moved this from In progress to Done in Blockchain Tasks Sep 16, 2021
@dmugtasimov dmugtasimov removed their assignment Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant