diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_crypto_lib.h | 21 | ||||
-rw-r--r-- | src/include/taler_exchange_service.h | 4 | ||||
-rw-r--r-- | src/include/taler_testing_lib.h | 8 |
3 files changed, 7 insertions, 26 deletions
diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h index 4024123bf..7b9d932d5 100644 --- a/src/include/taler_crypto_lib.h +++ b/src/include/taler_crypto_lib.h @@ -435,27 +435,6 @@ struct TALER_PlanchetSecretsP }; -/** - * Header for serializations of coin-specific information about the fresh - * coins we generate from refresh. These are the secrets that arise during - * planchet generation, which is the first stage of creating a new coin from - * refresh. - */ -struct TALER_RefreshPlanchetSecretsP -{ - - /** - * Private key of the coin. - */ - struct TALER_CoinSpendPrivateKeyP coin_priv; - - /** - * XXX. See #5777~0014690 - need a solution for this first! - */ - struct TALER_TransferPrivateKeyP transfer_priv; - -}; - GNUNET_NETWORK_STRUCT_END diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index eebbf6c51..7fc7a5690 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -1356,9 +1356,7 @@ typedef void unsigned int http_status, enum TALER_ErrorCode ec, unsigned int num_coins, - /* TODO (#5777): possibly replace - by a `struct TALER_RefreshPlanchetSecretsP` */ - const struct TALER_CoinSpendPrivateKeyP *coin_privs, + const struct TALER_PlanchetSecretsP *coin_privs, const struct TALER_DenominationSignature *sigs, const json_t *full_response); diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index a421cf43c..beb28f7a0 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -1950,8 +1950,6 @@ TALER_TESTING_get_trait_uint /** * Information about a fresh coin generated by the refresh * operation. FIXME: should go away from here! - * - * FIXME: should be renamed, easily confused with `struct TALER_FreshCoin`! */ struct TALER_TESTING_FreshCoinData { @@ -1973,6 +1971,12 @@ struct TALER_TESTING_FreshCoinData * Set (by the interpreter) to the coin's private key. */ struct TALER_CoinSpendPrivateKeyP coin_priv; + + /** + * The blinding key (needed for payback operations). + */ + struct TALER_DenominationBlindingKeyP blinding_key; + }; |