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

k2pow isn't cached #5044

Closed
lrettig opened this issue Sep 20, 2023 · 1 comment
Closed

k2pow isn't cached #5044

lrettig opened this issue Sep 20, 2023 · 1 comment
Labels

Comments

@lrettig
Copy link
Member

lrettig commented Sep 20, 2023

Description

If I interrupt the PoST proof generation process, after k2pow has concluded but before the proof has been generated, by killing the node, then when I restart the node it runs k2pow all over again.

Is there any reason we can't cache/save k2pow once it's been found for a given proof/given set of nonces?

Steps to reproduce

  1. Allow node to start post proof generation
  2. Allow k2pow to finish
  3. Restart node
@lrettig lrettig added the bug label Sep 20, 2023
@poszu
Copy link
Contributor

poszu commented Sep 21, 2023

The functionality of stopping proof generation and continuing from the point it stopped (rather than starting from scratch) is not implemented yet. It's tracked in spacemeshos/post-rs#81 thus I'm closing this issue as a duplicate.

@poszu poszu closed this as not planned Won't fix, can't repro, duplicate, stale Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants