diff options
Diffstat (limited to 'src/include/sync_database_plugin.h')
-rw-r--r-- | src/include/sync_database_plugin.h | 38 |
1 files changed, 1 insertions, 37 deletions
diff --git a/src/include/sync_database_plugin.h b/src/include/sync_database_plugin.h index b847888..36162c6 100644 --- a/src/include/sync_database_plugin.h +++ b/src/include/sync_database_plugin.h @@ -22,46 +22,10 @@ #define SYNC_DATABASE_PLUGIN_H #include <gnunet/gnunet_util_lib.h> -#include <sync_error_codes.h> #include "sync_service.h" #include <jansson.h> #include <taler/taler_util.h> -/** - * Private key identifying an account. - */ -struct SYNC_AccountPrivateKey -{ - /** - * We use EdDSA. - */ - struct GNUNET_EdDSAPrivateKey eddsa_priv; -}; - - -/** - * Public key identifying an account. - */ -struct SYNC_AccountPublicKey -{ - /** - * We use EdDSA. - */ - struct GNUNET_EdDSAPrivateKey eddsa_priv; -}; - - -/** - * Signature made with an account's public key. - */ -struct SYNC_AccountSignature -{ - /** - * We use EdDSA. - */ - struct GNUNET_EdDSASignature eddsa_sig; -}; - /** * Possible status codes returned from the SYNC database. @@ -76,7 +40,7 @@ enum SYNC_DB_QueryStatus /** * Account is unpaid. */ - SYNC_DB_QS_PAYMENT_REQUIRED = -3, + SYNC_DB_PAYMENT_REQUIRED = -3, /** * Hard database issue, retries futile. |