Blockchain Griffith University

  • Upload
    admac57

  • View
    219

  • Download
    0

Embed Size (px)

Citation preview

  • 8/16/2019 Blockchain Griffith University

    1/59

    Bitcoin & Blockchain

    Some Legal PointsDr. Adrian McCullagh

    Ph.D. (IT Sec), LL.B. (Hons), B. App. Sc. (Computing), GA

    ODMOB Lawyers

    Brisbane Australia

    [email protected]

    Mob: +61401646486

    mailto:[email protected]:[email protected]

  • 8/16/2019 Blockchain Griffith University

    2/59

    Disclaimer PLEASE NOTE: the information disclosed in the presentation is

    provision of Legal advice or Professional Services advice. If a reader/attendee has an issue then they should seek approprlegal/technical advice. The author/presenter makes no warrcorrectness of anything contained in this presentation. The topresentation is ever changing at a rapid rate and as such thipresentation is the sole opinion of the author/presenter and m relied upon as either legal or technical advice. Every situatioand as such proper analysis must be undertaken when seekinprofessional advice.

    Consequently, the author/presenter takes no responsibility fothat may exist in this paper and certainly takes no responsibil reader/attendee takes any actions based on what is (expresimplication) contained in this paper/presentation.

     All readers/attendees take full responsibility for anything theymay do in reliance of anything contained in thispaper /presentation.

    Griffith University Blockchain Presentation

    2

  • 8/16/2019 Blockchain Griffith University

    3/59

    Agenda

    The origins of the blockchain

    What is a blockchainWhat are the benefits of the blockchai

    Proposed Blockchain uses

    Why is blockchain a hot topic

    Smart Contracts and Legal Implications

    Road Blocks in the development of Blocas a disruptive Technology

    Conclusion

    Griffith University Blockchain Presentation

    3

  • 8/16/2019 Blockchain Griffith University

    4/59

    The origins of the blockcha

    Griffith University Blockchain Presentation

    4

  • 8/16/2019 Blockchain Griffith University

    5/59

  • 8/16/2019 Blockchain Griffith University

    6/59

    The origins of the blockchain

    BUT

    Nakamoto defined his vitual currency a

    of digitial signatures; that is each owne

    each coin to another person by digitall

    the hash of the previous transaction an

    public key of the next owner.

    Griffith University Blockchain Presentation

    6

  • 8/16/2019 Blockchain Griffith University

    7/59

    The origins of the blockchain

    He further states “'Nodes always consid

    longest “chain” to be the correct one a

    keep working on extending it. If two nod

    broadcast different versions for the next

    The effect of this is that a cryptographic

    information (Blocks) is created.

    Griffith University Blockchain Presentation

    7

  • 8/16/2019 Blockchain Griffith University

    8/59

    The origins of the blockchain

    Hence, blockchain has its origins with the bitcoin pape

    Nakamoto, though the actual origins of the concatena

    “block chain” like Nakamoto him/herself remain a mys

    There are 3 underlying technologies and one specific p

    is encapsulated in bitcoin:

    Hash Algorithms;

    Digital Signatures;

    Merkle Trees; and

    The Proof of Work Protocol or consensus protocol.

    Griffith University Blockchain Presentation

    8

  • 8/16/2019 Blockchain Griffith University

    9/59

    The origins of the blockchain

    Nakamoto devised a fiendishly cleaver use of

    technologies to create what is now known as

    and a new consensus protocol.

    The ultimate aspect of bitcoin is that bitcoin is

    technology in the digital environment that elim

    double spend problem without the need of a

    third party.

    Griffith University Blockchain Presentation

    9

  • 8/16/2019 Blockchain Griffith University

    10/59

    The origins of the blockchain

    The blockchain has been described as being the

    disruptive technology in modern society and busin

    As disruptive as the internet was in 1992 when the

    Science Foundation allowed non defence comm

    entities to take advantage of the World Wide Web

    OR as the Govenor of the Bank of England has no

    “blockchain is the start of the fourth information re

    Griffith University Blockchain Presentation

    10

  • 8/16/2019 Blockchain Griffith University

    11/59

  • 8/16/2019 Blockchain Griffith University

    12/59

    What is a blockchainA blockchain is basically a distributed led

    (multiple copies of the same thing) that hfollowing characteristics:

    Once a transaction is recorded in the it cannot be deleted or edited withoutsome trace of such deletion or alteratiobecomes a permanent record for all e

    attempted changes to the record willautomatically be identified which will cparties to investigate what has gone wessence, the blockchain becomes a taevident record of transactions (Immuta

    Griffith University Blockchain Presentation

    12

  • 8/16/2019 Blockchain Griffith University

    13/59

    What is a blockchainNo Central party will control the bloc

    BUT some private blockchains that ardeveloped will be controlled by a ceauthority. In general, being a distribua number of copies will be establishemakes it difficult for unauthorised thirto successfully hack every copy of thTherefore there is no single point of fawould require a hacker to simultaneoattack at least 51% of all copies whicnot feasible.

    Griffith University Blockchain Presentation

    13

  • 8/16/2019 Blockchain Griffith University

    14/59

    What is a blockchainThe bitcoin blockchain is completely

    transparent with every participant haread access to the entire blockchainbeing able to add to the blockchainthey wish to effect an authorised tranThe bitcoin blockchain is known as apermissionless blockchain or openblockchain.

    There are being developed permissioblockchains which will only allow autpersons having the right to read andthe blockchain. R3CEV is an exampl

    Griffith University Blockchain Presentation

    14

  • 8/16/2019 Blockchain Griffith University

    15/59

    The technical aspects of the BitCblockchain

    Each block will contain multiple transactions.

    In BITCOIN a block is set at 1 megabyte. Therecurrently a dispute among core administratorbitcoin code on how to improve the scalabilitbitcoin.

    In private blockchains the size of the blocks wthe administrator/creator of the blockchain.

    The data structure of a block will be set by theadministrator.

    Griffith University Blockchain Presentation

    15

  • 8/16/2019 Blockchain Griffith University

    16/59

    What is a Block: data structure

    Size Field Des

    4 bytes Block SizeThe size block, in

    following

    80 bytes Block Header Several f

    the bloc

    1-9 bytes (VariableInteger)

    TransactionCounter 

    How matransact

    Variable (alpha

    numeric)Transactions

    The tran

    recorde

    block 

    Griffith University Blockchain Presentation

    16

  • 8/16/2019 Blockchain Griffith University

    17/59

    Single Block data structure

    Griffith University Blockchain Presentation

    17

    TX1 TX2 TX3TX number =4Blockheader*Block size – 1 Mega byte

    * The Blockcheader field is expanded in next slide

  • 8/16/2019 Blockchain Griffith University

    18/59

    Block header Size Field Description

    4 bytes VersionA version nu

    software/pro

    32 bytes Previous Block HashA reference the previous

    the chain

    32 bytes Merkle Root

    A hash of th

    merkle tree

    transactions

    4 bytes Timestamp

    The approxim

    time of this b

    from Unix Ep

    4 bytes Difficulty TargetThe proof-of

    difficulty targ

    4 bytes NonceA counter us

    of-work algo

    Griffith University Blockchain Presentation

    18

  • 8/16/2019 Blockchain Griffith University

    19/59

    Block-header data structure

    Griffith University Blockchain Presentation

    19

    Version Previous block hash Merkle root* Time stamp Target difficulty

    * This field is more fullyexplained in next slide

    ** Target difficuthe proof of wo

  • 8/16/2019 Blockchain Griffith University

    20/59

    Blockchain: Merkle root

    Griffith University Blockchain Presentation

    20

  • 8/16/2019 Blockchain Griffith University

    21/59

    Block-header data structure

    Griffith University Blockchain Presentation

    21

    Version Previous block hash Merkle root Time stamp Target difficulty

  • 8/16/2019 Blockchain Griffith University

    22/59

    Target Difficulty – Proof of work  Proof of work involves the use of Cryptographic hash function

    A cryptographic hash function is a mathematical algorithm th

    of any arbitrary size to a fixed length bit string (the resultant ishash or message digest of the original document).

    That is, a function is infeasible to invert, and thus us one way.

    The characteristics of a good hash functions are:

    Very quick if calculate;

    One way: meaning it should be infeasible to guess the original dosimply knowing its hash result;

    Collision free: it should be infeasible to find two documents that rhash result;

    Every document should have its own unique hash result which mchange to the original document should result in an entirely diffe

    Griffith University Blockchain Presentation

    22

  • 8/16/2019 Blockchain Griffith University

    23/59

    Target Difficulty – Proof of work  From a technical perspective a good hash fu

    have the following properties:

    Pre-image resistance

    Given a hash value h it should be difficult to findmessage m such that h = hash(m). This concept that of one-way function. Functions that lack thisvulnerable to preimage attacks.

     Second pre-image resistanceGiven an input m1 it should be difficult to find dif

    m2 such that hash(m1) = hash(m2). Functions thaproperty are vulnerable to second-preimage att

    Griffith University Blockchain Presentation

    23

  • 8/16/2019 Blockchain Griffith University

    24/59

    Target Difficulty – Proof of work Collision Free

    It should be difficult to find two different message

    such that hash(m1) = hash(m2). Such a pair is calcryptographic hash collision. This property is somreferred to as strong collision resistance.

    Proof of work is a brute force procedure to changnonce so that the resultant hash will have at least 0’s.

    It is energy intensive but once solved is easy to pro

    Griffith University Blockchain Presentation

    24

    Version Previous block hash Merkle root Time stamp Target

  • 8/16/2019 Blockchain Griffith University

    25/59

    Target Difficulty: Proof of Work  Because it is not possible to identify from a do

    what its hash result will be then to get a resulta

    with 64 leading 0’s requires the energy of goinnonce after nonce until the desired hash is cre

    It has been calculated that currently the enerrequired to run bitcoin is actually greater thangoogle expends to run its business operations.

    In the bitcoin environment, Proof of Work is un

    by miners who use specially designed chips (Acalculated the desired hashes.

    Griffith University Blockchain Presentation

    25

  • 8/16/2019 Blockchain Griffith University

    26/59

    What is a blockchain: a cryptographicconnected series of blocks of transacti

    Griffith University Blockchain Presentation

    26

    Transaction A Transaction B Transaction C

    http://en.wikipedia.org/wiki/File:Bitcoin_Transaction_Visual.svghttp://en.wikipedia.org/wiki/File:Bitcoin_Transaction_Visual.svghttp://en.wikipedia.org/wiki/File:Bitcoin_Transaction_Visual.svghttp://en.wikipedia.org/wiki/File:Bitcoin_Transaction_Visual.svghttp://en.wikipedia.org/wiki/File:Bitcoin_Transaction_Visual.svg

  • 8/16/2019 Blockchain Griffith University

    27/59

  • 8/16/2019 Blockchain Griffith University

    28/59

    Benefits of the blockchain

    Griffith University Blockchain Presentation

    28

  • 8/16/2019 Blockchain Griffith University

    29/59

    Advantages of the blockchain The blockchain has the following advantages

    It is reliable and available due to its extensi

    participant involvement;It is transparent as all participants have acc

    recorded information;

    It is immutable in that once the informationrecorded on the blockchain it cannot be cwithout leaving some trace (its integrity isguaranteed);

    It is irrevocable in that the information recocannot be deleted or reversed (this has sigadvantages from an auditing perspective)

    Griffith University Blockchain Presentation

    29

  • 8/16/2019 Blockchain Griffith University

    30/59

    Advantages of the blockchain It is digital and thus can be deployed in non-fa

    face transactions and thus can be automate

    It can substantially reduce the time between instigation of a transaction and its settlement.

    It can be used for any type of transfer of valuebitcoin;

    It can eliminate the involvement of a trusted t

    and thus reduce friction costs or as Coates idetransactions costs.

    Griffith University Blockchain Presentation

    30

  • 8/16/2019 Blockchain Griffith University

    31/59

    Disadvantages of blockcha

    Griffith University Blockchain Presentation

    31

  • 8/16/2019 Blockchain Griffith University

    32/59

    Blockchain disadvantages Blockchains by themselves do not provide any

    advantage. It is only when other applications

    layered on top of them that there is a benefit. As Sir Mark Walport UK Chief Scientist noted: “th

    implementation of distributive ledgers with embsmart contracts should lead to substantial imprin compliance, cost efficiency and accountab

    BUT there are some real outstanding legal issuein so called smart contracts.

    Migration of data will be an issue if another syslater developed which is more commercially a

    Griffith University Blockchain Presentation

    32

  • 8/16/2019 Blockchain Griffith University

    33/59

  • 8/16/2019 Blockchain Griffith University

    34/59

    Proposed Blockchain usesblockchain deployment can be useful in

    following:

    Supply chain management.

    Specific product insurance including m

    vehicle insurance;

    Lending funds to consumers to purcha

    goods;

    Product recall arrangements;

    Repair of products.

    Griffith University Blockchain Presentation

    34

  • 8/16/2019 Blockchain Griffith University

    35/59

  • 8/16/2019 Blockchain Griffith University

    36/59

    Supply chain management The blockchain will not prevent counterfei

    from entering the market but it will allow th

    user/consumer to validate the authenticityproducts and thus it should substantially resize of the end user market and thus reducfraud committed on end users.

    This will particularly important in the pharm

    industry with counterfeit drugs. Health prowill be able to ensure that authentic drugstime administered to patients.

    Griffith University Blockchain Presentation

    36

  • 8/16/2019 Blockchain Griffith University

    37/59

  • 8/16/2019 Blockchain Griffith University

    38/59

    Supply chain managementWrite Once Read Many-times (WORM) techno

    It is possible for a manufacturer to embed in so

    polymer film a key that can be read using a hdevice like a mobile phone that has embodieapp that has been developed by the manufaThe App can be authenticated when downloan authorised website that has extended validcertificates allocated to it. Further the app co

    digitally signed by the manufacturer so as to rrisk of false apps be deployed.

    It is expected the Pharmaceutical industry to advantage of this technology.

    Griffith University Blockchain Presentation

    38

  • 8/16/2019 Blockchain Griffith University

    39/59

  • 8/16/2019 Blockchain Griffith University

    40/59

    Insurance FraudHow does the insurance company dete

    that the person claiming ownership act

    the owner or has an insurable interest?

    The insurance company can interrogatblockchain using the serial number/VINreference point to determine ownership

    This aspect alone should substantially reinsurance fraud.

    Griffith University Blockchain Presentation

    40

  • 8/16/2019 Blockchain Griffith University

    41/59

    Lending and blockchain interrogThe lender wants to make sure that the

    are not already encumbered and so it

    interrogates the blockchain using the senumber of the product as a reference

    The blockchain is used to record all tranthat involve the relevant product includborrowings and insurance policies issue

    Griffith University Blockchain Presentation

    41

  • 8/16/2019 Blockchain Griffith University

    42/59

    Product recall by a Manufacturer/R

    The manufacturer needs to undertake a proddue to some safety fault identified post sale.

    The manufacturer can register on the blockchsafety recall notice. Now in some jurisdictionsto transfer a product whilst a product recall nobeen issued.

    Once the defect, the subject of the recall no

    been corrected then the manufacturer will upblockchain to identify that the product has becorrected.

    Griffith University Blockchain Presentation

    42

  • 8/16/2019 Blockchain Griffith University

    43/59

    Why blockchain is a hot to

    Griffith University Blockchain Presentation

    43

  • 8/16/2019 Blockchain Griffith University

    44/59

    Why is Blockchain a hot topicThere are a number of major industries

    expending substantial funds on blockch

    research, development and deploymeindustries include:

    Finance sector (FIN TECH);

    Luxury Goods (Diamond Trades);

    Insurance;

    Stock Exchanges;

    Movie Studios;

    Software development.

    Griffith University Blockchain Presentation

    44

  • 8/16/2019 Blockchain Griffith University

    45/59

    Why is Blockchain a hot topic

  • 8/16/2019 Blockchain Griffith University

    46/59

    Why is Blockchain a hot topic

    The insurance sector wants toreduce/eliminate the risk of fraud.

    The IP sectors including movies and swant to eliminate piracy.

    The blockchain can in each case be usassist in solving these issues.

    Griffith University Blockchain Presentation

    46

  • 8/16/2019 Blockchain Griffith University

    47/59

    Smart Contracts : Legal asp

    Griffith University Blockchain Presentation

    47

    SMART CONTRACTS & L l I

  • 8/16/2019 Blockchain Griffith University

    48/59

    SMART CONTRACTS & Legal Issue A so called smart contract is neither smart or a

    Lawyers would call it a humpty-dumptyism. (S

    Glanville Williams series of papers on plain Englawyers and the discussion between Alice andDumpty from “Alice through the Looking Glas

    What is a so called smart-contract? : it is comthat will be connected to a blockchain. The swill monitor the internal performance of a con

    any deviation will cause the software to activresponses.

    The Ethereum project has a number of so callcontracts in development.

    Griffith University Blockchain Presentation

    48

    SMART CONTRACTS & L l I

  • 8/16/2019 Blockchain Griffith University

    49/59

    SMART CONTRACTS & Legal Issue

    The R3CEV group is also investigating smart couses in a number financial transactions.

    The difficulties of smart contracts are:

    How are equitable principle accommodatinnocent misrepresentation or discretionaryvoiding a contract proper;

    How can force majeure events be accomm

    as these are usually external events that imperformance. This may be an opportunity gathering organisations that are trusted to information dealing with externalities.

    Griffith University Blockchain Presentation

    49

  • 8/16/2019 Blockchain Griffith University

    50/59

    SMART CONTRACTS & L l I

  • 8/16/2019 Blockchain Griffith University

    51/59

    SMART CONTRACTS & Legal Issue

    Assuming that the above can be accommare there certain contracts that should not

    monitored by a smart contract?Further investigation / research is required f

    area.

    Griffith University Blockchain Presentation

    51

  • 8/16/2019 Blockchain Griffith University

    52/59

    Road Blocks for Blockch

    Griffith University Blockchain Presentation

    52

    Road Blocks for Blockchain53

  • 8/16/2019 Blockchain Griffith University

    53/59

    On 20 April Morgan Stanley issued its report on thedevelopment and deployment of Blockchain solu

    This report identified 10 road-blocks that need to baddressed before blockchains become a reality in

    1. is there a compelling business case to suppexpenditure?,

    2. cost mutualisation/who funds the overhaul systems?,

    3. Are there misaligned incentives,

    4. How do the lack of standards currently impdevelopment and ultimate deployment espinter-operability,

    5. Is the technology scalable without performdegradation,

    Griffith University Blockchain Presentation

    53

    Road Blocks for Blockchain54

  • 8/16/2019 Blockchain Griffith University

    54/59

    6. What governance needs to be develop

    7. How will regulators deal with the advanthis new technology,

    8. What are the legal risks not only with regalso with clients,

    9. Are there any cryptology/security issuesexisting or down the track like the deveQuantum cryptography, and

    10. Can a blockchain system be developesimplistic and interoperable with both oblockchain deployments and legacy sy

    Griffith University Blockchain Presentation

    54

    Road Blocks for Blockchain55

  • 8/16/2019 Blockchain Griffith University

    55/59

    It is interesting that Morgan Stanley noted single policymaker they met concerning thresearch for their report would allow an"unpermissioned" distributed ledger.

    In general a blockchain is meant to be atransparent recording of transactions but ithat this will be the case for all transactionfinance sector and its customers will not wbusiness transaction to be disclosed acros

    blockchain.One issue that still needs to be resolved wi

    partial permissioned blockchain where paonly be visible to those with the correct cre

    Griffith University Blockchain Presentation

    55

    56

  • 8/16/2019 Blockchain Griffith University

    56/59

    Conclusion

    Griffith University Blockchain Presentation

    56

    Conclusion57

  • 8/16/2019 Blockchain Griffith University

    57/59

    Conclusion

    Blockchain is clearly at this point in time an imtechnology but is advancing at a rapid rate.

    Morgan Stanley estimate that commercial sysRegulatory approval will not occur until 2017/2

    There is great promise and investment occurriarea.

    The financial sector is leading the way but oth

    like pharmaceuticals are rapidly looking at thitechnology.

    Griffith University Blockchain Presentation

    57

    Conclusion58

  • 8/16/2019 Blockchain Griffith University

    58/59

    Conclusion

    Regulators across the world are interested in ttechnology and are greatly assisting in the de

    and sandbox deployment of blockchain solut Risk is still an issue and regulatory compliance

    outstanding issue as does system liability issues

    Smart contracts are code applications that atop of a blockchain and this still needs further

    investigation

    Griffith University Blockchain Presentation

    58

    ?? Questions ??59

  • 8/16/2019 Blockchain Griffith University

    59/59

    ?? Questions ??

    Griffith University Blockchain Presentation

    59