Post
Topic
Board Announcements (Altcoins)
Re: Qora | POS | Assets | Names | Polls | Automated Transactions | Social Network
by
Skerberus
on 03/12/2015, 18:42:13 UTC
hello. i can upload in blockchain small file 139 kb? And how i can download his after 1-2 years?

You can upload arbitrary data into the namestorage of your name. So open your Qora client: In order to use the namestorage you need to register a name, if you don't have a name yet you can register one here (names must be lowercase!) http://127.0.0.1:9090/registername . After that browse to http://127.0.0.1:9090/index/namestorage.html . Choose your name from the dropdown menu. After that choose a key under which you will find the file later (e.g. myfile.txt). Use the browse button and choose your file and press upload. After that is done you need to press the submit button to upload it into blockchain and approve the security call. Keep in mind that there is a 50 transaction per batch restriction at the moment, so if your file exceeds that limit uploading it will be forbidden, so 139KB might be too much if it can't be compressed well.
Keep in mind that the namestorage is public so after uploading the file everyone will be able to download that file here http://127.0.0.1:9090/yourname/yourkey so you need to encrypt it yourself if you don't want others to read the content.

Can I read up somewhere on how exactly that storage works ?

Here is a common explanation:
What is NameStorage?
The NameStorage is basically a decentralized data storage that is tied to names that can be registered or bought through name exchange. The NameStorage allows the owner of the corresponding name to store arbitrary data (e.g. pictures, files) in the NameStorage. Only the owner of a name can change the corresponding NameStorage, but everyone can access the uploaded data in an easy way. The data is stored with the help of special arbitrary transactions that have the service number 10. The NameStorage itself is key/value based which means you store the data under a key which will be in most cases the name of the file.

Feel free to ask any more questions.