Discover the facts of the Cardano node for the setup command

Đang mở
#3,677 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

@turmelclem đang làm issue này rồi.

Từ ngày 10/11/2026.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
blockchain, rust
Lĩnh vực
backend, blockchain

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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)
Ngôn ngữ chính
Rust
Star
155
Fork
52
Merge trung bình
2 ngày 18 giờ
Pull request đã merge (30 ngày)
38

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của IntersectMBO/mithril

Tất cả issue của IntersectMBO/mithril

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.