aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_crypto_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-05-20 12:31:27 +0200
committerChristian Grothoff <christian@grothoff.org>2021-05-20 12:31:27 +0200
commit4741f4ea02148ed1dede88affd83edd9a96e2680 (patch)
treebde9d1f98715cbd73ce4394545abd6e0252b6180 /src/include/taler_crypto_lib.h
parent259a180bb68bbc084cdb2f89887ecd165960f1f5 (diff)
implement duplicate reserve_pub detection in fakebank, add test (fails in pybank), for #6863
Diffstat (limited to 'src/include/taler_crypto_lib.h')
-rw-r--r--src/include/taler_crypto_lib.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h
index 8d1bbec26..71579170a 100644
--- a/src/include/taler_crypto_lib.h
+++ b/src/include/taler_crypto_lib.h
@@ -592,6 +592,19 @@ struct TALER_WireTransferIdentifierRawP
/**
+ * Raw value of a wire transfer subject for a wad.
+ */
+struct TALER_WadIdentifierP
+{
+
+ /**
+ * Wad identifier, in binary encoding.
+ */
+ uint8_t raw[24];
+};
+
+
+/**
* Binary information encoded in Crockford's Base32 in wire transfer
* subjects of transfers from Taler to a merchant. The actual value
* is chosen by the exchange and has no particular semantics, other than