commit 7ba2491031c2039e205e98429384434bbcbd2d8a
parent 647d581ff2d3829d40b19a92ad5b0f8ca0f0f943
Author: Fournier Nicolas <nicolas.fournier@ensta-paristech.fr>
Date: Fri, 31 Jul 2015 16:34:46 +0200
index for reserves_out table
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/mintdb/plugin_mintdb_postgres.c b/src/mintdb/plugin_mintdb_postgres.c
@@ -287,7 +287,9 @@ postgres_create_tables (void *cls,
");");
/* Index blindcoins(reserve_pub) for get_reserves_out statement */
SQLEXEC_INDEX ("CREATE INDEX reserves_out_reserve_pub_index ON"
- " reserves_out (reserve_pub)");
+ " reserves_out (reserve_pub)");
+ SQLEXEC_INDEX ("CREATE INDEX reserves_out_h_blind_ev_index ON "
+ "reserves_out (h_blind_ev)");
/* Table with coins that have been (partially) spent, used to track
coin information only once.
TODO: maybe eliminate, this might be over-normalization (#3811) */