Add the block producer to the Cardano relay topology of the signers in `mithril-infra`

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

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
54/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
blockchain, docker, terraform
Lĩnh vực
infrastructure

Hướng nghiên cứu

Start with mithril-infra/mithril.signer.tf and inspect how signer relay topology and Docker network services are configured. Check Cardano node logs on a testing network before and after the topology change; done means each relay promotes its own block producer to hot right after startup. The issue calls for a testing network deployment and log verification, so this needs infrastructure access and several days of work.

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

Mô tả

infrastructure :classical_building:

Why

In mithril-infra, the Cardano block producer of each signer lists its relay as a local root, but the relay topology is the official topology.json copied as is, so the relay does not list its own block producer, while the Cardano documentation requires it as a private local root (https://developers.cardano.org/docs/operators/relay-configuration/relay-node-configuration/). The same gap in the DMQ topology made each DMQ relay wait before pulling from its block producer, so the Cardano relays may also adopt their block producer late and delay the diffusion of the blocks minted by the test pools.

What

Each Cardano relay of a signer deployed by mithril-infra keeps its own block producer as a private local root (not advertised, not trustable) and connects to it as soon as it starts.

How

  • Check the Cardano node logs of a testing network to measure when the relay promotes its block producer to hot after a restart
  • Add the block producer (cardano-node-block-producer-signer-<id> on the mithril_network Docker network) as a separate localRoots group of the relay topology in mithril-infra/mithril.signer.tf, with advertise: false, trustable: false and valency: 1
  • Deploy on a testing network and check in the logs that the relay promotes its block producer to hot right after start
Ngôn ngữ chính
Rust
Star
155
Fork
52
Merge trung bình
3 ngày 9 giờ
Pull request đã merge (30 ngày)
33

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.