Discover the facts of the Cardano node for the setup command

Aperta
#3,677 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
blockchain, rust

Direzione di ricerca

Start by locating the setup command and its orchestrator in the repository, then trace the existing Cardano node integration and its tests. The issue lists the facts to discover, including the node process or systemd unit, configuration paths, network, and role; check how current code obtains any of these values. Done means discovery exposes the needed facts, handles multiple nodes, and reports unsupported node implementations without opening the KES key.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

feature :rocket:

Why

The SPO one command onboarding must configure the Mithril signer and the DMQ node from what the running Cardano node already knows, instead of asking the operator to copy these values by hand.

What

Discover the facts of the Cardano node running on the machine, and expose them so that they can be used by the orchestrator.

How

  • Detect the Cardano node running as a host process or a systemd service
  • Collect the facts of the Cardano node:
    • Node instance (process and systemd unit)
    • Socket path
    • Database directory
    • Node configuration file
    • Topology file
    • KES key and operational certificate paths
    • Listening address and port
    • Service user
    • Node version
    • cardano-cli path?
  • Derive the facts needed by the signer and the DMQ node:
    • Cardano network
    • Shelley genesis file path
    • Role of the machine (block producer or relay or full-node)
    • Peers of the pool (relay address)
  • Support the cases where multiple Cardano nodes operate on a single machine
  • Report a Cardano node that is not supported yet (other implementation or containerized node)
  • How do we support multiple Cardano node versions with breaking changes in parameters discovery? (Maybe we do that later)
  • Never open the KES key file
  • Keep the discovery behind traits so that other implementations and runtimes can be added later (depends on the prototype outcome)
Lingua principale
Rust
Stelle
155
Fork
52
Merge medio
2g 10h
PR unite (30g)
35

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di IntersectMBO/mithril

Tutte le issue di IntersectMBO/mithril

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.