The Wayback Machine - https://web.archive.org/web/20190319024640/https://github.com/CovenantSQL/CovenantSQL
Skip to content
a decentralized, GDPR-compliant, trusted, SQL database with blockchain features
Branch: develop
Clone or download
leventeliu Merge pull request #285 from CovenantSQL/feature/bench_arg
 Refactor benchmark codes and scripts
Latest commit 73b61df Mar 18, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api
bin Use host default name server in docker Mar 6, 2019
blockproducer
chainbus Add cloudflare key Dec 5, 2018
client
cmd Add eventual consistency benchmark in GNTE Mar 18, 2019
conf Merge remote-tracking branch 'origin/beta' into feature/promote_beta Feb 25, 2019
consistent Format godoc Feb 25, 2019
crypto
docker
kayak
keys
logo Use new arch.png Oct 9, 2018
merkle Format godoc Feb 25, 2019
metric
pow/cpuminer Format godoc Feb 25, 2019
proto
route Merge remote-tracking branch 'origin/beta' into feature/promote_beta Feb 25, 2019
rpc Merge remote-tracking branch 'origin/beta' into feature/promote_beta Feb 25, 2019
sqlchain
storage Format godoc Feb 25, 2019
test Use independent config file for compatibility test. Feb 28, 2019
twopc Format godoc Feb 25, 2019
types Merge remote-tracking branch 'origin/beta' into feature/promote_beta Feb 25, 2019
utils
vendor
worker Merge remote-tracking branch 'origin/beta' into feature/promote_beta Feb 25, 2019
xenomint
.dockerignore
.gitignore
.gitlab-ci.yml Use independent config file for compatibility test. Feb 28, 2019
.gitmodules
.travis.yml Remove cql-adapter Mar 8, 2019
CHANGELOG.md
Gopkg.lock
Gopkg.toml
LICENSE
Makefile
README-zh.md Make observer into cql Feb 19, 2019
README.md
alltest.sh
analysisVendor.sh add analysisVendor.sh to generate dep tree png May 2, 2018
cleanupDB.sh
codecov.yml
docker-compose.yml Fix adapter init driver twice. Mar 5, 2019
fmtGoDoc.sed Format comment Aug 29, 2018
fmtGoImports.sh
genMarshalHash.sh

README.md

Go Report Card Coverage Build Status License GoDoc follow on Twitter Join the chat at https://gitter.im/CovenantSQL/CovenantSQL

中文简介

CovenantSQL is a GDPR-compliant SQL database running on Open Internet without central coordination:

  • GDPR-compliant: Zero pain to be GDPR-compliant.
  • SQL: most SQL-92 support.
  • Decentralize: decentralize with our consensus algorithm DH-RPC & Kayak.
  • Privacy: access with granted permission and Encryption Pass.
  • Immutable: query history in CovenantSQL is immutable and trackable.

We believe On the next Internet, everyone should have a complete Data Rights

One Line Makes Data on Blockchain

sql.Open("CovenantSQL", dbURI)

CovenantSQL 3 Layer design

  • Layer 1: Global Consensus Layer (the main chain, the middle ring in the architecture diagram):
    • There will only be one main chain throughout the network.
    • Mainly responsible for database Miner and the user’s contract matching, transaction settlement, anti-cheating, shard chain lock hash and other global consensus matters.
  • Layer 2: SQL Consensus Layer (shard chain, rings on both sides):
    • Each database will have its own separate shard chain.
    • Mainly responsible for: the signature, delivery and consistency of the various Transactions of the database. The data history of the permanent traceability is mainly implemented here, and the hash lock is performed in the main chain.
  • Layer 3: Datastore Layer (database engine with SQL-92 support):
    • Each Database has its own independent distributed engine.
    • Mainly responsible for: database storage & encryption, query processing & signature, efficient indexing.

How it works

How CovenantSQL works(video)

Demos

Papers

Our team members published:

that inspired us:

Libs

Network Stack

DH-RPC := TLS - Cert + DHT

Layer Implementation
RPC net/rpc
Naming Consistent Secure DHT
Pooling Session Pool
Multiplex smux
Transport Security Enhanced TLS
Network TCP or KCP for optional later

Test Tools

Connector

CovenantSQL is still under construction and Testnet is already released, have a try.

Watch us or follow on Twitter for updates.

TestNet

Contact

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.