ππ Documents of the QuarkChain Name Service.
QuarkChain is a secure, permission-less, scalable, and decentralized blockchain. One of the goals of QuarkChain is to utilize sharding technology to deliver over 1 million transactions per second (tps). Essentially, QuarkChain markets itself as a peer-to-peer blockchain with a high capacity throughput to help deliver fast and secure decentralized applications.
BNS β or blockchain name system β is the protocol on the internet that turns human-comprehensible decentralized website names such as βwebsite.perlβ or βmywebsite.ethβ into addresses understandable by decentralized network machines.
QCNS is the QuarkChain Name Service, a distributed, open, and extensible naming system based on the QuarkChain blockchain.
QCNS plays an connecting and entry layer in Web3.0 services. It connects with QuarkChain wallet, blockchain server, decentralized content resources, and decentralized database.
Continuous updating
Launched testrpc on port 8555
Running: truffle test
(this can take a few seconds)...
Using network 'development'.
Contract: QCNS
β should allow registration of names (96ms)
β should register a domain (122ms)
β should check resolver interfaces (103ms)
β should not support a random interface
β should set resolver for node (139ms)
β should set text (197ms)
β should set address (179ms)
β should set multihash (187ms)
8 passing (3s)
--------------------|----------|----------|----------|----------|----------------|
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines |
--------------------|----------|----------|----------|----------|----------------|
contracts/ | 75 | 50 | 76 | 77.5 | |
QCNS.sol | 100 | 100 | 100 | 100 | |
QCNSRegistrar.sol | 100 | 50 | 100 | 100 | |
QCNSRegistry.sol | 78.57 | 50 | 77.78 | 80 | 68,69,96 |
QCNSResolver.sol | 66.67 | 50 | 69.23 | 68.42 |... ,98,129,140 |
--------------------|----------|----------|----------|----------|----------------|
All files | 75 | 50 | 76 | 77.5 | |
--------------------|----------|----------|----------|----------|----------------|
Istanbul coverage reports generated
Cleaning up...
Shutting down testrpc-sc (pid 87275)
Done.
See CHANGELOG.md.
See CONTRIBUTING.md for how to help out.
See LICENSE for details.