db: Do not store blind signature as we generate them on the fly
This commit is contained in:
parent
8c16c7372a
commit
19911c825b
@ -191,13 +191,12 @@ TALER_MINT_DB_create_tables (int temporary)
|
|||||||
SQLEXEC ("CREATE TABLE IF NOT EXISTS collectable_blindcoins"
|
SQLEXEC ("CREATE TABLE IF NOT EXISTS collectable_blindcoins"
|
||||||
"("
|
"("
|
||||||
"blind_ev BYTEA PRIMARY KEY"
|
"blind_ev BYTEA PRIMARY KEY"
|
||||||
",blind_ev_sig BYTEA NOT NULL"
|
|
||||||
",denom_pub BYTEA NOT NULL"
|
",denom_pub BYTEA NOT NULL"
|
||||||
",reserve_sig BYTEA NOT NULL"
|
",reserve_sig BYTEA NOT NULL"
|
||||||
",reserve_pub BYTEA REFERENCES reserves (reserve_pub) ON DELETE CASCADE"
|
",reserve_pub BYTEA REFERENCES reserves (reserve_pub) ON DELETE CASCADE"
|
||||||
");"
|
");");
|
||||||
"CREATE INDEX collectable_blindcoins_index ON"
|
SQLEXEC ("CREATE INDEX collectable_blindcoins_reserve_pub_index ON"
|
||||||
" collectable_blindcoins(reserve_pub)");
|
" collectable_blindcoins (reserve_pub)");
|
||||||
SQLEXEC("CREATE TABLE IF NOT EXISTS known_coins "
|
SQLEXEC("CREATE TABLE IF NOT EXISTS known_coins "
|
||||||
"("
|
"("
|
||||||
" coin_pub BYTEA NOT NULL PRIMARY KEY"
|
" coin_pub BYTEA NOT NULL PRIMARY KEY"
|
||||||
|
Loading…
Reference in New Issue
Block a user