• No results found

Blockchain Tech Big Picture

N/A
N/A
Protected

Academic year: 2021

Share "Blockchain Tech Big Picture"

Copied!
21
0
0

Loading.... (view fulltext now)

Full text

(1)

Blockchain Tech Big Picture

Campbell R. Harvey

Duke University and NBER

(2)
(3)

Tech Big Picture

Key ingredients

Hashing function: provide the chain (the entire last block as the header

of the next). Bitcoin SHA-256; Ethereum Keccak-256 (SHA-3). One way cryptographic function (infeasible to go the other way)

(4)

Tech Big Picture

Key ingredients

Private keys/Public keys: Private key is just a

random number. The public key is mathematically linked to the private key. It is easy to go from the

private key to the public key – but very difficult to go from public to private. Current technology uses

Elliptic Curve Cryptography (ECC)

• We will spend a session on how these work with simple

(5)

Tech Big Picture

Key ingredients

Public Address: This is either identical to the public key (e.g., Ethereum)

or a function of the public key (e.g., Bitcoin). • We will detail how public addresses are derived

(6)

Tech Big Picture

Key ingredients

Digital Signatures: When doing a

transaction, you “sign over” your

cryptocurrency to someone else using a Digital Signature Algorithm (DSA). The

signature proves that you are the owner of the private key. Anyone observing the

signature and the public key can verify that you have the private key (without revealing the private key).

• We will spend a session on DSA pointing out

(7)

Tech Big Picture

Key ingredients

Transaction mechanics: For many cryptocurrencies like bitcoin, we deal

with unspent transaction outputs (UTXOs). If I have an UTXO of say 10 units and I want to send 7 to Jenna, Jenna generates a private key (and a public key). I generate a (potentially) new private key (and public key). In a single transaction, I sign over 7 to Jenna and 3 to myself (think of this as “change”). I have a new UTXO of 3 units. The old one resides in a

blockchain but has no value. Ethereum uses a different system of account balances.

• Cryptocurrency doesn’t move anywhere. Everything remains on the associated

(8)

Tech Big Picture

Key ingredients

Cryptography: This is widely used in all aspects of blockchain. It is

particularly important in deriving the public key and the DSA. We will also see that other types of cryptography are used in certain blockchain applications (for example, you might find it useful to have a contract

codified in a blockchain – but you only want it visible to the contracting parties.

(9)

Tech Big Picture

Key ingredients

Consensus Mechanisms: Consensus is

the mechanism by which nodes agree on both the historical blockchain as well as the new additions to the

historical blockchain.

• We will initially talk about Proof of Work

(PoW) which is currently used in Bitcoin and Ethereum. We will also talk about Proof of Stake (PoS) and some other mechanisms.

(10)

Tech Big Picture

Key ingredients

Incentives: In Proof-of-Work systems, miners are incentivized to verify

transactions and to do the work that allows new blocks. However, there is no incentive to run a node.

• It is possible to introduce incentives for Level 2 systems (Lightning Network for

bitcoin)

(11)

Tech Big Picture

Key questions

Latency: Blockchains have complete redundancy. How can blockchains

compete with Visa with 24,000 transactions per second – and go beyond as blockchain applications grow?

• Transactions are but one level – what happens

(12)

Tech Big Picture

Key questions

Data: Blockchains are stored on multiple nodes. If large amounts of data

are associated with transactions, it may be infeasible to store petabytes of data on each node.

• Possible for blockchains to store summaries of data rather

than original data

• Cost of storage declining exponentially

 1981 - $300,000  1987 - $50,000  1990 – $10,000  1994 - $1,000  1997 - $100  2000 - $10  2004 - $1  2010 - $0.1 Cost per GB

(13)

Tech Big Picture

Key questions

Computing power: While Moore’s Law

might be near a limit, other

technologies, such as quantum

computing could create a structural break.

• Threat to current digital signature

algorithms  1981 - $300,000  1987 - $50,000  1990 – $10,000  1994 - $1,000  1997 - $100  200 - $10  2004 - $1  2010 - $0.1 Calculations per $1 (constant)*

(14)

Tech Big Picture

Key questions

Connection: Are we headed to a world of millions if not billions of

blockchains – or will there be one Masterchain. • Sidechains will be studied in the course

(15)

Tech Big Picture

Key questions

Privacy: Delicate balance needs to be achieved. No one has worked it out

yet.

(16)

Tech Big Picture

Key questions

Real world verification: How do we verify events

in the real world trustlessly on a digital and siloed blockchain?

• Much work needs to be done on oracles (software,

hardware, inbound, outbound, and consensus based). How do we trust the oracle?

(17)

Tech Big Picture

Key questions

Immutability: This is a crucial characteristic of a blockchain. What are the

guarantees on my transaction? • Block confirmations

• The issue of forks

• Bitcoin Cash 1 Aug 2017 • Bitcoin Gold 24 Oct 2017 • Bitcoin SV 15 Nov 2018

(18)

Tech Big Picture

Key questions

Governance: We are only now thinking about decentralized governance.

This is very much related to consensus mechanisms – but broader in that the computer programs that generate current blockchains will surely

need improvement and enhancements in the future. Who will do this? (BIP/EIP for example.)

• Much research on consensus mechanisms.

• What will the world look like with potentially millions

(19)

Tech Big Picture

Key questions

Use Case: Blockchain is not the panacea for all business applications. In

addition, even if a business application is suited for blockchain technology – there are a myriad of potential blockchain choices.

(20)

Tech Big Picture

Key questions

Regulation: Regulators are at a disadvantage because blockchain is not

currently part of the law. In addition, there is a steep learning curve for regulators

• How do we classify tokens?

• Regulatory risk may cause

innovation to move off shore to jurisdictions that are less strict

(21)

Tech Big Picture

Key questions

AI: Is there a nexus between AI and blockchain?

• Think of Federated Learning being

moderated by Smart Contracts.

• Singularity NET; DeepBrain Chain;

References

Related documents

Simultaneous direct measurements of primary production, pelagic and benthic respiration and vertical fluxes allowed, for the first time, the evaluation of the carbon

A crisis can be triggered by a family emergency, health crisis, job loss, loss of a home, or natural disaster. Crisis relief can include temporary financial and material

“Smile Surgery” is a form of surgery that aims to improve one particular aspect of facial paralysis – the ability to smile.. It does not address problems with eye closure or

With regards to Topic 6, the finding that users establish a relation of adequation between a stereotypical gay-sounding voice and the valley girl persona, which serves as an act

Unha vez que contabamos cun conxunto de synsets nominais representativo, deseñouse unha metodoloxía para ligar, con criterios terminolóxicos baseados nas características

The presence of this wave (often called a distortion wave) is explained by differential rotation of the star, its surface being covered with groups of spots; the period of the

It will certainly be a great way to merely look, open, as well as read the book Clinical Case Formulations: Matching The Integrative Treatment Plan To The Client By Barbara

maximum/year Member expenses for mental health & $1,500/$3,000 substance abuse will cross accumulate with the out-of-pocket maximum in the.