GET `/slice/:blake3_hash/:slice_index/:slice_range` HTTP route
@rustchain64 ya está trabajando en esto.
Desde el 7/3/2023.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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.
- Lenguaje dominante
- Rust
- Estrellas
- 3
- Forks
- 0
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de bitmask-stack/carbonado-node
-
Production Node EpicAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
-
Refactor RoutesQuizá libre de nuevo @cryptoquick la tomó hace 1245 días y no hay ningún pull request abierto. Abierto
bitmask-stack/carbonado-node#49 · 1 asignado ·
-
LDK integrationAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
-
File expirationAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
-
Versioned catalogsQuizá libre de nuevo @rustchain64 la tomó hace 1051 días y no hay ningún pull request abierto. Abierto
bitmask-stack/carbonado-node#46 · 1 asignado ·
Todos los issues de bitmask-stack/carbonado-node
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
home-assistant/installer#308 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
swc-project/swc-next#1053 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
nautechsystems/nautilus_trader#5387 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
NomicFoundation/edr#1872 ·
Los mantenedores suelen responder en 2 días
-
What happened to `check.py`?Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
linebender/resvg#1179 · 1 comentario ·
Los mantenedores suelen responder en 2 días