Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Optimize miner.State.CleanupExpiredPreCommits #1456

Open
Stebalien opened this issue Jun 17, 2021 · 0 comments
Open

Optimize miner.State.CleanupExpiredPreCommits #1456

Stebalien opened this issue Jun 17, 2021 · 0 comments

Comments

@Stebalien
Copy link
Member

Currently, this loads the pre-commit HAMT once per expiring pre-commit to compute deposit to burn. We then batch delete.

Instead, we should load the pre-commit HAMT once and do a batch delete in one "operation" to save us a bunch of IPLD load operations.

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

No branches or pull requests

1 participant