summaryrefslogtreecommitdiff
path: root/src/include/taler_testing_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-17 17:52:20 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-17 17:52:20 +0100
commit67bfd94009edfeaa6f0afcc9afc9208cf35f3672 (patch)
tree36d9a200b62350582a7695bc3c8bfae8b87b0d54 /src/include/taler_testing_lib.h
parent096de63d04a2bf86c155fd2c594e72704a404cab (diff)
downloadexchange-67bfd94009edfeaa6f0afcc9afc9208cf35f3672.tar.gz
exchange-67bfd94009edfeaa6f0afcc9afc9208cf35f3672.tar.bz2
exchange-67bfd94009edfeaa6f0afcc9afc9208cf35f3672.zip
resolve another FIXME
Diffstat (limited to 'src/include/taler_testing_lib.h')
-rw-r--r--src/include/taler_testing_lib.h34
1 files changed, 4 insertions, 30 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h
index dc99b8200..2a08ba1e3 100644
--- a/src/include/taler_testing_lib.h
+++ b/src/include/taler_testing_lib.h
@@ -2103,36 +2103,10 @@ TALER_TESTING_get_trait_uint (const struct TALER_TESTING_Command *cmd,
/**
- * Information about a fresh coin generated by the refresh
- * operation. FIXME: should go away from here!
+ * Opaque handle to fresh coins generated during refresh.
+ * Details are internal to the refresh logic.
*/
-struct TALER_TESTING_FreshCoinData
-{
-
- /**
- * If @e amount is NULL, this specifies the denomination key to
- * use. Otherwise, this will be set (by the interpreter) to the
- * denomination PK matching @e amount.
- */
- const struct TALER_EXCHANGE_DenomPublicKey *pk;
-
- /**
- * Set (by the interpreter) to the exchange's signature over the
- * coin's public key.
- */
- struct TALER_DenominationSignature sig;
-
- /**
- * 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;
-
-};
+struct TALER_TESTING_FreshCoinData;
/**
@@ -2147,7 +2121,7 @@ struct TALER_TESTING_FreshCoinData
*/
struct TALER_TESTING_Trait
TALER_TESTING_make_trait_fresh_coins (unsigned int index,
- struct TALER_TESTING_FreshCoinData *
+ const struct TALER_TESTING_FreshCoinData *
fresh_coins);