Write `get-file` and commands to get the list of blocks from another node
Compare changes
- DISSOUBRAY Nathan authored
+ 2
− 1
@@ -72,7 +72,8 @@ pub(crate) async fn main() -> Result<(), Box<dyn Error>> {
This closes #1 (closed) by providing an API that allows to get a file with just its hash
get_file
, get_blocks_info_from
and other things related to managing the filesystemget_file
and change the already existing test to use the new APIThe get_file
is still very rough, the error management needs to be handled better to take into a lot more cases of failure