diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-12-05 17:02:51 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-12-05 17:02:51 +0100 |
commit | a1173e118edb4a6d386b152e9c3176107d403521 (patch) | |
tree | 33a700bc119f6cc1433e3b4569d8f4c29e5c1106 /README | |
parent | f53522a3bb661e64228dbaed6b660d819990a721 (diff) | |
download | taler-mdb-a1173e118edb4a6d386b152e9c3176107d403521.tar.gz taler-mdb-a1173e118edb4a6d386b152e9c3176107d403521.tar.bz2 taler-mdb-a1173e118edb4a6d386b152e9c3176107d403521.zip |
basic refund integration (currently 404s)
Diffstat (limited to 'README')
-rw-r--r-- | README | 44 |
1 files changed, 9 insertions, 35 deletions
@@ -1,8 +1,9 @@ -# Project : GNUTaler snack machine +# Project: GNU Taler snack machine #### Author(s) * BOSS Marco * HOFER Dominik + * GROTHOFF Christian #### Prerequisite * GNU gcc tool-chain @@ -10,18 +11,19 @@ * libnfc * libcurl * pthread - * Gnu make + * GNU make + * GNUnet + * GNU Taler (exchange + merchant) #### Tested on * Ubuntu LTS (18.04) #### Description - This is a app to run a snack machine as taler merchant with nfc payment interface. + This is a app to run a snack machine as Taler merchant with NFC payment interface. #### Tasks - * fix bug when order pending -> press cancel -> abort from gunent scheduler - Nov 12 18:47:04-224202 util-scheduler-4656 ERROR `select' failed at scheduler.c:2336 with error: Bad file descriptor - Nov 12 18:47:04-224321 taler-mdb-4656 ERROR Assertion failed at scheduler.c:2370. Aborting. + Improve documentation + Integration testing #### Remarks * When using an ACR122 device there may be problems with libnfc, see libnfc for further information @@ -35,35 +37,7 @@ =================== TODO: - -- Use common prefix for all exported symbols in your - codebase, i.e. 'SNACK_'; you can then continue with - a file-specific prefix, i.e. 'SNACK_nfc_'. But you - MUST NOT use only 'nfc_', as that is "reserved" - for functions from libnfc! -- Consider to use GNUNET_log() for logging, - (#include <gnunet/gnunet_util_lib.h>, -lgnunetutil) -- - or define your own wrapper, but never printf, and - avoid using 'fprintf' directly (logging abstraction!) -- Consider using GNUNET_CONFIGURATION_* to obtain - configuration data (CURRENCY, Taler backend!) -- - or write your own configuration parser, but avoid - hard-coding parameters users would want to change! -- Consider using GNUNET_GETOPT_* to parse command-line - arguments -- - or use getopt() and implement --help yourself... -- Strongly consider using GNUNET_strdup(), GNUNET_malloc() - and other 'fundamental' functions of libgnunetutil, - instead of re-inventing that wheel... -- Consider using event loop (GNUNET_SCHEDULER_()) - instead of pthreads with cancellation -- stick to c89 style for local variables, i.e. do - not introduce variables in the middle of the scope -- stick to c89 style comments /* foo */, not // +- generate upper-case URLs once wallet supports TALER:// - document your functions Doxygen-style, in particular you must document every function, every argument, every struct, every member of every struct -- Use '&foo' if you want to use 'foo' as an argument - (higher order function) instead of calling 'foo()'. - -- makes no difference in C, but more readable --
\ No newline at end of file |