Is there an upper bound on the size of a (mainnet) stake distribution certificate?

Đang mở
#3,748 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ó
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ệ
rust
Lĩnh vực
blockchain, cryptography

Hướng nghiên cứu

Start by tracing how the Mithril aggregator builds and serializes stake distribution certificates, then inspect the signer registration, quorum, and lottery-index limits for the stated protocol parameters. Determine whether signer growth can exceed the 512 KiB JSON limit and document any enforced or guaranteed bounds; the issue does not name specific files or tests.

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

Mô tả

The Cardano IBC light client accepts up to 512 KiB of certificate JSON as served by the Mithril aggregator. We’re trying to establish whether that limit accommodates every Cardano stake distribution certificate the mainnet aggregator can emit with k = 1944, m = 16948, phi_f = 0.2.

In the epoch 671 certificate the aggregate verification key committed to 231 registered signers. The metadata listed 172 signers and the proof included 61 signers contributing 1951 distinct lottery wins. I'd just like to confirm a few things:

  1. Is there any enforced maximum on the number of registered signers in an epoch, or on the number that can appear in a single certificate’s metadata or proof? Is it possible for all registered signers appear in both?

  2. If the aggregator adds a signer’s winning indices together and stops once it reaches quorum, is there a tighter bound on the total indices it can emit than the full lottery range? The epoch 671 certificate already shows the total can exceed k.

  3. Is there a known/guaranteed maximum serialized size for the compact certificate JSON? If there’s no guarantee could signer growth on its own make a certificate go over 512 KiB with the same protocol parameters?

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.