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

Blockchain optimization #979

Closed
username1565 opened this issue Nov 2, 2018 · 2 comments
Closed

Blockchain optimization #979

username1565 opened this issue Nov 2, 2018 · 2 comments

Comments

@username1565
Copy link

Hello, again.
I see, on the site http://wavesexplorer.com/
now waves-blockchain contains over 1,200,000 blocks.
Maybe need long time to syncrhonize this all on full node.

Can you add in the future the optimization functions for blockchain height?
How I see this?

  1. Old long blockhain is archived to zip-archive.
  2. Calculating the hash from archive.
  3. Including the hash of archive - to the first genesis block of new blockchain.
  4. Generating few blocks with all tokens to all users.
  5. Continue LPOS mining from last block of optimized blockchain.

In this case the syncronization between the nodes will be faster,
and old transactions will be excluded from the optimized blockchain.
And each node can verify new blockchain.
Also, in the first block can be included the magnet link with hash,
to download old blockchain, parse this, and see old transaction history.

Maybe fast synchronization can be realized, using checkpoints,
but full blockchain need to save for each node. And what about long time?
For example, Ethereum have blockchain height over 6,000,000 blocks!!!

Best regards.

@KardanovIR
Copy link

Hello, @username1565

This repository is for Waves Client, not Waves Node. You can open a new issue for appropriate repository here https://github.com/wavesplatform/Waves

@username1565
Copy link
Author

username1565 commented Nov 3, 2018

Ok. Opened: wavesplatform/Waves#1642
This issue is closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants