muneeb ali - experiences with scaling blockchain …muneeb —> krugman 2 coins (confirmed) bill...

Post on 20-Aug-2020

3 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

Experiences with Scaling Blockchain-based Data Stores

Muneeb Ali, Co-Founder & CTO

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

Table of Contents

Brief Intro to Bitcoin

A Simplified Model of Blockchain Time

Ownership Using blockchain as data store / naming

Why We Need Decentralized Identity

Experiences from a Production Network

Blockstore: Key-Value Store on BTC Blockchain

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

Bitcoin

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

Let’s design a new currency…

Ledger Currency

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

Ledger Currency

Let’s design a new currency…

Muneeb Ali 10 coins

Brian Kernighan 10 coins

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

Ledger Currency

Let’s design a new currency…

Muneeb Ali 10 coins

Brian Kernighan 10 coins

Paul Krugman 0 coins

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

Ledger Currency

Let’s design a new currency…

Muneeb Ali 10 coins

Brian Kernighan 10 coins

Paul Krugman 0 coins

Muneeb —> Krugman 2 coins (unconfirmed)

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

Ledger Currency

Let’s design a new currency…

Muneeb Ali 8 coins

Brian Kernighan 10 coins

Paul Krugman 2 coins

Muneeb —> Krugman 2 coins (confirmed)

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

Congratulations!

You just learned how Bitcoin works.

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

Ledger Currency

Muneeb Ali 8 coins

Brian Kernighan 10 coins

Paul Krugman 2 coins

Muneeb —> Krugman 2 coins (confirmed)

Bill Gates 0 coins

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

Ledger Currency

Muneeb Ali 8 coins

Brian Kernighan 10 coins

Paul Krugman 2 coins

Muneeb —> Krugman 2 coins (confirmed)

Bill Gates 0 coins

Muneeb —> Bill 2 coins (unconfirmed)

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

We need a distributed ledger (blockchain)

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

Distributed Ledger

It’s a file! It grows as you make more transactions

Blockchain

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

How Blockchain Works

•  Private-public key pairs

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

How Blockchain Works

•  Private-public key pairs

•  Bitcoin address = deterministic from pubkey

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

How Blockchain Works

•  No such thing as a “bitcoin”. Only inputs and outputs

•  21 million total bitcoins (fixed)

•  50 BTC minted each block, halved to 25 BTC

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

How Blockchain Works

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

How Blockchain Works

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

How Blockchain Works

000009ff7ff1fc53b92dc18148a1d65dfc2d4b1fa3d677284addd200126d9069

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

How Blockchain Works

1 2 3

….. 3000

•  Time

•  Ownership

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

How Blockchain Works

1 2 3

….. 3000

Register hash(name) Update name

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

Decentralized Identity

Blockchain

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

Decentralized Identity

Blockchain

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

Decentralized Identity

Blockchain

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

Decentralized Identity

Blockchain

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

What is Onename?

Blockchain

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

What is Onename?

Blockchain

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

What is Onename?

Blockchain

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

What is Onename?

Blockchain

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

Lessons from Namecoin

Blockchain

•  Reliability and security of the blockchain

•  Limit on size of data (520 bytes)

•  Software engineering challenges

•  Scalability challenges

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

Blockstore

Blockchain

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

Blockstore

Blockchain

n0 k0

n1 k1

n2 k2

nm-1 km-1

nm km

.

.

.

.

Secure Index (Blockchain)

(name, key) (key, value)

DHT Storage (Kademlia-TX)

160-bit space

(k0,v0)

1 0

1

1

1

1

1

1

0

0 0

0

0

0

11..11 00..00

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

Blockstore

Blockchain

•  Opensource (python), simpler (no blockchain functionality)

•  Can support multiple data stores (mirrors)

•  Separates control plane from data plane

•  Enables to experiment with namespaces / spamming / pricing

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

Application: auth

Blockchain Central Data Repository

Company A

Company B

Company C

Access Control

Experiences with Scaling Blockchain-based Data Stores

Onename. Decentralized identity on the bitcoin blockchain Presentation at

Question?

Thank You!

muneeb@onename.com

@muneeb

top related