Altalogy / tari

The Tari protocol
https://tari.com
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Confirm whitelist vs. blacklist options for Redux data in local storage #218

Closed corquaid closed 2 years ago

corquaid commented 2 years ago

Follow-on issue from #40:

Tom: I'm wondering whether the whitelist would be a better option... whitelist is safer, but blacklist is more convenient. Also, whitelist decreases a chance that we will store large amount of data. I could not find any information about restrictions on the localStorage size in Tauri, usually it is about 10 Mb in web browsers.

Tarnas: yes, whitelist is safer, but I was lazy, we can come back to it and check it again, there's a possibility that once we start to collect performance stats etc. we'll have to revisit this and change the way we persist store, but it's a small change we can always do

tomaszantas commented 2 years ago

Reviewed this concern and the localStorage data: