slides/slides08.tex
author Christian Urban <urbanc@in.tum.de>
Mon, 06 Nov 2017 10:40:23 +0000
changeset 561 17cd7fdee7c8
parent 520 bd25d9f9d9dc
child 562 69580b23c480
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 
561
17cd7fdee7c8 updated
Christian Urban <urbanc@in.tum.de>
parents: 520
diff changeset
    10
\renewcommand{\slidecaption}{SEN 06, 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
  \\
561
17cd7fdee7c8 updated
Christian Urban <urbanc@in.tum.de>
parents: 520
diff changeset
    37
  \LARGE Security Engineering (6)\\[-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\\
518
e1fcfba63a31 updated
Christian Urban <urbanc@in.tum.de>
parents: 498
diff changeset
    44
  Office: & N7.07 (North Wing, Bush House)\\
315
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
317
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
    52
428
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
    53
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
    54
\begin{frame}[t]
561
17cd7fdee7c8 updated
Christian Urban <urbanc@in.tum.de>
parents: 520
diff changeset
    55
\frametitle{Over to you\ldots}
428
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
    56
561
17cd7fdee7c8 updated
Christian Urban <urbanc@in.tum.de>
parents: 520
diff changeset
    57
{\bf What do you know about Bitcoins:}
428
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
    58
561
17cd7fdee7c8 updated
Christian Urban <urbanc@in.tum.de>
parents: 520
diff changeset
    59
\begin{itemize}
17cd7fdee7c8 updated
Christian Urban <urbanc@in.tum.de>
parents: 520
diff changeset
    60
\item ???
17cd7fdee7c8 updated
Christian Urban <urbanc@in.tum.de>
parents: 520
diff changeset
    61
\end{itemize}  
428
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
    62
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
    63
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
    64
\end{frame}
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
    65
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
    66
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
    67
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
    68
317
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
    69
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    70
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    71
\frametitle{Bitcoins from 10,000m}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    72
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    73
\begin{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    74
\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
    75
\item a digital resource designed to be scarce 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    76
  (max 21 Mio bitcoins---deflationary currency) 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    77
\item mined by solving special puzzles involving hashes
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    78
\item transaction history (ledger/blockchain) is P2P distributed (12 GB)
428
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
    79
\item three ``mining pools'' produce\\ currently more than 50\% 
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    80
  of bitcoins 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    81
\item can be stolen and also lost
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
    82
\item anonymous?\pause
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
    83
\item surely a scam/ponzi scheme!
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    84
\end{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    85
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    86
\begin{textblock}{7}(11.5,10)
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    87
\includegraphics[scale=0.21]{../pics/bitcoin_ledgers.png}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    88
\end{textblock}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    89
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    90
\end{frame}
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
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    93
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    94
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    95
\frametitle{Bitcoins}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    96
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    97
\begin{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    98
\item you create a public-private key pair
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
    99
\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
   100
\begin{itemize}
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   101
\item electronic (on your computer, passwords)
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   102
\item cloud-based (passwords)
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   103
\item paper-based
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   104
\end{itemize}
561
17cd7fdee7c8 updated
Christian Urban <urbanc@in.tum.de>
parents: 520
diff changeset
   105
and contains only your private key(s)
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   106
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   107
\item Bitcoins can be stolen or lost
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   108
\item Mt.~Gox: hacked $\Rightarrow$ insolvent
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   109
\item no form of dispute resolution\\ (against current
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   110
consumer laws)
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   111
\end{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   112
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   113
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   114
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   115
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   116
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   117
\begin{frame}[c]
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   118
\frametitle{Underlying Ideas}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   119
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   120
It establishing trust in a completely 
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   121
untrusted environment\medskip
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   122
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   123
\begin{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   124
\item public-private key encryption\medskip
561
17cd7fdee7c8 updated
Christian Urban <urbanc@in.tum.de>
parents: 520
diff changeset
   125
\item cryptographic hashing (SHA-256)\medskip
17cd7fdee7c8 updated
Christian Urban <urbanc@in.tum.de>
parents: 520
diff changeset
   126
\item digital signatures
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   127
\end{itemize}
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
\begin{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   130
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
   131
\ldots ?
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   132
\end{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   133
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   134
\end{frame}
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
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   137
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   138
\begin{frame}[c]
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   139
\frametitle{Lets Start with ``Infocoins''}
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   140
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   141
\begin{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   142
\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
   143
\end{center}\bigskip
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   144
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   145
\begin{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   146
\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
   147
\item Alice cannot deny the ``intend'' of sending Bob money\pause\bigskip
561
17cd7fdee7c8 updated
Christian Urban <urbanc@in.tum.de>
parents: 520
diff changeset
   148
\item Q: What is crypto money?\\ 
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   149
  A: Well a string like above
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   150
  (or later messages like that)
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   151
\end{itemize}
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
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   156
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   159
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   160
\frametitle{Double Spend}
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{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   163
\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
   164
\end{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   165
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   166
\begin{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   167
\item Alice could keep sending Bob this message over and over
428
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   168
      again (did she mean to send 10 ICs?)\bigskip\pause
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   169
\item we need to have a serial number
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   170
\begin{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   171
\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
   172
\end{center}\pause\medskip
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   173
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   174
\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
   175
  (e.g.~a bank)
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   176
\end{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   177
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   178
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   179
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   182
\begin{frame}[c]
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   183
\frametitle{No Banks Please}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   184
428
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   185
With banks we could implement:\medskip
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   186
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   187
\begin{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   188
\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
   189
      number belongs to Alice and
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   190
\item Alice hasn’t already spent this infocoin.\bigskip 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   191
\item If yes, then Bob tells the bank he accepts the infocoin.
428
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   192
\item The bank updates the records (ledger) to show that the infocoin
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   193
      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
   194
      no longer belongs to Alice.
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   195
\end{itemize}
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
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   198
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   201
\begin{frame}[t]
498
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   202
\frametitle{Blockchain (Public Ledger)}
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   203
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   204
The solution for double spend: 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   205
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   206
\begin{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   207
\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
   208
      transaction history --- will be called
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   209
      \alert{\bf blockchain}\medskip
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   210
\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
   211
      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
   212
\end{itemize}
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
\begin{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   215
\includegraphics[scale=0.21]{../pics/bitcoin_ledgers.png}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   216
\end{center}
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
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   219
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   222
\begin{frame}[t]
498
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   223
\frametitle{Blockchain (Public Ledger)}
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   224
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   225
\begin{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   226
\includegraphics[scale=0.5]{../pics/bitcoinblockchain0.png}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   227
\end{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   228
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   229
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   230
\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
   231
the earlier block; ``validates'' potentially more than one
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   232
transaction
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   233
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   234
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   235
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   236
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   237
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   240
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   241
\frametitle{Transaction Graph}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   242
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   243
\mbox{}\hspace{3cm}older \hspace{3cm} current
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
\begin{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   246
\includegraphics[scale=0.5]{../pics/blockchain.png}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   247
\end{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   248
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   249
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   250
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   251
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   252
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   253
\begin{frame}[squeeze]
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   254
\frametitle{Double Spend Again}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   255
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   256
\begin{bubble}[10cm]
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   257
\begin{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   258
\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
   259
      number 1234567. 
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   260
\item I, Alice, am giving \alt<2->{\alert{Alice}}{Charlie} 
561
17cd7fdee7c8 updated
Christian Urban <urbanc@in.tum.de>
parents: 520
diff changeset
   261
      one infocoin with number 1234567. 
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   262
\end{itemize}
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   263
\end{bubble}
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   264
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   265
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
   266
register)?\\[-10mm]\mbox{}\pause
315
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
\begin{center}
428
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   269
\hspace{15mm}\includegraphics[scale=0.31]{../pics/bitcoindisagreement.png}
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   270
\end{center}
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
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   273
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   276
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   277
\frametitle{Creating Agreement}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   278
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   279
\begin{bubble}[10cm]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   280
Once \alert{enough} people have broadcast that message, 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   281
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
   282
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
   283
\end{bubble}\bigskip
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   284
\pause
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   285
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   286
\small
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   287
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
   288
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
   289
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
   290
puppet identities say ``Yes his transaction is validated'',
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   291
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
   292
is OK?
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   293
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   294
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   297
\begin{frame}[t]
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   298
\frametitle{!! Proof-of-Work !!}
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   299
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   300
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
   301
ideas:
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   302
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   303
\begin{bubble}[10cm]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   304
\begin{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   305
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   306
\item to (artificially) make it computationally costly for
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   307
      network users to validate transactions, and
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
\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
   310
\end{itemize}
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   311
\end{bubble}\pause
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   312
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   313
\small
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   314
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
   315
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
   316
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
   317
transaction fees
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   318
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   319
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   322
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   323
\frametitle{Solving Puzzles}
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
Given a string, say \code{"Hello, world!"}, what is the 
561
17cd7fdee7c8 updated
Christian Urban <urbanc@in.tum.de>
parents: 520
diff changeset
   326
\alert{salt} so that 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
   327
zeros?\bigskip
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   328
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   329
\begin{bubble}[10cm]
320
bd5775cc8a45 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 319
diff changeset
   330
\footnotesize\code{h("Hello, world!0") =}\\
324
43e44a4871de updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 321
diff changeset
   331
\;\;\scriptsize\pcode{1312af178c253f84028d480a6adc1e25e81caa44c749ec81976192e2ec934c64}\\
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   332
\pause
320
bd5775cc8a45 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 319
diff changeset
   333
\footnotesize\code{h("Hello, world!1") =}\\ 
324
43e44a4871de updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 321
diff changeset
   334
\;\;\scriptsize\pcode{e9afc424b79e4f6ab42d99c81156d3a17228d6e1eef4139be78e948a9332a7d8}\\
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   335
\pause
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   336
\ldots\\
320
bd5775cc8a45 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 319
diff changeset
   337
\footnotesize\code{h("Hello, world!4250") =}\\ 
324
43e44a4871de updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 321
diff changeset
   338
\;\;\scriptsize\pcode{0000c3af42fc31103f1fdc0151fa747ff87349a4714df7cc52ea464e12dcd4e9}
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   339
\end{bubble}
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
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   342
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   345
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   346
\frametitle{Hardness}
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
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
   349
say, then we will need, on average, to try $16^{10} \approx
561
17cd7fdee7c8 updated
Christian Urban <urbanc@in.tum.de>
parents: 520
diff changeset
   350
10^{12}$ different salts before we find a suitable salt. 
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   351
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   352
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
   353
number).
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   354
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   355
\begin{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   356
\includegraphics[scale=0.37]{../pics/blockchainsolving.png}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   357
\end{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   358
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   359
\end{frame}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   360
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   363
\begin{frame}[t]
498
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   364
\frametitle{How to Adjust the Target?}
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   365
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   366
\begin{itemize}
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   367
\item every 2016 blocks the hardness is adjusted\\ (app 2 weeks)
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   368
\end{itemize}
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   369
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   370
\begin{center}
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   371
\includegraphics[scale=0.37]{../pics/blockchainsolving.png}
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   372
\end{center}
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   373
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   374
\small
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   375
\[
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   376
\bl{\begin{array}{@{}l@{}}\text{New}\\ \text{Hardness}\end{array} \dn
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   377
\begin{array}{@{}l@{}}\text{Old}\\ \text{Hardness}\end{array} 
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   378
* \frac{\text{Actual time for the last 2016 blocks}}{2016}}
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   379
\]
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   380
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   381
\end{frame}
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   382
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   383
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   384
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   385
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   386
\begin{frame}[t]
427
33f872ba3546 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 426
diff changeset
   387
\frametitle{Bitcoin Schedule}
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   388
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   389
\begin{itemize}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   390
\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
   391
  mined halves (``reward era'')
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   392
\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
   393
\end{itemize}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   394
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   395
\begin{center}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   396
\begin{tikzpicture}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   397
\begin{axis}[
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   398
    xlabel={\footnotesize year},
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   399
    ylabel={\footnotesize \% of total bitcoins},
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   400
    ylabel style={yshift=0.0em},
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   401
    enlargelimits=false,
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   402
    xtick={2009,2011,...,2025},
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   403
    xmin=2009,
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   404
    xmax=2026,
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   405
    ymax=105,
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   406
    ymin=0,
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   407
    ytick={0,20,...,100},
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   408
    scaled ticks=false,
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   409
    axis lines=left,
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   410
    width=9cm,
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   411
    height=6cm,
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   412
    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
   413
    legend pos=south east,
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   414
    legend cell align=left,  
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   415
    y tick label style={font=\footnotesize}, 
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   416
    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
   417
    ]
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   418
\addplot
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   419
  table {bitcoinestimate.data};
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   420
\only<2>{\addplot[red] 
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   421
  table {bitcoinactual.data};}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   422
\end{axis}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   423
\end{tikzpicture}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   424
\end{center}
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   425
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   426
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   427
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   428
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   429
315
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
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   432
\frametitle{Order of Transactions}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   433
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   434
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
   435
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
   436
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   437
\begin{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   438
\includegraphics[scale=0.38]{../pics/bitcoin_unconfirmed.png}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   439
\end{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   440
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   441
\small
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   442
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
   443
to confirm the transactions. Celebration!\pause \hspace{5mm}??
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   444
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   445
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   446
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   449
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   450
\frametitle{Forks}
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
Typically the blockchain will look as follows
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   453
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   454
\begin{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   455
\includegraphics[scale=0.65]{../pics/block_chain1.png}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   456
\end{center}
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
\pause
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   459
But every so often there is a fork
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
\begin{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   462
\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
   463
\end{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   464
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   465
\small
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   466
\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
   467
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   468
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   469
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   470
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   471
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   472
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   473
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
   474
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   475
\begin{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   476
\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
   477
\end{center}
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
\small
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   480
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
   481
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
   482
to extend whichever fork is longest in their copy of the block
561
17cd7fdee7c8 updated
Christian Urban <urbanc@in.tum.de>
parents: 520
diff changeset
   483
chain. \pause(It is actually not a rule, but an incentive!)
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   484
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   485
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   486
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   489
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   490
\frametitle{Double Spending Again}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   491
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   492
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
   493
a longer chain:
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
\begin{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   496
\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
   497
\end{center}
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
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   500
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   501
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   502
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   503
\begin{frame}
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   504
\frametitle{Racing Against the World}
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   505
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   506
\begin{columns}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   507
\begin{column}{4.5cm}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   508
\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
   509
\end{column}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   510
\begin{column}{5.5cm}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   511
\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
   512
\end{column}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   513
\end{columns}\bigskip\bigskip\pause
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   514
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   515
\small
561
17cd7fdee7c8 updated
Christian Urban <urbanc@in.tum.de>
parents: 520
diff changeset
   516
By convention, a transaction is ``confirmed'' if:\smallskip
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   517
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   518
(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
   519
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
   520
say that the transaction has ``6 confirmations''.\bigskip
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   521
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   522
\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
   523
6 months chargeback)
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   524
\end{frame}
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   528
\begin{frame}[c]
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   529
\frametitle{Mining Pools}
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{bubble}[10cm]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   532
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
   533
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
   534
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
   535
minutes, is negligibly low.
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   536
\end{bubble}\pause
315
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
\small
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   539
Many people join groups called mining pools that collectively
561
17cd7fdee7c8 updated
Christian Urban <urbanc@in.tum.de>
parents: 520
diff changeset
   540
work to solve blocks, and distribute rewards based on the work
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   541
contributed. These act somewhat like lottery pools among
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   542
co-workers, except that some of these pools are quite large,
561
17cd7fdee7c8 updated
Christian Urban <urbanc@in.tum.de>
parents: 520
diff changeset
   543
and comprise more than 50\% of all the computers in the
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   544
network.\medskip
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
\footnotesize
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   547
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
   548
not solve more than 6 blocks in a row.
428
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   549
\hfill\url{https://blockchain.info/pools}
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   550
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   551
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   552
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   553
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   554
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   555
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   556
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   557
\frametitle{Bitcoins for Real}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   558
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   559
\begin{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   560
\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
   561
public key to determines your bitcoin address) 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   562
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   563
\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
   564
this address
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
\item there are $2^{160}$ possibilities\\ 
428
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   567
(no check for duplicates)\bigskip\pause
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   568
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   569
\item transactions contain ``payment scripts''
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   570
 (non-Turing-complete scripting language)\bigskip
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   571
 
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   572
 \small simplest script: pay-to-public-key
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   573
\end{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   574
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   575
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   576
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   577
428
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   578
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   579
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   580
\begin{frame}[t]
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   581
\frametitle{Multi-Signature Addresses}
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   582
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   583
\begin{itemize}
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   584
\item \ldots Bitcoin Improvement Proposal\bigskip\pause
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   585
\item pay-to-public-key (explained so far)
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   586
\item pay-to-script-hash (since 2012)\bigskip\pause
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   587
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   588
can specify: requires \bl{M} out of \bl{N} signatures\medskip
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   589
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   590
{\small for example\\
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   591
1-of-2: me and my wife, or\\
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   592
2-of-2 in banking/companies}
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   593
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   594
\end{itemize}
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   595
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   596
\end{frame}
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   597
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   598
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   599
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   600
\begin{frame}[t]
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   601
\frametitle{Dispute Mediation}
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   602
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   603
\begin{itemize}
561
17cd7fdee7c8 updated
Christian Urban <urbanc@in.tum.de>
parents: 520
diff changeset
   604
\item say, a client and an (online) merchant do not trust 
428
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   605
  each other\bigskip\pause
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   606
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   607
\item 2-of-3: mutually trusted escrow service
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   608
  \begin{enumerate}
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   609
  \item client sends money to 2-of-3 transaction
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   610
  \item merchant sends out goods
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   611
  \item if goods are OK, client sends signed transaction
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   612
    to merchant, merchant can sign and receive the money
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   613
    (publish in blockchain)
561
17cd7fdee7c8 updated
Christian Urban <urbanc@in.tum.de>
parents: 520
diff changeset
   614
  \item if goods are defective, and merchant is nice,
17cd7fdee7c8 updated
Christian Urban <urbanc@in.tum.de>
parents: 520
diff changeset
   615
    merchant sends signed transaction
428
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   616
    to client, client can sign and receive the money back
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   617
  \item if client and merchant disagree, then they ask escrow
561
17cd7fdee7c8 updated
Christian Urban <urbanc@in.tum.de>
parents: 520
diff changeset
   618
  service who signs a transaction and sends it to ``winning''
428
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   619
  party 
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   620
 \end{enumerate}
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   621
\end{itemize}
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   622
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   623
\end{frame}
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   624
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   625
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   626
315
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{frame}[c]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   629
\frametitle{A Transaction Msg}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   630
\small
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   631
\lstinputlisting[language=Scala,
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   632
                 numbersep=3pt, 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   633
                 xleftmargin=-6mm]{msg}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   634
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   635
\DOWNarrow{2}{3.5}{1.4}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   636
\LEFTarrow{3}{3.5}{2.8}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   637
\LEFTarrow{4}{4.7}{3.8}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   638
\LEFTarrow{4}{5.4}{4.6}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   639
\LEFTarrow{5}{5.4}{5.4}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   640
\LEFTarrow{6}{5.0}{6.2}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   641
\DOWNarrow{7}{6.0}{8.0}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   642
\LEFTarrow{8}{5.0}{9.5}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   643
\DOWNarrow{9}{7.0}{9.5}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   644
\DOWNarrow{9}{10.0}{9.5}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   645
\LEFTarrow{10}{9.0}{11.8}
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 381
diff changeset
   646
\DOWNarrow{11}{12.5}{11.9}
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   647
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{textblock}{0}(7,3)%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   650
\small
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   651
\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
   652
\begin{bubble}[6cm]%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   653
\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
   654
\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
   655
\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
   656
\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
   657
\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
   658
\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
   659
\only<11>{public key of the receiver}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   660
\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
   661
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
   662
\end{bubble}}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   663
\end{textblock}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   664
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   665
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   666
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   667
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   668
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   669
\begin{frame}[t]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   670
\frametitle{A Block in the Blockchain}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   671
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   672
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   673
\includegraphics[scale=0.38]{../pics/bitcoin_unconfirmed.png}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   674
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   675
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   676
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   677
\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
   678
the earlier block
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   679
\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
   680
puzzle
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   681
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   682
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   683
\end{frame}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   684
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   685
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   686
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   687
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   688
\begin{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   689
\frametitle{Transaction History}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   690
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   691
you can follow back the transaction history until
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   692
you reach either
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   693
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   694
\begin{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   695
\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
   696
50 bitcoins), or
250fd40211c7 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 320
diff changeset
   697
\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
   698
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
   699
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   700
\end{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   701
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   702
\end{frame}
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
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   705
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   706
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   707
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   708
\frametitle{Lost Bitcoins?}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   709
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   710
\begin{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   711
\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
   712
  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
   713
  key)\bigskip
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   714
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   715
\item somebody spends your bitcoins fraudulently
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   716
  (you cannot charge them back)\ldots{} bad luck
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   717
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   718
\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
   719
  (Mt.~Gox)
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   720
\end{itemize}
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
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   725
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   726
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   727
\frametitle{Good Points}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   728
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   729
An attacker can't:
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   730
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   731
\begin{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   732
\item reverse other people's transactions
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   733
\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
   734
\item create coins out of thin air
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   735
\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
   736
\item you cannot meddle with the ``history''
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   737
\end{itemize}\bigskip
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   738
561
17cd7fdee7c8 updated
Christian Urban <urbanc@in.tum.de>
parents: 520
diff changeset
   739
The system can be scaled to all world transactions??
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   740
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   741
\end{frame}
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
\begin{frame}[t]
317
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   746
\frametitle{But I did not Inhale\ldots}
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   747
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   748
\begin{center}
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   749
\includegraphics[scale=0.4]{../pics/bitcointornetwork.png}
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   750
\end{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   751
317
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   752
\only<1>{
561
17cd7fdee7c8 updated
Christian Urban <urbanc@in.tum.de>
parents: 520
diff changeset
   753
the ledger is public ``forever''; everybody can inspect
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   754
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
   755
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
   756
\only<2>{
428
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   757
You should use a new PKI-pair for \alert{every} transaction;
317
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   758
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
   759
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   760
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   761
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   762
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   763
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   764
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   765
\frametitle{Anonymity}
316
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   766
\small
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   767
317
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   768
``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
   769
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
   770
marketplaces such as Silk Road (and various successors), which
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 315
diff changeset
   771
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
   772
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
   773
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
   774
transaction ever. Although Bitcoin addresses aren’t
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   775
immediately associated to real-world identities, computer
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   776
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
   777
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
   778
marvellous target for these techniques.''
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   779
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   780
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   781
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
428
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   782
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   783
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   784
\begin{frame}[t]
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   785
\frametitle{Other Cryto-Currencies}
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   786
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   787
Coloured Coins:
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   788
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   789
\begin{itemize}
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   790
  \item record a 1 bitcoin transfer, say, and give it a
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   791
        ``colour'' 
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   792
        
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   793
  \item the transaction stands for a share in ``Foo Inc, UK''.
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   794
  
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   795
    
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   796
  \item only makes sense if the share is much more
561
17cd7fdee7c8 updated
Christian Urban <urbanc@in.tum.de>
parents: 520
diff changeset
   797
  valuable than just 1 Bc.          
428
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   798
\end{itemize} 
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   799
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   800
\end{frame}
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   801
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   802
39fa24c5d85e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 427
diff changeset
   803
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   804
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   805
\begin{frame}[t]
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   806
\frametitle{Bitcoin vs Gov}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   807
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   808
Purported absence of potential government interference?
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   809
\pause 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   810
Far from it:
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   811
  
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   812
\begin{itemize}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   813
  \item government could compel ``mayor players'' to blacklist
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   814
     bitcoins (exchanges)
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   815
  \item coerce developer community (e.g.~Lavabit)
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   816
  \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
   817
  itself
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   818
\end{itemize} 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   819
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   820
\begin{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   821
\includegraphics[scale=0.04]{../pics/nsautah1.jpg}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   822
\hspace{3mm}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   823
\includegraphics[scale=0.031]{../pics/nsautah2.jpg}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   824
\end{center}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   825
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   826
\end{frame}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   827
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   828
317
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   829
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   830
\begin{frame}[t]
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   831
\frametitle{Take Home Points}
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   832
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   833
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   834
\begin{itemize}
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   835
  \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
   836
  \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
   837
  \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
   838
  (e.g.~keeping private-keys secret)\bigskip
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   839
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   840
  \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
   841
  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
   842
\end{itemize} 
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   843
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   844
\end{frame}
0cdfa8ef4aa2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 316
diff changeset
   845
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   846
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   847
429
ff053e2766e8 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 428
diff changeset
   848
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
498
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   849
%\begin{frame}[t]
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   850
%\frametitle{Exam}
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   851
%
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   852
%
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   853
%\begin{itemize}
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   854
%  \item Questions will be from homeworks.
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   855
%
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   856
%  \item Rubric:
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   857
%  \begin{center}\small
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   858
%  \begin{tabular}{lp{7cm}}
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   859
%  Time Allowed & Two hours\\ 
520
bd25d9f9d9dc updated
Christian Urban <urbanc@in.tum.de>
parents: 518
diff changeset
   860
%  Rubric       & ANSWER ALL QUESTIONS\\
498
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   861
%  Calculators  & Calculators are not permitted\\
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   862
%  Notes        & Books, notes or other written material 
520
bd25d9f9d9dc updated
Christian Urban <urbanc@in.tum.de>
parents: 518
diff changeset
   863
%  may not be brought into this examination\\
bd25d9f9d9dc updated
Christian Urban <urbanc@in.tum.de>
parents: 518
diff changeset
   864
%  \end{tabular}
498
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   865
%  \end{center} 
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   866
%\end{itemize} 
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   867
%
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   868
%\end{frame}
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   869
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
429
ff053e2766e8 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 428
diff changeset
   870
498
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   871
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   872
\begin{frame}[t]
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   873
%\frametitle{Take Home Points}
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   874
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   875
  \begin{center}
561
17cd7fdee7c8 updated
Christian Urban <urbanc@in.tum.de>
parents: 520
diff changeset
   876
    Next 4 weeks by Jose Such\bigskip\bigskip
17cd7fdee7c8 updated
Christian Urban <urbanc@in.tum.de>
parents: 520
diff changeset
   877
17cd7fdee7c8 updated
Christian Urban <urbanc@in.tum.de>
parents: 520
diff changeset
   878
    You can still send me homework for weeks 1 - 6.
498
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   879
  \end{center}  
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   880
      
429
ff053e2766e8 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 428
diff changeset
   881
ff053e2766e8 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 428
diff changeset
   882
\end{frame}
ff053e2766e8 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 428
diff changeset
   883
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   884
498
ba35def0965b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 429
diff changeset
   885
315
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   886
\end{document}
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   887
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   888
%%% Local Variables:  
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   889
%%% mode: latex
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   890
%%% TeX-master: t
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   891
%%% End: 
7bd723cb9b32 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   892