ProvenDB - Litepaper
ProvenDB Logo Home Databases and the Blockchain Immutability is revolutionary Blockchain proofs and the law Blockchain vs DBMS Introducing ProvenDB What is ProvenDB? Why use ProvenDB? Where is ProvenDB useful? How ProvenDB works What is a hash? Blockchain proofs Architecture Performance and Economics ProvenDB Features Document Management
collapse_or_expand

Menu

Databases and the Blockchain

Cryptocurrency and Blockchain technologies have the potential to be as powerful and disruptive as the internet itself. Database systems need to evolve to leverage Blockchain capabilities.


The Blockchain represents a new type of database:

Globe

Public

Transactions on the Blockchain are public.

Cluster

Distributed

Not controlled by any central party.

Lock

Tamper-proof

Transactions cannot be altered.

Security

Immutable History

The full history of all transactions are preserved.

Shape 1 Shape 14 Shape Shape 3

Immutability is revolutionary

They say history is written by the winners. In databases, history is written by the developer or the DBA. There's no practical way to detect back-dating or tampering with historical data, but there's no arguing with Blockchain data.


Once sealed on the Blockchain, historical data is immune from modification.

Quote

Wall Street Journal

"Trust is a foundational feature of the Blockchain as the data written into it is immutable, and can never be changed, modified or removed."


https://on.wsj.com/2PJ1Wem

Quote

Hangzhou Internet Court (China)

"The usage of a third-party Blockchain platform that is reliable without conflict of interests provides the legal ground for proving the intellectual infringement."


https://bit.ly/2R8dw3H


Quote

Arizona Bill HB2603

"A signature that is secured through Blockchain technology is considered to be in an electronic form and to be an electronic signature."


https://www.azleg.gov/ ars/44/07061.htm


Quote

National Conference of State Legislatures

"Blockchain legislation pending or passed in at least 18 US states."


https://bit.ly/2L4Oksc


Quote

2016 Vermont Statutes Title12

"A digital record electronically registered in a Blockchain shall be self-authenticating pursuant to Vermont Rule of Evidence 902."


https://bit.ly/2OFHNtS



Blockchain proofs and the law

The immutability of data within a Blockchain constitutes a revolution in computer science. For the first time, we have a way of storing data which cannot be altered and whose creation data and integrity can be cryptographically proven.

Data in a traditional database can be altered at any time by a database administrator or a privileged developer. In contrast, data in a public Blockchain is immutable. We now have an absolute mathematical proof of the veracity and provenance of a data item.

Blockchain cryptographic proofs are increasingly being recognized as legal proofs. We can foresee a day in which Blockchain records are held to the same evidentiary standards as DNA or fingerprint records.

Shape 14 Shape 10 Shape Shape 13

Blockchain vs DBMS

Compared to a traditional DBMS, the Blockchain has many drawbacks:

Speed

High Latency and
Low Throughput.


Storage

Limited Data
Storage Capacity.

Open Lock

Transactions Are
Publicly Visible.

Structure

No Schema or
Data Model.

Card

Expensive
Transactions.

Developer

Poor Developer
Productivity.

Shape 1 Shape 14 Shape

Request a demo

Request a free demo to find out how ProvenDB can help you and your business.

Introducing ProvenDB

Shape 14 Shape 10 Shape Shape 13

What is ProvenDB?

Immutability

Immutability

By default, all versions of a data item are retained. Previous versions of a data item can be superseded, but original versions are never destroyed.

Tamper Detection

Tamper Resistance

Selected versions of the database are hashed upon the Blockchain. These versions can be proven to have been created at the specified time and can be proven to have been unaltered.

Point-in-time History

Point-in-time History

The state of a database at any point in time can be retrieved.

Data Provenance

Data Provenance

The complete history of any item can be retrieved, showing its initial contents, and the changes made to the document at each point in time.

Why use ProvenDB?

Certificate

Prove ownership of intellectual property


Pending

Prove timestamps for legal instruments


Secure Document

Prove that records have not been falsified or tampered with

Terminal

Create a log of all document changes


Shape 1 Shape

Where is ProvenDB useful?

Secure Document

Regulatory Compliance

Establish a tamper-resistant digital store for critical compliance information.


City

Finance and Accounting

Render financial records immune from malicious tampering or backdating.


