Skip to content

Download by Root

Matthew Sevey requested to merge sevey/download-by-root into master

MERGE REQUEST

MR Guidelines

Overview

This MR adds a /skynet/basesector/*skylink endpoint which returns a stream of the baseSector without any decoding of the metadata or decryption.

This MR additionally creates a top level skynet library and moves ParseSkyfileMetadata into it along with the necessary structs and functions to avoid circular dependencies.

The siatest verifies the functionality for small skyfiles. Large skyfiles will be handled in a follow up MR.

Follow Ups

  • Add fanout support and Testing for large files
  • Add siac support
    Follows up started on !4865 (merged)

Example for Visual Changes

Checklist

Review and complete the checklist to ensure that the MR is complete before assigned to an approver.

  • All new methods or updated methods have clear docstrings
  • Testing added or updated for new methods
  • Any new packages are added to Makefile and .gitlab-ci.yml
  • API documentation updated for API updates
  • Module README.md updated for changes to workflow
  • Issue added to Sia-UI repo for new supporting features
  • Changelog File Created

Issues Closed

Closes #4321 (closed)

Edited by Matthew Sevey

Merge request reports