aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_exchangedb_plugin.h
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2022-03-18 01:57:39 +0100
committerChristian Grothoff <grothoff@gnunet.org>2022-03-18 01:57:39 +0100
commit23af6c3c41f458fa47abaf613c095aac71b8c200 (patch)
treeb0c7971052b41ef2db7d4b7f258ab4dc5862c834 /src/include/taler_exchangedb_plugin.h
parenta59d39f699c79a09e3ca33eb082d895444784751 (diff)
change table structures again to shard better by coin_pub and not use known_coin_id so much
Diffstat (limited to 'src/include/taler_exchangedb_plugin.h')
-rw-r--r--src/include/taler_exchangedb_plugin.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h
index a82ba8ba..5f45c990 100644
--- a/src/include/taler_exchangedb_plugin.h
+++ b/src/include/taler_exchangedb_plugin.h
@@ -340,6 +340,7 @@ struct TALER_EXCHANGEDB_TableData
{
uint64_t shard;
uint64_t known_coin_id;
+ struct TALER_CoinSpendPublicKeyP coin_pub;
struct TALER_Amount amount_with_fee;
struct GNUNET_TIME_Timestamp wallet_timestamp;
struct GNUNET_TIME_Timestamp exchange_timestamp;
@@ -402,7 +403,7 @@ struct TALER_EXCHANGEDB_TableData
struct
{
- uint64_t known_coin_id;
+ struct TALER_CoinSpendPublicKeyP coin_pub;
struct TALER_CoinSpendSignatureP coin_sig;
union TALER_DenominationBlindingKeyP coin_blind;
struct TALER_Amount amount;
@@ -413,6 +414,7 @@ struct TALER_EXCHANGEDB_TableData
struct
{
uint64_t known_coin_id;
+ struct TALER_CoinSpendPublicKeyP coin_pub;
struct TALER_CoinSpendSignatureP coin_sig;
union TALER_DenominationBlindingKeyP coin_blind;
struct TALER_Amount amount;