diff --git a/.clang-format b/.clang-format old mode 100644 new mode 100755 diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml old mode 100644 new mode 100755 diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/CMakeLists.txt b/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/Dockerfile b/Dockerfile old mode 100644 new mode 100755 diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/docs/pdf/protocol.pdf b/docs/pdf/protocol.pdf old mode 100644 new mode 100755 diff --git a/docs/pdf/specifications.pdf b/docs/pdf/specifications.pdf old mode 100644 new mode 100755 diff --git a/docs/protocol.pdf b/docs/protocol.pdf index fad2208..be7d9d7 100644 Binary files a/docs/protocol.pdf and b/docs/protocol.pdf differ diff --git a/docs/protocol.tex b/docs/protocol.tex old mode 100644 new mode 100755 index e5635ba..fb5bb96 --- a/docs/protocol.tex +++ b/docs/protocol.tex @@ -18,8 +18,8 @@ application for 'fake' trading assets, to practice investing. The document contains explainations on how to implement the papertrader application. It should be noted that the document isn't `production-ready' until this sentence is removed. The document will go over the roles of the master server, and the -worker servers, how they interact with eachother and the communication protocol, -and finally, suggestions on server side implementations. +worker servers, how they interact with eachother and the communication +protocol, and finally, suggestions on server side implementations. \section{Overview} This section contains the required terminology and modelling of the PaperTrader @@ -33,7 +33,8 @@ lockdown. Meaning, critical data should be kept secure. \subsubsection{Outer World} This is the frontend, including the desktop cleint, mobile client, or the -website client. The data here is controlled by the authorization of the account. +website client. The data here is controlled by the authorization of the +account. \subsubsection{Critical Data} Cirtical Data are all data types that shouldn't be tampered with without @@ -791,4 +792,8 @@ on the sessionID, i.e if the sessionID is for username all data is returned. On success, the server would return teh data transfer mechanism. On failure, the server would return the `dataFill' instruction. +\subsubsection{loginFail} +This is a server return instruction. It means that a login has failed. The +reason is in the arguments attached with the instruction. + \end{document} diff --git a/docs/specifications.tex b/docs/specifications.tex old mode 100644 new mode 100755 diff --git a/libtrader/CMakeLists.txt b/libtrader/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/libtrader/include/libtrader/trader.h b/libtrader/include/libtrader/trader.h old mode 100644 new mode 100755 diff --git a/libtrader/test.c b/libtrader/test.c old mode 100644 new mode 100755 diff --git a/sandbox/CMakeLists.txt b/sandbox/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/sandbox/main.c b/sandbox/main.c old mode 100644 new mode 100755