summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSree Harsha Totakura <sreeharsha@totakura.in>2015-04-12 11:07:41 +0200
committerSree Harsha Totakura <sreeharsha@totakura.in>2015-04-12 11:09:11 +0200
commitfcca3115427383f232b0510d162b0e5972a2ce2d (patch)
tree52d45987eac56b1d721e2bfd5c157d9b22afd93a /src
parent0e52c47de7904a9f41057d5a1dcdf183fe57d1df (diff)
downloadexchange-fcca3115427383f232b0510d162b0e5972a2ce2d.tar.gz
exchange-fcca3115427383f232b0510d162b0e5972a2ce2d.tar.bz2
exchange-fcca3115427383f232b0510d162b0e5972a2ce2d.zip
mintdb: add fixme #3769: Should coins be made spendable at multiple merchants?
Diffstat (limited to 'src')
-rw-r--r--src/mintdb/plugin_mintdb_postgres.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mintdb/plugin_mintdb_postgres.c b/src/mintdb/plugin_mintdb_postgres.c
index 7e6b2d947..6197544ca 100644
--- a/src/mintdb/plugin_mintdb_postgres.c
+++ b/src/mintdb/plugin_mintdb_postgres.c
@@ -283,6 +283,7 @@ postgres_create_tables (void *cls,
")");
SQLEXEC("CREATE TABLE IF NOT EXISTS deposits "
"( "
+ /* FIXME #3769: the following primary key may be too restrictive */
" coin_pub BYTEA NOT NULL PRIMARY KEY CHECK (length(coin_pub)=32)"
",denom_pub BYTEA NOT NULL" /* FIXME: Link this as a foreign key? */
",denom_sig BYTEA NOT NULL"