Info

Download ZIP (32.3 KB)

Testing and Issues

You can test this entry and submit issues during the testing period of the Blockchain Contest contest.

Entries with serious issues will not be able to win the contest, but even minor issues might be important for overall results.

Voting

44

Comments

Automatic DNS Resolver
4
The current solution supports next features:
- simple subdomain registrar;
- recursive subdomain registrar;
- pure dns resolver (getter; could be run locally);
- recursive dns resolver (with look up request to other dns resolvers and sending result messages to nowhere);
- total register price calculator;
- price list getter;
- method to change owned dns record;
- method to extend expiration time;
- method to withdraw profit (for dns resolver owner);
- scripts to create new resolvers;
- scripts for all supported requests;
- automated testing;
- Docker support.

More information about deployment, testing, and project layout can be found in README.md
7
You have not added any comments yet...
by rating

Issues

Clever Turkey Nov 4, 2019 at 19:23
Automatic DNS:
+ Automatic forwarding of add/change domain queries.
+ Adds zero to domain name, preventing basic denial of service attacks.
+ Ability to withdraw earnings.
+ Ability to receive donations.
- Price is not calculated recursively for child cells.
- In calc_cost ext_bit_payment and ext_ref_payment used as prices and not as price exponents.
- No garbage collection for expired domains.
- Returns number of bytes instead of number of bits.
- There is no way to change prices after the contract is created.
- Owner check doesn't compare workchain_id.
- Seqno is increased when domain is added.
10
Groovy Fly Nov 6, 2019 at 17:48
Thanks! That's great points for the future improvement
Shiny Giraffe Oct 21, 2019 at 12:08
Price calculation is not correct, it calculates just amount of bits and cell refs in hashmap tree root not accounting value of hashmap leaves and interim cells themselves (which make up most of actual used storage). This way calculated price is way underrated.
Nobody added any issues yet...