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

Activation Service PoC #6354

Closed
5 tasks done
poszu opened this issue Sep 26, 2024 · 1 comment
Closed
5 tasks done

Activation Service PoC #6354

poszu opened this issue Sep 26, 2024 · 1 comment

Comments

@poszu
Copy link
Contributor

poszu commented Sep 26, 2024

Description

Activation Service is supposed to work (build ATXs) without direct access to:

  • the state DB (which contains information required for building an ATX like positioning ATX),
  • the gossip network (e.g. for publishing)

image

The Activation Service is supposed to:

  • query the Node Service (a full go-spacemesh node) that has access to the state-db for the necessary information,
  • publish the ATX via the Node Service

The Node Service is supposed to expose an HTTP API that will fulfill the needs of the Activation Service and act on its behalf for gossiping on the p2p network.

Steps

  1. abstract away DB accesses from ATX Builder in form of an AtxService interface
  2. define the Node-Service API and implement the server and client logic. The client should implement the activation.AtxService and pubsub.Publisher interfaces to be used by the ATX Builder
  3. figure out a way to pass the PoET proofs to the NodeService
  4. figure out a way for PoET certification (it requires access to the PoST proof created by the ID)
  5. prepare a PoC consisting of the Activation-Service and Node-Service processes running together, where the Activation-Service builds and publishes ATXs with the help of the NodeService.
@poszu
Copy link
Contributor Author

poszu commented Nov 22, 2024

The activation-service part of the node-split PoC was implemented in #6356 and #6355

@poszu poszu closed this as completed Nov 22, 2024
@github-project-automation github-project-automation bot moved this from 🏗 Doing to ✅ Done in Dev team kanban Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

1 participant