---
# System prepended metadata

title: Roadmap Brainstorming

---

# Roadmap Brainstorming

## Renter

Ideas related to the Renter module.

---

### 1. Global Map 

* maps all sector roots -> [](contract + sector index) + refcount
* is populated on startup by scanning contracts and .sia files

##### Enables

* improve repair code to deduplicate roots
* implement pruning
* conversion skylink -> .sia file

---

### 2. Turn .sia files into .sky files

* new file format for skyfiles

##### Enables

* slims down metatadata since skyfiles upload their metadata
* maybe allow for combining metadata for large uploads into single file

---

### 3. Get rid of siapaths in API and derive them from skylink

* make siapath a hash of (skylink | secretSalt)
* don't specify them in the API / nginx

##### Enables

* constant time lookups for .sia files for corresponding skylink

---

### 4. When repair fails, resort to hasSector jobs

* use hassector lookups for unavailable skyfiles

##### Enables

* allows for repairing potentially unrecoverable files
* probably needs to be combined with global map


### 5. Specify max cost for storage, upload and download in allowance

* add fields for max costs to allowance
* hosts that exceed the max will get a score of 1

##### Enables

* cost optimisation

## Host

---

### Sector deletion with refund

* Host refunds renter into EA when a sector is deleted
* refund is proportional to how many blocks are left in contract

---