We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If there are many blocks (3000 for 10k votes), startup of a node takes about 1 minute. This is due to the method here:
https://github.com/c4dt/dela/blob/main/core/ordering/cosipbft/blockstore/disk.go#L70
It crawls through all blocks, deserializes them, and creates a map of block-hashes to block-indexes. Some comments:
cachedData.last
cachedData.length
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If there are many blocks (3000 for 10k votes), startup of a node takes about 1 minute. This is due to the method here:
https://github.com/c4dt/dela/blob/main/core/ordering/cosipbft/blockstore/disk.go#L70
It crawls through all blocks, deserializes them, and creates a map of block-hashes to block-indexes. Some comments:
cachedData.last
andcachedData.length
, so only store those in the dbThe text was updated successfully, but these errors were encountered: