bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 7쪽 중 1쪽
Quant Overledger ®
Whitepaper
Release V0.1 (alpha), 31 January 2018
Gilbert Verdian, Paolo Tasca, Colin Paterson, Gaetano Mondelli
research@quant.network
Abstract
The traditional Internet architecture hasn’t yet achieved its vision of an open, trusted
and secure network. The technology of distributed ledger technologies (DLT) and their
broad range of applications across finance, healthcare, supply-chain and many other
sectors, is an opportunity for the Internet to adapt and honour what was originally
envisaged, and reach its potential as a decentralised network of networks. While
providing a broad range of benefits, the fast-paced environment of DLTs lack seamless
inter-communicability, internally among ledgers, and externally with existing networks.
This limitation forces distributed applications to be single-ledger-dependent, i.e. limited
to be only executed on a single ledger. From a technology perspective, the fact that
distributed or decentralised applications are single ledger-dependent, makes it difficult
to choose the appropriate DLT fit for a purpose, meeting technical and business
requirements when considering DLTs for decentralised applications. This technical
dependency slows down mass-adoption, limits scope, impedes scalability of new
features and reduces necessary controls required for data security and privacy. From a
business perspective, a single-ledger DLT application increases the amount of risk,
complexity and effort needed to adopt multiple DLT technologies, in many cases even
duplicating resources and investments. Enterprises are forced to accept financial risk,
due to a monopolistic approach to DLT fees, by limiting options to manage fees and
transaction costs. All challenges listed limit widespread adoption and a critical mass of
users. This paper proposes a solution to this problem of single-ledger dependency, by
introducing a new technology for the design, deployment and execution of multi-ledger
decentralised applications. This technology’s called Overledger.
Page of 248
Table of Contents
Abstract 1
1. Introduction 3
1.1 Background Information 3
1.2 State of the Art 5
1.2.1 Purpose 5
1.2.2 Interoperability 7
1.2.3 Layer of Communication 9
1.2.4 Connection Method 9
1.2.5 Scalability 1 0
1.2.6 Fault Tolerance 1 1
1.2.7 Connection Speed 1 2
1.3 Overledger Philosophy 1 3
2. Overledger 1 5
2.1 Messaging Layer 1 6
2.1.1 Standardization 1 7
2.1.2 Messages and Information Out of the Chain 1 7
2.1.3 Messages and Security Properties 1 9
2.1.4 Improve Privacy Specification 2 0
2.1.5 Shortcomings of Messages Out of the Chain 2 3
2.1.6 Speed and Throughput of Messages 2 4
2.2 Filtering and Ordering Layer 2 5
2.2.1 Filtering Criterion in Overledger 2 6
2.2.2 Ordering Criterion for Overledger 2 6
2.3 Cross-Ledger Transactions 3 5
2.3.1 Blockchain and transaction properties 3 6
2.3.2 ACID and Blockchain 3 7
2.3.3 BASE and Blockchain 3 7
2.3.4 Cross-Ledger Transaction and ACID 3 8
2.3.5 Two-phase Commit and Cross-ledger Transactions 3 8
2.4 Application Layer 4 1
2.4.1 Overledger Applications 4 1
2.4.2 Application level responsibility 4 2
3. Use Cases 4 4
3.1 CQRS-ES and Overledger 4 4
4. Conclusion 4 6
Bibliography 4 7
Page of 348
1.Introduction
The invention of Bitcoin [1] achieved a new technological milestone: the blockchain.
Although the underlying technology in blockchain isn’t new, the innovation results from a
combination of existing technologies integrated in an original way, to create blockchains.
The components (i.e., Merkel Tree, concatenated hashes, public-key encryption) were
established technologies, well before the Bitcoin paper by Nakamoto in 2009 [2].
At the moment of writing, we may argue that, according to the Technology Life
Cycle theory, we’re at the beginning of the so-called phase of “fermentation” ,
characterised by technological uncertainty, due to the evolution of blockchain into
alternative technical paths. The industry promotes different model designs, favouring
functional and performance aspects over others, to meet specific business goals.
Currently, there are more than a thousand digital currencies (for clarity the phrase digital
currency and cryptocurrency will be used interchangeably through the paper) and tokens,
and thousands of blockchain projects under development in different sectors worldwide
[3].
The current blockchain ecosystem is too fragmented and complex, with progress
being achieved in silos. The variation of blockchain designs and their possible
configurations represent a hindrance for enterprises, software architectures and
developers. A heterogeneous development brings lack of blockchain interoperability and
compatibility within blockchain networks as well as existing systems and networks. That
is, the ability for blockchains to exchange information between them and with off-chain
systems. This lack of interoperability is a threat to the wide and uniform adoption of
blockchain applications in our techno- and socio-economic systems. Apart from the
technical challenges existing (e.g., key management, filtering and ordering of messages),
the lack of interoperability between ledgers, in itself, also presents business risks. A
major concern consists of decoupling different business logic from the underlying
ledgers to increase the communicability among them by preserving privacy requirements
[40-41].
Thus, as was the case with the Internet, it’s necessary to provide off the shelf
software and development tools that simplify how to develop and deploy distributed
ledger (DLT) applications without requiring developers to build various components from
scratch. By addressing the above risks, decentralised applications will grow and become
increasingly interoperable and widely adopted.
Page of 448
1.Background Information
In order to address the problem of blockchain interoperability, software reference architectures
for blockchain interoperability should be set up. However, the majority of existing technologies
trying to connect DLTs define a standard of interoperability within their platform, but not
outside. The integration with legacy or other DLTs is challenging and difficult to implement.
Choosing the correct technology becomes crucial because it’s hard to foresee which will be the
most suitable, even in the short term, without the uncertainty presented by other external
factors such as technologies forking, becoming insecure, or being abandoned altogether. In the
development of blockchain applications, the choice of the underlying blockchain technology
can’t be easily undone. Migrations aren’t always possible because the transactions only have
scope on their blockchain address space. For example, Blockstack [10], an open-source project
to create, manage and use decentralised apps on a blockchain, decided to move from
Namecoin to Bitcoin because the first technology was considered less secure. The migration of
applications is a problem that can soon apply to those running on Ethereum [17]. This is an
endless problem and the solution can’t be merely designing better and smarter blockchains.
Front-end technologies of today will become obsolete in a few years, due to planned and
unplanned obsolescence. To solve these issues, Overledger presents the following solutions:
!Introduction of new scripting languages, or updating existing ones;
!Scaling applications (e.g. increasing transaction speeds);
!Communication among different DLTs for cross-ledger operations;
!Adaptable technology that can change to meet newer sector-specific requirements and
regulation; and
!Mitigation tools against new security threats.
Overledger is a new blockchain operating system intending to solve the problems of single-
ledger dependency by increasing communicability among DLTs, allowing general purpose
applications to run on top of different blockchains. Overledger abstracts single-ledger
dependent technology to overcome the bound of different architectures regardless of
addresses, ledger implementation and consensus mechanisms. Rather than defining a specific
platform with multiple connectors, accommodating the plugin of the compliant DLTs, our
solution introduces a vendor-independent wire-level protocol for message-oriented middleware.
By decoupling the Transaction Layer with a shared Messaging Layer, Overledger provides a
unique solution to interoperability for digital ledger environments. Overledger also allows the
business logic to decouple from the underlying ledger. It increases communicability among
chains with the privacy constraints decentralised applications demand.
Readers familiar with distributed systems, are aware of the differences between blockchains and
the larger family of DLTs. By DLT we generally mean a database technology where records of
decentralised and transactional data are stored in sequence (not necessarily grouped in blocks),
in a continuous ledger spread through a network across multiple locations. Blockchain is a
particular kind of DLT in which batches of transactions are held in blocks, and the blocks are
linked with hash pointers in a chain. Each block contains the hash of the prior block in the chain,
as a method of keeping the integrity of each set of data in the blockchain. For the sake of
Page of 548
simplicity, here out we’ll use the terms blockchain and distributed ledger technologies
indistinguishably. From time to time we’ll refer to the blocks of the chain. Nevertheless,
Overledger is a universal, and general-purpose operating system, among the family of
distributed ledger technologies.
Privacy constraints and data ownership in applications requiring transparency is a challenge
many projects are exploring (e.g. Blockstack, Digital Holding Asset [14] and Sidechains [5]
(Section 1.2)). In the future, when decentralised blockchain applications will spread widely, it’ll
be necessary to create a method for allowing applications to communicate, exchange and
replicate data across multiple blockchains. Finally, it will be easier to compare the performance
of different blockchains running the same application. All these aspects together will help boost
blockchain technology, its applications, and the opportunities to exploit the technology widely.
The next subsection will analyse existing solutions to the problem of single-ledger dependency.
We’ll also introduce mathematical models with the order theory for blockchains, considering
other technical aspects of the underlying blockchain technologies required to deliver such a
solution.
2.State of the Art
This section provides an overview of those projects that, although pursuing different final goals, propose
alternative solutions to the problem of the lack of blockchain communicability and interoperability. This is
a rather new and evolving stream of research; therefore, we focused only on the main projects and
compared them with Overledger:
●Virtualchain by Blockstack [7]
●Sidechain by Blockstream [5]
●Interledger Protocol by W3C [15]
●Cosmos by Interchain [8]
●Polkadot by Parity Technologies [16]
●AION-1 by Nuco [19]
We decided to explain the state of the art of communicability among blockchains by using a set of
parameters of interest to our project (see Table 1):
1.Purpose;
2.Interoperability;
3.Layer of communication;
4.Connection Method;
5.Connection Speed;
6.Scalability; and
7.Fault tolerance.
1.2.1 Purpose
Virtualchain. Blockstack introduced Virtualchain to build state machines on top of the underlying
blockchains. The main idea behind Virtualchains is to extend the blockchain’s business logic and allow for
the ability to migrate among DLTs, without changing the underlying DLT. Virtualchains are overlays on top
Page of 648
of specific blockchains for building multiple state machines and allowing the migration from one
blockchain to another. Migration requires two ledgers to communicate with each other. In this context,
some applications run on a single blockchain and are represented by virtual state machines. The way
these state machines evolve is by adding new operational codes of functions (op_code) in the
transactions' blocks. This is implemented in the additional data field of Bitcoin called OP_RETURN. In this
additional field the hash of the new state is added to the state machine after this last operation is
executed. It makes the system fork-consistent.
Table 1: Comparison among projects aiming to increase intercommunication between DLTs. In the Interoperability
section below, we explain the convention used in this table.
Interledger Virtualchain Sidechain Cosmos Polkadot Aion Overledger
Purpose
Payments
across
different
payment
systems
based on DLT
Ability to
migrate from
one DLT to
another for
fault
tolerance
Add new
innovative
features to
the main
crypto
currencies
Overcome
Blockchain
limits and
transfer
assets
Transfer
assets and
data (smart
contract)
Solve
Blockchain
isolation
problem
Build a
messaging
layer for
multi-
ledgers
applications
Interoper-
ability 1-C-1 1-C-1 1–1 N-C-N N-C-N N-C-N N–N
Layer of
comm.
Transaction
Level
Over the
transaction
level
Transaction
Level
Protocol
based
(transaction
level for
legacy
ledger)
Protocol
based
(transaction
level for
legacy
ledger)
Protocol
based
(transaction
level for
legacy
ledger)
Over the
transaction
level
Connection
Method
Two phase
commit
Two phase
commit like
Two phase
commit (two
way peg-
SPV)
Two phase
commit like
(Tendermint)
Two phase
commit (SPV)
Two phase
commit
Two phase
commit
Connection
Speed
Notaries /
Entity
consensus
Migration
time
Confirmation
and Contest
Period
Proportional
to the
validator
number
Protocol time
depended
Protocol time
depended
Protocol
(flexible) time
depended
Scalability
Ledgers
allow
connectors to
run nodes
Ledgers
allow to write
metadata
Ledger’s
compliance
with two-way
peg
Should
implement
IBF to talk
with The Hub
Should
implement
the polka dot
security
consensus
Aion-
compatible
Ledger’s
readability
and/or
writability
Fault
tolerance
Depends on
notaries or
institutions
that validates
transactions
Depends on
the two
blockchains
involved in
the migration
Security
faults on
sidechain are
confined in
the sidechain
itself.
Confined in
the zones
(User
responsibility
on where
they move
coins)
Para chains
follow rules
and
consensus of
Polkadot
Compatible
blockchain
Aion-1 follow
rules and
consensus of
Aion-1
Protocol
based
Page of 748
Cosmos. Cosmos is a project with an ambitious mission: the creation of a network of distributed ledgers
that will solve “long-standing problems” in the cryptocurrency and blockchain communities. The Cosmos
project wants to solve all the traditional issues of blockchains like energy inefficiency (PoW), limited
performances regarding transactions compared to conventional centralised systems, poor governance
strategies, for example, when a change in the protocol needs to be implemented.
Polkadot. Polkadot’s vision is to build a web where people have direct control of their data. Polkadot, like
Cosmos, is a network of ledgers that allows the exchange of assets and data through ledgers.
Interledger. The protocol for Interledger payments, a Ripple project, wants to allow secure payment
transfers between different ledgers. Today this service is provided by centralized systems, like Western
Union, which need to be trusted by the endpoints of the transactions. Interledger wants to enable
payments between any users holding assets in separate ledgers, without the need to trust a third party.
AION-1. Aion seeks to solve scalability, privacy, and communication issues among digital ledgers. It aims
to provide decentralised accountability among blockchain networks. AION claims to introduce a next-
generation blockchain that enables intercommunicating blockchains. The first generation presents the
distributed ledger technology, cryptographically secured like Bitcoin, and the second one enhances smart
contract and distributed apps, like Ethereum. According to the AION classification, the third generation
adds the ability of communication and value exchange among ledgers.
Sidechain. Sidechain and Interledger protocols are two projects aiming to promote communication
among blockchains and allow asset transfers. While Sidechain builds ad-hoc external chains that can
interact automatically with just a specific blockchain (not full mesh connection), Interledger needs the use
of external nodes (the connectors), with a further consensus mechanism to allow currency conversion,
without the need to trust a third-party exchanger. The focus of Sidechain’s to allow ledgers (notably
Bitcoin) to transfer coins in particular chains that are innovative and have new cryptocurrency features.
This should extend traditional cryptocurrencies like Bitcoin, limited by their original protocol.
Overledger. The projects introduced so far are “single-ledger dependent”. They start from the same
point: blockchain protocols are not adaptive to needs. I.e., they propose particular solutions to solve only
specific needs. Differently, Overledger is a universal and general-purpose technology. For this reason,
although Overledger shares common technical aspects with some of the existing projects, it decouples
the business logic from the underlying ledger technologies. This means general-purpose applications can
sit on top of different ledgers at the same time, with the ability to communicate. In fact, we propose an
“over layer” on top of existing blockchains which applications can run on. Thus, the applications can
communicate, migrate and exchange information and value, regardless of the ledgers on which they’ve
been deployed. Overledger enables users to build decentralized multi-chain applications which aren’t
single-blockchain dependent. This means users can run applications, smart contracts, treaties or move
data across different blockchain technologies. This original approach will empower the adoption of
blockchain technologies across various sectors and use cases, enabling large-scale adoption of the
technology, without tying it to a particular vendor or chain.
Page of 848
1.2.2 Interoperability
One of today’s challenges with distributed ledgers is they exist in silos. Different structures and working
mechanisms make it harder, if not impossible, to build a common interface. Moreover, in general, users
have different rights on different ledgers. For example, only a group of people can append data on a
permissioned ledger while another one can only read the data. We tackle the interoperability issues by
positioning Overledger on top of the ledgers, rather than struggling to order and match different ledgers.
In our approach, we distinguish ledgers with the ability to read and write from ledgers that are readable
only. A ledger that offers a write function of arbitrary strings long enough to host a hash is classified as
writable. In this case, users can use optional fields of a regular transaction to add the hash of arbitrary
messages. The ledgers that don’t offer a write function of arbitrary strings, but do offer a read operation,
are labelled readable.
Until now, the proposed solutions for blockchain interoperability depend on the specific goals for which
the projects were originated.
Interledger. The protocol for Interledger payments can connect any two ledgers having a connector with
at least one node in each of the ledgers. It’s possible to connect two ledgers, let’s say A and C, not
directly joined by a connector, if there’s a path between ledgers that starts from A and ends in B.
Virtualchain. Virtualchain allows running a state machine on the top of a specific blockchain. If the
underlying blockchain becomes 프로젝트로 돌아가기