Support the certificate chain cache modes in the explorer

Đang mở
#3,588 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 2 ngày

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/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, wasm
Lĩnh vực
blockchain, frontend

Hướng nghiên cứu

Start at the explorer's WASM client creation and the certificate verification modal, then trace how verification events and cache resets are displayed. Add selection and display of EarlyStopVerification or FullVerification, pass the selected mode to the client, and verify that reset behavior and event display work in both modes.

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 WASM client now supports two certificate chain cache modes (EarlyStopVerification, the default, and FullVerification), whereas the explorer can only enable or disable the cache and does not tell the user which mode is used.

What

Adapt the explorer so that the user can select the certificate chain cache mode and see which mode is used during a certificate chain verification.

How

  • Pass the certificate_chain_verification_cache_mode option when the WASM client is created in the explorer
  • Add a new "Settings" popup (opened via a settings wheel on the top right of the screen, must be responsive):
    • Do not display the settings button in stable version yet
    • Add a section for Cache
    • Add a use cache checkbox
    • Add a reset cache button
    • Add a dropdown menu for switchign the type of cache when activated (EarlyStopVerification or FullVerification)
  • Display the mode in use and adapt the verification events display to the early stop mode
Ngôn ngữ chính
Rust
Star
155
Fork
52
Merge trung bình
2 ngày 17 giờ
Pull request đã merge (30 ngày)
37

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.