summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSree Harsha Totakura <sreeharsha@totakura.in>2015-03-06 17:56:23 +0100
committerSree Harsha Totakura <sreeharsha@totakura.in>2015-03-06 17:56:23 +0100
commit19911c825b2ed766210494dd7e65ebbe399ae1fb (patch)
tree3c0fbfe7b08f6351fbdac14752195832193b1d73
parent8c16c7372a2c9617e1ff8f235718f9e82cb6414a (diff)
downloadexchange-19911c825b2ed766210494dd7e65ebbe399ae1fb.tar.gz
exchange-19911c825b2ed766210494dd7e65ebbe399ae1fb.tar.bz2
exchange-19911c825b2ed766210494dd7e65ebbe399ae1fb.zip
db: Do not store blind signature as we generate them on the fly
-rw-r--r--src/mint/mint_db.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mint/mint_db.c b/src/mint/mint_db.c
index 36e88a794..fa3158cd4 100644
--- a/src/mint/mint_db.c
+++ b/src/mint/mint_db.c
@@ -191,13 +191,12 @@ TALER_MINT_DB_create_tables (int temporary)
SQLEXEC ("CREATE TABLE IF NOT EXISTS collectable_blindcoins"
"("
"blind_ev BYTEA PRIMARY KEY"
- ",blind_ev_sig BYTEA NOT NULL"
",denom_pub BYTEA NOT NULL"
",reserve_sig BYTEA NOT NULL"
",reserve_pub BYTEA REFERENCES reserves (reserve_pub) ON DELETE CASCADE"
- ");"
- "CREATE INDEX collectable_blindcoins_index ON"
- " collectable_blindcoins(reserve_pub)");
+ ");");
+ SQLEXEC ("CREATE INDEX collectable_blindcoins_reserve_pub_index ON"
+ " collectable_blindcoins (reserve_pub)");
SQLEXEC("CREATE TABLE IF NOT EXISTS known_coins "
"("
" coin_pub BYTEA NOT NULL PRIMARY KEY"