Certificate

Intellectual Property

Prove the ownership and creation date of intellectual property and eliminate questions of authorship or prior art.


Law

Legal Document Management

Prove the origin, integrity and ownership of wills, contracts, court papers, or any other legal document.

Government

Government and Public Records

Eliminate counterfeiting and tampering for licenses, certificates, and public records.


Security

Secure Systems

Build highly secure and tamper-resistant systems. Eliminate tampering or falsification of access logs and access control records.

Shape 1 Shape 14 Shape Shape 3

Live demo

Play, debug, and share your queries right in your browser using ProvenDB's Playground.

How ProvenDB works

ProvenDB can prove multiple documents with a single hash using a Merkle tree. We don't need a whole tree to prove an individual document that is included in the final hash - we only need the "Merkle path." Thousands of documents can be included in a single Merkle tree - all anchored to a single Blockchain transaction.

Globe
Shape 14 Shape 10 Shape

What is a hash?

A hash is a mathematical "signature" of a document - a digital fingerprint. The chances of two documents having the same hash are infinitesimally small. Hashes are far, far more precise proofs of document identity than DNA or fingerprints.

Blockchain proofs

ProvenDB can generate proofs for a database version or a single document. Although only the hash for a complete version is anchored on the Blockchain, ProvenDB can supply a Merkle tree path which provides cryptographic proof that a given document was included within the Blockchain hash. In this way, users of ProvenDB may obtain proofs for individual documents that can be validated without the need to access any other documents within the database.

Architecture

ProvenDB presents a MongoDB compatible API to the database user. Every change to the database creates a new logical version within the database. The user can view the older versions at any time.

The database user requests a proof be placed on the Blockchain for a specific version. This proof can be used to prove the timestamp of the entire version or any document in that version.

Architecture
Left Shape 1 Right Shape 2 Shape 16 Shape 1

Performance and Economics

Blockchain is sometimes called "the world's worst database"; it offers truly terrible transactional throughput and storage costs. For instance, the Ethereum Blockchain can process only 15 transactions per second with a storage cost of hundreds of thousands or millions of dollars per Gigabyte.

The architecture of ProvenDB results in a penalty on storage overhead and throughout. However, this overhead is trivial compared to that of the Blockchain. While ProvenDB might be marginally slower and more expensive than a traditional database server, it is massively faster and cheaper than the Blockchain. ProvenDB offers a perfect compromise between the two technologies:

Globe
Shape 14 Shape 10 Shape Shape 13

Download Litepaper

ProvenDB Features

Document Model

  • MongoDB compatible Database service.
  • Data is represented as JSON documents.
  • Documents contain metadata to track and manage version information.

Versioning

  • ProvenDB keeps all versions of each document.
  • An update to a document creates a new version of a document without modifying the previous version.
  • A delete operation that marks the document as logically deleted without removing its content.
  • The user can query directly against previous versions of the database.

Fast Bulk Load

  • ProvenDB can be placed in a fast bulk load mode which only insert, and query operations are permitted.
  • Inserts may be submitted without the overhead of creating a new database version.

Export

  • ProvenDB can export the data and proofs for the entire database, a database version or individual documents.
  • These exports can be independently verified against Blockchain proofs using open source tools, ensuring that your Blockchain proofs remain valid even if you no longer have access to ProvenDB.

Strict Consistency

  • Serializable consistency ensures that versioning requests execute as if they had executed one at a time.

Right To Be Forgotten

  • "forget" allows all data for a document to be purged without compromising any existing proofs.
  • Forgotten documents are removed, but their hash value is retained.
  • Proving or viewing a forgotten document is impossible; however other documents in the database version remain provable.

Compaction

  • ProvenDB allows data between two proven versions to be compacted.
  • This saves storage without compromising the integrity of any database proofs.

Full Database Proofs

  • The entire state of the database can be established with a single Blockchain proof.
  • Proofs can also be obtained for individual documents.
Shape Shape 3
Blockchain Developers

Document Management

ProvenDB allows you to prove your personal documents, by passing the database API. The integrity, ownership and creation date of your documents are reliably stored on the Blockchain. The content of the documents can be private or shared.

Launch
Right Shape 1 Shape 1 Shape

Awards

Awards

Affiliated with

Partners