Post
Topic
Board Altcoin Discussion
Re: [DATACOIN] Brainstorming - Giveaway!
by
singula
on 04/01/2014, 04:26:22 UTC
Considering the relatively high cost of storing data in the chain and the fact that there are several cloud service offering few gigabytes of free space (but they can close your account, someone can hack the account ... so may not be so secure, though "good enough" for most people), the storage needs to be specialized.

One idea could be sort of connecting/interacting with tor, providing sort of DNS for TOR hidden services (mapping from some nice names to hidden service names abcdefghijkl.onion), or even normal services (IPv4/IPv6's) for countries with less favorable censorship laws.

It would work by storing special packet with DNS record, signed by private wallet key (it may be implicitly signed by the coin sender, but this may not be always what is wanted, for example if transaction is paid from some web wallet service or someone else).
Updates to DNS would mean republishing a new DNS record to replace the old one. It has to be signed by the same private key.

Optionally, the DNS record could also list wallet addresses (thereby defining private keys that can sign it), that can also update the records (i.e. create replacement records) for that domain - if such records are present, then management of the domain can be delegated to other people. Possibly it could be possible to delegate only part of a subdomain, like only "mail" subdomain to someone else.

So for example, if my address is DJEM5aC9TpuNf1SShV5ESdExKu2nGQH7sP and I want to register domain "singula.data" pointing to some hidden service in TOR, the record could look like:
Code:
DOMAIN|name=singula.data|address=zbcdefghijklmnoq.onion|owner=DJEM5aC9TpuNf1SShV5ESdExKu2nGQH7sP|delegation:mail.singula.data=(address of friend managing the mail server)
... and the whole will be signed by my private key (private key for my address DJEM5aC9TpuNf1SShV5ESdExKu2nGQH7sP)

Simple records would likely would fit into 1 Kb with the signature, so the cost would be 0.1 DTC

When resolving, you must unfortunately go from first block, find first record, then move up to see if there are replacement records and if they are correctly signed. Though you have to do the same for ordinary transactions Smiley

Domain records are short, so it would not cost a fortune to put these records in the blockchain (though unlike traditional DNS, you have to pay for updates) and may be a nice alternative to traditional DNS.