From 87376e02eba3f5c2cf83a493446dee0c300565a4 Mon Sep 17 00:00:00 2001
From: Christian Grothoff <christian@grothoff.org>
Date: Sat, 25 Dec 2021 13:56:33 +0100
Subject: protocol v12 changes (/recoup split, signature changes) plus database
 sharding plus O(n^2)=>O(n) worst-case complexity reduction on coin balance
 checks

---
 src/exchangedb/drop0001.sql | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

(limited to 'src/exchangedb/drop0001.sql')

diff --git a/src/exchangedb/drop0001.sql b/src/exchangedb/drop0001.sql
index 3dcbb81fa..f28a6b77e 100644
--- a/src/exchangedb/drop0001.sql
+++ b/src/exchangedb/drop0001.sql
@@ -54,10 +54,21 @@ DROP TABLE IF EXISTS reserves CASCADE;
 DROP TABLE IF EXISTS denomination_revocations CASCADE;
 DROP TABLE IF EXISTS denominations CASCADE;
 
-DROP FUNCTION IF EXISTS exchange_do_withdraw(bigint,integer,bytea,bytea,bytea,bytea,bytea,bigint,bigint) ;
+DROP FUNCTION IF EXISTS exchange_do_withdraw(bigint,int,bytea,bytea,bytea,bytea,bytea,bigint,bigint) ;
 
-DROP FUNCTION IF EXISTS exchange_do_withdraw_limit_check(bigint,bigint,bigint,int) ;
+DROP FUNCTION IF EXISTS exchange_do_withdraw_limit_check(bytea,bigint,bigint,int) ;
 
+DROP FUNCTION IF EXISTS exchange_do_deposit;
+
+DROP FUNCTION IF EXISTS exchange_do_melt;
+
+DROP FUNCTION IF EXISTS exchange_do_refund;
+
+DROP FUNCTION IF EXISTS exchange_do_recoup_to_coin;
+
+DROP FUNCTION IF EXISTS exchange_do_recoup_to_reserve;
+
+-- FIXME: drop other stored functions!
 
 -- And we're out of here...
 COMMIT;
-- 
cgit v1.2.3

