slides/slides08.tex
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Tue, 10 Nov 2015 22:28:03 +0000
changeset 426 6d13b8da019e
parent 381 036a762b02cf
child 427 33f872ba3546
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     1
\documentclass[dvipsnames,14pt,t]{beamer}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     2
\usepackage{../slides}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     3
\usepackage{../graphics}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     4
\usepackage{../langs}
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
     5
\usepackage{../data}
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     6
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     7
\usetikzlibrary{shapes}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     8
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     9
% beamer stuff 
381
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 324
diff changeset
    10
\renewcommand{\slidecaption}{SEN 08, King's College London}
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    11
\newcommand{\bl}[1]{\textcolor{blue}{#1}}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    12
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    13
\newcommand{\DOWNarrow}[3]{%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    14
\begin{textblock}{0}(#2,#3)%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    15
\onslide<#1>{%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    16
\begin{tikzpicture}%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    17
\node at (0,0) [single arrow, shape border rotate=270, fill=red,text=red]{a};%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    18
\end{tikzpicture}}%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    19
\end{textblock}}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    20
\newcommand{\LEFTarrow}[3]{%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    21
\begin{textblock}{0}(#2,#3)%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    22
\onslide<#1>{%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    23
\begin{tikzpicture}%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    24
\node at (0,0) [single arrow, shape border rotate=180, fill=red,text=red]{a};%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    25
\end{tikzpicture}}%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    26
\end{textblock}}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    27
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    28
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    29
\begin{document}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    30
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    31
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    32
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    33
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    34
\frametitle{%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    35
  \begin{tabular}{@ {}c@ {}}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    36
  \\
381
036a762b02cf updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 324
diff changeset
    37
  \LARGE Security Engineering (8)\\[-3mm] 
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    38
  \end{tabular}}\bigskip\bigskip\bigskip
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    39
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    40
  \normalsize
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    41
  \begin{center}
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
    42
  \begin{tabular}{ll}
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    43
  Email:  & christian.urban at kcl.ac.uk\\
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    44
  Office: & S1.27 (1st floor Strand Building)\\
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    45
  Slides: & KEATS (also homework is there)\\
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    46
  \end{tabular}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    47
  \end{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    48
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    49
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    50
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    51
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    52
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
317
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
    53
% student prticipation
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
    54
%\begin{frame}
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
    55
%\frametitle{Bitcoins}
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
    56
%
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
    57
%P2P, 21 Mio, $10^-8$, Mt~Gox, value decreased?, anonymity, 
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
    58
%Silk Road, verification incentive, puzzle, SHA-256, slow 
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
    59
%transactions, 
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
    60
%
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
    61
%\end{frame}
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
    62
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
    63
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
    64
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    65
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    66
\frametitle{Bitcoins from 10,000m}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    67
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    68
\begin{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    69
\item a crypto ``currency'' by Satoshi Nakamoto (likely a pen name)
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    70
\item a digital resource designed to be scarce 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    71
  (max 21 Mio bitcoins---deflationary currency) 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    72
\item mined by solving special puzzles involving hashes
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    73
\item transaction history (ledger/blockchain) is P2P distributed (12 GB)
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    74
\item two ``mining pools'' produce\\ currently more than 50\% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    75
  of bitcoins 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    76
\item can be stolen and also lost
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
    77
\item anonymous?\pause
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
    78
\item surely a scam/ponzi scheme!
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    79
\end{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    80
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    81
\begin{textblock}{7}(11.5,10)
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    82
\includegraphics[scale=0.21]{../pics/bitcoin_ledgers.png}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    83
\end{textblock}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    84
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    85
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    86
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    87
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    88
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    89
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    90
\frametitle{Bitcoins}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    91
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    92
\begin{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    93
\item you create a public-private key pair
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
    94
\item you have a `wallet' which can be
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    95
\begin{itemize}
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
    96
\item electronic (on your computer, passwords)
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    97
\item cloud-based (passwords)
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    98
\item paper-based
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    99
\end{itemize}
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   100
and contains only the public-private key
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   101
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   102
\item Bitcoins can be stolen or lost
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   103
\item Mt.~Gox: hacked $\Rightarrow$ insolvent
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   104
\item no form of dispute resolution\\ (against current
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   105
consumer laws)
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   106
\end{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   107
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   108
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   109
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   110
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   111
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   112
\begin{frame}[c]
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   113
\frametitle{Underlying Ideas}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   114
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   115
It establishing trust in a completely 
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   116
untrusted environment\medskip
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   117
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   118
\begin{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   119
\item public-private key encryption\medskip
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   120
\item digital signatures\medskip
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   121
\item cryptographic hashing (SHA-256)
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   122
\end{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   123
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   124
\begin{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   125
If Alice sends you: \bl{$msg, \{msg\}_{K^{priv}_{Alice}}$}
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   126
\ldots ?
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   127
\end{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   128
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   129
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   130
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   131
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   132
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   133
\begin{frame}[c]
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   134
\frametitle{Lets Start with ``Infocoins''}
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   135
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   136
\begin{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   137
\bl{$\{\text{I, Alice, am giving Bob one infocoin.}\}_{K^{priv}_{Alice}}$}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   138
\end{center}\bigskip
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   139
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   140
\begin{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   141
\item no-one else could have created that message
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   142
\item Alice cannot deny the ``intend'' of sending Bob money\pause\bigskip
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   143
\item forgery possible only after Alice created the string
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   144
\item Q: What is money?\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   145
  A: Well a string like above
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   146
  (or later messages like that)
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   147
\end{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   148
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   149
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   150
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   151
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   152
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   153
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   154
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   155
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   156
\frametitle{Double Spend}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   157
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   158
\begin{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   159
\bl{$\{\text{I, Alice, am giving Bob one infocoin.}\}_{K^{priv}_{Alice}}$}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   160
\end{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   161
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   162
\begin{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   163
\item Alice could keep sending Bob this message over and over
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   164
      again (did she mean to send 10 ICs?)\pause
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   165
\item we need to have a serial number
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   166
\begin{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   167
\bl{$\{\text{I, Alice, am giving Bob infocoin \#1234567.}\}_{K^{priv}_{Alice}}$}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   168
\end{center}\pause\medskip
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   169
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   170
\item but then we need a trusted source of serial numbers 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   171
  (e.g.~a bank)
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   172
\end{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   173
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   174
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   175
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   176
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   177
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   178
\begin{frame}[c]
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   179
\frametitle{No Banks Please}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   180
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   181
With banks we could implement:
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   182
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   183
\begin{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   184
\item Bob asks the bank whether the infocoin with that serial
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   185
      number belongs to Alice and
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   186
\item Alice hasn’t already spent this infocoin.\bigskip 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   187
\item If yes, then Bob tells the bank he accepts the infocoin.
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   188
\item The bank updates the records to show that the infocoin
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   189
      with that serial number is now in Bob’s possession and
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   190
      no longer belongs to Alice.
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   191
\end{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   192
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   193
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   194
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   195
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   196
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   197
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   198
\frametitle{Blockchain}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   199
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   200
The solution for double spend: 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   201
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   202
\begin{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   203
\item make everybody the bank, everybody has the entire
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   204
      transaction history --- will be called
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   205
      \alert{\bf blockchain}\medskip
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   206
\item Bob checks whether the infocoin belongs to Alice and then
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   207
      broadcasts the message to everybody else\\[-10mm]\mbox{}
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   208
\end{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   209
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   210
\begin{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   211
\includegraphics[scale=0.21]{../pics/bitcoin_ledgers.png}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   212
\end{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   213
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   214
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   215
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   216
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   217
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   218
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   219
\frametitle{Blockchain}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   220
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   221
\begin{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   222
\includegraphics[scale=0.5]{../pics/bitcoinblockchain0.png}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   223
\end{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   224
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   225
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   226
\item each block is hashed and contains a reference to
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   227
the earlier block; ``validates'' potentially more than one
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   228
transaction
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   229
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   230
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   231
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   232
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   233
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   234
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   235
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   236
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   237
\frametitle{Transaction Graph}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   238
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   239
\mbox{}\hspace{3cm}older \hspace{3cm} current
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   240
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   241
\begin{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   242
\includegraphics[scale=0.5]{../pics/blockchain.png}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   243
\end{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   244
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   245
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   246
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   247
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   248
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   249
\begin{frame}[squeeze]
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   250
\frametitle{Double Spend Again}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   251
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   252
\begin{bubble}[10cm]
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   253
\begin{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   254
\item I , Alice, am giving Bob one infocoin, with serial
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   255
      number 1234567. 
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   256
\item I, Alice, am giving \alt<2->{\alert{Alice}}{Charlie} 
319
e6afcdabd3ea updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 317
diff changeset
   257
      one infocoin with number 1234567.
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   258
\end{itemize}
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   259
\end{bubble}
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   260
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   261
How should other people update their blockchain (public
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   262
register)?\\[-10mm]\mbox{}\pause
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   263
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   264
\begin{center}
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   265
\hspace{15mm}\includegraphics[scale=0.35]{../pics/bitcoindisagreement.png}
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   266
\end{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   267
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   268
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   269
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   270
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   271
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   272
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   273
\frametitle{Creating Agreement}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   274
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   275
\begin{bubble}[10cm]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   276
Once \alert{enough} people have broadcast that message, 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   277
everyone updates their block chain to show that infocoin 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   278
1234567 now belongs to Bob, and the transaction is accepted.
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   279
\end{bubble}\bigskip
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   280
\pause
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   281
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   282
\small
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   283
But what if Alice sets up a large number of separate
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   284
identities, let’s say a billion, on the Infocoin network. When
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   285
Bob asks the network to validate the transaction, Alice’s
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   286
puppet identities say ``Yes his transaction is validated'',
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   287
while actually the rest network says Alice's transaction 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   288
is OK?
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   289
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   290
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   291
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   292
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   293
\begin{frame}[t]
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   294
\frametitle{!! Proof-of-Work !!}
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   295
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   296
The idea is counterintuitive and involves a combination of two
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   297
ideas:
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   298
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   299
\begin{bubble}[10cm]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   300
\begin{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   301
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   302
\item to (artificially) make it computationally costly for
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   303
      network users to validate transactions, and
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   304
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   305
\item to reward them for trying to help validate transactions
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   306
\end{itemize}
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   307
\end{bubble}\pause
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   308
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   309
\small
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   310
this is called mining: whoever validates a transaction will be awarded with
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   311
50 bitcoins --- this halves every 210,000 transactions or
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   312
roughly every 4 years (currently 25 BC); no new bitcoins after 2140 -- then only 
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   313
transaction fees
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   314
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   315
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   316
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   317
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   318
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   319
\frametitle{Solving Puzzles}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   320
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   321
Given a string, say \code{"Hello, world!"}, what is the 
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   322
\alert{salt} so the hash starts with a long run of 
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   323
zeros?\bigskip
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   324
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   325
\begin{bubble}[10cm]
320
bd5775cc8a45 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 319
diff changeset
   326
\footnotesize\code{h("Hello, world!0") =}\\
324
43e44a4871de updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 321
diff changeset
   327
\;\;\scriptsize\pcode{1312af178c253f84028d480a6adc1e25e81caa44c749ec81976192e2ec934c64}\\
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   328
\pause
320
bd5775cc8a45 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 319
diff changeset
   329
\footnotesize\code{h("Hello, world!1") =}\\ 
324
43e44a4871de updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 321
diff changeset
   330
\;\;\scriptsize\pcode{e9afc424b79e4f6ab42d99c81156d3a17228d6e1eef4139be78e948a9332a7d8}\\
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   331
\pause
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   332
\ldots\\
320
bd5775cc8a45 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 319
diff changeset
   333
\footnotesize\code{h("Hello, world!4250") =}\\ 
324
43e44a4871de updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 321
diff changeset
   334
\;\;\scriptsize\pcode{0000c3af42fc31103f1fdc0151fa747ff87349a4714df7cc52ea464e12dcd4e9}
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   335
\end{bubble}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   336
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   337
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   338
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   339
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   340
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   341
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   342
\frametitle{Hardness}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   343
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   344
If we want the output hash value to begin with 10 zeroes,
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   345
say, then we will need, on average, to try $16^{10} \approx
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   346
10^{12}$ different salts before we find a suitable nonce. 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   347
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   348
Hardness can be controlled by setting a \alert{target} (maximum
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   349
number).
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   350
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   351
\begin{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   352
\includegraphics[scale=0.37]{../pics/blockchainsolving.png}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   353
\end{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   354
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   355
\end{frame}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   356
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   357
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   358
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   359
\begin{frame}[t]
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   360
\frametitle{Controlling the Hardness}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   361
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   362
\begin{itemize}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   363
\item every 210000 blocks the amount of bitcoins to be 
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   364
  mined halves (``reward era'')
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   365
\item every 2016 blocks the hardness is adjusted\\ (app 2 weeks)
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   366
\end{itemize}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   367
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   368
\begin{center}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   369
\begin{tikzpicture}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   370
\begin{axis}[
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   371
    xlabel={\footnotesize year},
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   372
    ylabel={\footnotesize \% of total bitcoins},
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   373
    ylabel style={yshift=0.0em},
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   374
    enlargelimits=false,
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   375
    xtick={2009,2011,...,2025},
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   376
    xmin=2009,
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   377
    xmax=2026,
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   378
    ymax=105,
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   379
    ymin=0,
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   380
    ytick={0,20,...,100},
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   381
    scaled ticks=false,
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   382
    axis lines=left,
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   383
    width=9cm,
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   384
    height=6cm,
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   385
    legend entries={\footnotesize plan,\footnotesize in reality 2\% ahead},  
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   386
    legend pos=south east,
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   387
    legend cell align=left,  
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   388
    y tick label style={font=\footnotesize}, 
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   389
    x tick label style={font=\footnotesize,/pgf/number format/1000 sep={}} 
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   390
    ]
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   391
\addplot
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   392
  table {bitcoinestimate.data};
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   393
\only<2>{\addplot[red] 
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   394
  table {bitcoinactual.data};}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   395
\end{axis}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   396
\end{tikzpicture}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   397
\end{center}
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   398
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   399
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   400
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   401
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   402
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   403
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   404
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   405
\frametitle{Order of Transactions}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   406
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   407
If we don’t have such an ordering at any given moment 
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   408
then it may not be clear who owns which Bitcoins.
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   409
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   410
\begin{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   411
\includegraphics[scale=0.38]{../pics/bitcoin_unconfirmed.png}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   412
\end{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   413
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   414
\small
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   415
Say, miner David is lucky and finds a suitable salt
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   416
to confirm the transactions. Celebration!\pause \hspace{5mm}??
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   417
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   418
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   419
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   420
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   421
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   422
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   423
\frametitle{Forks}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   424
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   425
Typically the blockchain will look as follows
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   426
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   427
\begin{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   428
\includegraphics[scale=0.65]{../pics/block_chain1.png}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   429
\end{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   430
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   431
\pause
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   432
But every so often there is a fork
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   433
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   434
\begin{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   435
\includegraphics[scale=0.65]{../pics/block_chain_fork.png}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   436
\end{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   437
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   438
\small
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   439
\ldots{}bugger this is exactly what we are trying to avoid
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   440
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   441
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   442
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   443
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   444
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   445
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   446
The tie is broken if another block is solved
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   447
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   448
\begin{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   449
\includegraphics[scale=0.4]{../pics/bitcoin_blockchain_branches.png}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   450
\end{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   451
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   452
\small
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   453
The rule is: if a fork occurs, people on the network keep
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   454
track of all forks. But at any given time, miners only work
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   455
to extend whichever fork is longest in their copy of the block
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   456
chain.
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   457
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   458
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   459
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   460
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   461
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   462
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   463
\frametitle{Double Spending Again}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   464
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   465
So if Alice wants to fake it, she needs to produce
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   466
a longer chain:
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   467
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   468
\begin{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   469
\includegraphics[scale=0.4]{../pics/bitcoin_blockchain_double_spend.png}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   470
\end{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   471
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   472
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   473
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   474
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   475
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   476
\begin{frame}
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   477
\frametitle{Racing Against the World}
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   478
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   479
\begin{columns}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   480
\begin{column}{4.5cm}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   481
\includegraphics[scale=0.3]{../pics/bitcoin_doublespend_blockchain_race.png}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   482
\end{column}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   483
\begin{column}{5.5cm}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   484
\includegraphics[scale=0.3]{../pics/bitcoin_transaction_order_race.png}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   485
\end{column}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   486
\end{columns}\bigskip\bigskip\pause
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   487
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   488
\small
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   489
A transaction is ``confirmed'' if:\smallskip
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   490
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   491
(1) it is part of a block in the longest fork, and (2) at
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   492
least 5 blocks follow it in the longest fork. In this case we
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   493
say that the transaction has ``6 confirmations''.\bigskip
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   494
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   495
\footnotesize (might take 1h+\ldots but for creditcards you have 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   496
6 months chargeback)
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   497
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   498
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   499
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   500
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   501
\begin{frame}[c]
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   502
\frametitle{Mining Pools}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   503
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   504
\begin{bubble}[10cm]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   505
On average, it would take several years for a typical computer
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   506
to solve a block, so an individual’s chance of ever solving
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   507
one before the rest of the network, which typically takes 10
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   508
minutes, is negligibly low.
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   509
\end{bubble}\pause
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   510
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   511
\small
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   512
Many people join groups called mining pools that collectively
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   513
work to solve blocks, and distribute rewards based on work
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   514
contributed. These act somewhat like lottery pools among
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   515
co-workers, except that some of these pools are quite large,
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   516
and comprise more than 20\% of all the computers in the
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   517
network.\medskip
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   518
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   519
\footnotesize
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   520
BTCC, the largest mining pool, has limited its members to 
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   521
not solve more than 6 blocks in a row.
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   522
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   523
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   524
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   525
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   526
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   527
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   528
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   529
\frametitle{Bitcoins for Real}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   530
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   531
\begin{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   532
\item you need a public-private key (the hash of the 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   533
public key to determines your bitcoin address) 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   534
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   535
\item if you want to receive bitcoins, you publicise 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   536
this address
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   537
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   538
\item there are $2^{160}$ possibilities\\ 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   539
(no check for duplicates)
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   540
\end{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   541
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   542
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   543
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   544
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   545
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   546
\begin{frame}[c]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   547
\frametitle{A Transaction Msg}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   548
\small
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   549
\lstinputlisting[language=Scala,
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   550
                 numbersep=3pt, 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   551
                 xleftmargin=-6mm]{msg}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   552
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   553
\DOWNarrow{2}{3.5}{1.4}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   554
\LEFTarrow{3}{3.5}{2.8}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   555
\LEFTarrow{4}{4.7}{3.8}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   556
\LEFTarrow{4}{5.4}{4.6}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   557
\LEFTarrow{5}{5.4}{5.4}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   558
\LEFTarrow{6}{5.0}{6.2}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   559
\DOWNarrow{7}{6.0}{8.0}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   560
\LEFTarrow{8}{5.0}{9.5}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   561
\DOWNarrow{9}{7.0}{9.5}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   562
\DOWNarrow{9}{10.0}{9.5}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   563
\LEFTarrow{10}{9.0}{11.8}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   564
\DOWNarrow{11}{12.5}{11.9}
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   565
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   566
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   567
\begin{textblock}{0}(7,3)%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   568
\small
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   569
\onslide<2,4,7,8,9,10,11,12>{
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   570
\begin{bubble}[6cm]%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   571
\only<2>{the hash of the msg that follows; kind of serial number}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   572
\only<4>{the transaction has one inout and one output (could be more)}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   573
\only<7>{the hash of the incoming transaction (incoming serial number)}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   574
\only<8>{use the 0th output of the incoming transaction}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   575
\only<9>{the public key and signature of the sender}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   576
\only<10>{use $x$ amount of the incoming money}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   577
\only<11>{public key of the receiver}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   578
\only<12>{you do not need a central authority to issue serial numbers\bigskip\\
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   579
there are no ``coins'', just a long series of transactions}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   580
\end{bubble}}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   581
\end{textblock}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   582
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   583
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   584
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   585
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   586
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   587
\begin{frame}[t]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   588
\frametitle{A Block in the Blockchain}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   589
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   590
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   591
\includegraphics[scale=0.38]{../pics/bitcoin_unconfirmed.png}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   592
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   593
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   594
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   595
\item each block is hashed and contains a reference to
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   596
the earlier block
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   597
\item contains the ``salt'' and address of whoever solved the 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   598
puzzle
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   599
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   600
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   601
\end{frame}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   602
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   603
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   604
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   605
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   606
\begin{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   607
\frametitle{Transaction History}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   608
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   609
you can follow back the transaction history until
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   610
you reach either
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   611
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   612
\begin{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   613
\item the genesis block (a transaction without input of
321
250fd40211c7 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 320
diff changeset
   614
50 bitcoins), or
250fd40211c7 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 320
diff changeset
   615
\item a coinbase transaction (this is the reward of the
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   616
miner who validated a block of transactions in the blockchain)
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   617
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   618
\end{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   619
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   620
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   621
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   622
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   623
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   624
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   625
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   626
\frametitle{Lost Bitcoins?}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   627
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   628
\begin{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   629
\item somebody needs to be able to generate a key-pair
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   630
  for the signature (for this you need the private 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   631
  key)\bigskip
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   632
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   633
\item somebody spends your bitcoins fraudulently
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   634
  (you cannot charge them back)\ldots{} bad luck
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   635
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   636
\item you can send bitcoins to a ``non-existing'' address
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   637
  (Mt.~Gox)
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   638
\end{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   639
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   640
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   641
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   642
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   643
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   644
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   645
\frametitle{Good Points}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   646
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   647
An attacker can't:
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   648
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   649
\begin{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   650
\item reverse other people's transactions
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   651
\item change the number of coins generated per block
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   652
\item create coins out of thin air
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   653
\item send coins that never belonged to an attacker
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   654
\item you cannot meddle with the ``history''
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   655
\end{itemize}\bigskip
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   656
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   657
The system can be scaled to all world transactions. 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   658
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   659
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   660
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   661
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   662
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   663
\begin{frame}[t]
317
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   664
\frametitle{But I did not Inhale\ldots}
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   665
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   666
\begin{center}
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   667
\includegraphics[scale=0.4]{../pics/bitcointornetwork.png}
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   668
\end{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   669
317
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   670
\only<1>{
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   671
ledger is public ``forever''; everybody can inspect
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   672
how money was transferred from which address to
317
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   673
which address; maybe not ideal for money laundering}
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   674
\only<2>{
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   675
You should use a new pp-pair for \alert{every} transaction;
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   676
but few do (merchants). A design flaw(?): combining transactions.}
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   677
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   678
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   679
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   680
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   681
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   682
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   683
\frametitle{Anonymity}
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   684
\small
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   685
317
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   686
``How anonymous is Bitcoin? Many people claim that Bitcoin can
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   687
be used anonymously. This claim has led to the formation of
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   688
marketplaces such as Silk Road (and various successors), which
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   689
specialize in illegal goods. However, the claim that Bitcoin
317
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   690
is anonymous is a \underline{myth}. The block chain is public,
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   691
meaning that it’s possible for anyone to see every Bitcoin
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   692
transaction ever. Although Bitcoin addresses aren’t
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   693
immediately associated to real-world identities, computer
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   694
scientists have done a great deal of work figuring out how to
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   695
de-anonymize `anonymous' social networks. The block chain is a
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   696
marvellous target for these techniques.''
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   697
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   698
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   699
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   700
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   701
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   702
\frametitle{Bitcoin vs Gov}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   703
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   704
Purported absence of potential government interference?
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   705
\pause 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   706
Far from it:
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   707
  
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   708
\begin{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   709
  \item government could compel ``mayor players'' to blacklist
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   710
     bitcoins (exchanges)
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   711
  \item coerce developer community (e.g.~Lavabit)
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   712
  \item put pressure on mining pools, or be big a miner 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   713
  itself
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   714
\end{itemize} 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   715
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   716
\begin{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   717
\includegraphics[scale=0.04]{../pics/nsautah1.jpg}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   718
\hspace{3mm}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   719
\includegraphics[scale=0.031]{../pics/nsautah2.jpg}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   720
\end{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   721
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   722
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   723
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   724
317
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   725
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   726
\begin{frame}[t]
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   727
\frametitle{Take Home Points}
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   728
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   729
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   730
\begin{itemize}
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   731
  \item Don't gamble! I am not a first mover in such things.
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   732
  \item Cool idea, but I am sure there will be a Bitcoin~2.0.
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   733
  \item It still depends on a lot of old-fashioned security 
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   734
  (e.g.~keeping private-keys secret)\bigskip
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   735
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   736
  \item Having now the knowledge how it works, go back
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   737
  and listen to what people/media make of it. 
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   738
\end{itemize} 
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   739
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   740
\end{frame}
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   741
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   742
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   743
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   744
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   745
\end{document}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   746
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   747
%%% Local Variables:  
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   748
%%% mode: latex
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   749
%%% TeX-master: t
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   750
%%% End: 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   751