taler_arch.tex (1356B)
1 \begin{tikzpicture}[ 2 rect/.style={circle, draw=black,font=\fontsize{9}{16}\selectfont}, 3 sym/.style={-stealth, shorten >= 2pt, shorten <= 2pt} 4 ] 5 % Taler payment system 6 \node[rect](1) {Exchange}; 7 \node[rect,below left=1.5cm and 0.75cm of 1](2) {Customer}; 8 \node[rect,below right=1.5cm and 0.75cm of 1](3) {Merchant}; 9 10 \draw[sym] (1) -- node [midway, above, sloped] {\tiny Withdraw coins} (2); 11 \draw[sym] (2) -- node [midway, above, sloped] {\tiny Spend coins} (3); 12 \draw[sym] (3) -- node [midway, above, sloped] {\tiny Deposit coins} (1); 13 14 % Settlement layer 15 \node[left=2.5cm of 1](E1){}; 16 \node[right=2.5cm of 1](E2){}; 17 \draw[sym] (E1) -- node [midway, above] {\tiny Deposit money} (1); 18 \draw[sym] (1) -- node [midway, above] {\tiny Withdraw money} (E2); 19 20 % Auditor 21 \node[above=0.6cm of 1](A){Auditor}; 22 \draw[sym] (A) -- node [midway, right] {\tiny Verify} (1); 23 24 % Separator 25 \node[below=1mm of E1] (S1S) {}; 26 \node[below=1mm of E2] (S1E) {}; 27 \node[above=6mm of E1] (S2S) {}; 28 \node[above=6mm of E2] (S2E) {}; 29 30 \draw[dotted] (S1S) -- (S1E); 31 \draw[dotted] (S2S) -- (S2E); 32 33 \node[below right=-2mm and -1.5mm of S2S] {\tiny{\emph{Settlement Layer}}}; 34 \node[below right=-2mm and -1.5mm of S1S] {\tiny{\emph{Taler payment system}}}; 35 \end{tikzpicture}