Closed silkroadnomad closed 6 years ago
It would be interesting question if we'd not save the domain information in the DNS but in the blockchain itself, so when which PublicKey for which domain will be recorded for ever.
e.g. name_doi d/example.com publicKey
When a confirm-dApp should change its CONFIRM_ADDRESS and/or public key, the signatures with already signed DOI's must stay verifiable in future.
E.g. the TXT field in DNS is changing ...
https://github.com/Doichain/dapp/blob/master/imports/modules/server/opt-ins/verify.js#L39 https://github.com/Doichain/dapp/blob/master/server/api/dns.js#L25 https://github.com/Doichain/dapp/blob/0.0.5/imports/modules/server/doichain/update.js#L45