GET `/slice/:blake3_hash/:slice_index/:slice_range` HTTP route
@rustchain64 đang làm issue này rồi.
Từ ngày 7/3/2023.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
This allows storage clients to request a minimal subset of storage data.
This can optimize by the fact that slices are always 1KB, and segments are always 1MB, so only the specific segments needed will be verifiable.
Use this method for retrieving the slice: https://docs.rs/carbonado/latest/carbonado/fn.extract_slice.html
For now, let's only support a slice range of 1, since extract_slice only returns 1KB at a time.
The test for this should then take this slice data and run it through this method:
https://docs.rs/carbonado/latest/carbonado/fn.verify_slice.html
It will need to verify against the bao hash, not the blake hash, which corresponds to the segment. So, the catalog file will first be needed, which can be parsed using read_catalog, and then the bao hash corresponding to the slice index can be found.
Except for the last file, there should be 1024 slices to a segment, divide by 1024, the result should be the segment, and the remainder is the index within that segment.
The error for requesting a slice range other than one also will need to be handled.
- Ngôn ngữ chính
- Rust
- Star
- 3
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của bitmask-stack/carbonado-node
-
Production Node EpicĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
-
Refactor RoutesCó thể làm lại được @cryptoquick đã nhận 1241 ngày trước và không có pull request nào đang mở. Đang mở
bitmask-stack/carbonado-node#49 · 1 người được giao ·
-
LDK integrationĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
-
File expirationĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
Versioned catalogsCó thể làm lại được @rustchain64 đã nhận 1047 ngày trước và không có pull request nào đang mở. Đang mở
bitmask-stack/carbonado-node#46 · 1 người được giao ·
Tất cả issue của bitmask-stack/carbonado-node
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
adorsys/status-list-server#698 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Expose the dot grid colourĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
nannou-org/egui_graph#92 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 72/100
sujithputta02/Esapay#13 ·
-
Deduplicate normalized_f64_bits (hash_table.rs and bloom_filter.rs)Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
tursodatabase/turso#10002 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
topgrade-rs/topgrade#2419 ·
Maintainer thường phản hồi trong vòng 1 ngày