add -m option to auditor

This commit is contained in:
Christian Grothoff 2017-03-15 12:02:07 +01:00
parent ae3e850c94
commit af5810ccae
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -25,7 +25,6 @@
* given in the aggregation_tracking table. This needs to be checked separately! * given in the aggregation_tracking table. This needs to be checked separately!
* *
* TODO: * TODO:
* - initialize master_pub via command-line argument (URGENT!)
* - modify auditordb to allow multiple last serial IDs per table in progress tracking * - modify auditordb to allow multiple last serial IDs per table in progress tracking
* - modify auditordb to return row ID where we need it for diagnostics * - modify auditordb to return row ID where we need it for diagnostics
* - implement coin/denomination audit * - implement coin/denomination audit
@ -1358,6 +1357,12 @@ main (int argc,
char *const *argv) char *const *argv)
{ {
const struct GNUNET_GETOPT_CommandLineOption options[] = { const struct GNUNET_GETOPT_CommandLineOption options[] = {
GNUNET_GETOPT_OPTION_MANDATORY
(GNUNET_GETOPT_OPTION_SET_BASE32_AUTO ('m',
"exchange-key",
"KEY",
"public key of the exchange (Crockford base32 encoded)",
&master_pub)),
GNUNET_GETOPT_OPTION_END GNUNET_GETOPT_OPTION_END
}; };