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

support for certifier service and registering in poet with certificates #5204

Closed
Tracked by #290
poszu opened this issue Oct 27, 2023 · 0 comments
Closed
Tracked by #290

support for certifier service and registering in poet with certificates #5204

poszu opened this issue Oct 27, 2023 · 0 comments

Comments

@poszu
Copy link
Contributor

poszu commented Oct 27, 2023

No description provided.

@poszu poszu self-assigned this Oct 27, 2023
@poszu poszu transferred this issue from spacemeshos/pm Oct 27, 2023
@poszu poszu changed the title add support for certifier service in node add support for certifier service and registering in poet with certificates Nov 3, 2023
@poszu poszu changed the title add support for certifier service and registering in poet with certificates support for certifier service and registering in poet with certificates Nov 3, 2023
spacemesh-bors bot pushed a commit that referenced this issue May 23, 2024
## Motivation
Closes #5204 

## Changes
Added support for registering in the poet services using a certificate instead of PoW. It still supports both ways and will fallback to the PoW if:
- certificate is not available (couldn't certify)
- the poet service doesn't support certificates

There is a new interface in `activation` package `certifierService` that provides a generic way to obtain a certificate for a given poet. It abstracts away the fact that a POST proof is used - it is hidden in `certifierServiceClient`, which could in future have different implementations for other poet services.

Changed the `initial_post` table to `post` as it now holds the latest POST proof. Relying solely on initial post proof OR an existing ATX could not work in case of a checkpoint (in fact this way it failed systests).

## Test Plan
- added UTs
- added system tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant