diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-04-25 13:18:37 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-04-25 13:18:37 +0200 |
commit | 5c0cbba761fe956e899670b89d2cbebc7d21fbaf (patch) | |
tree | 8a3815ba129d022948527d68be79de37821898d6 | |
parent | 94038bfcfd58a958016e3e40c1ffeba70c53dc57 (diff) |
-sketch implementation of exchange_do_reserve_purse()
-rw-r--r-- | src/exchangedb/exchange-0001-part.sql | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/exchangedb/exchange-0001-part.sql b/src/exchangedb/exchange-0001-part.sql index ab80be965..d17e5a837 100644 --- a/src/exchangedb/exchange-0001-part.sql +++ b/src/exchangedb/exchange-0001-part.sql @@ -2773,6 +2773,18 @@ END IF; out_conflict=FALSE; +-- Store account merge signature. +INSERT INTO account_merges + (reserve_pub + ,reserve_sig + ,purse_pub) + VALUES + (in_reserve_pub + ,in_reserve_sig + ,in_purse_pub); + + + -- Charge reserve for purse creation. -- FIXME: Use different type of purse -- signature in this case, so that we @@ -2860,7 +2872,7 @@ CREATE OR REPLACE FUNCTION exchange_do_account_merge( LANGUAGE plpgsql AS $$ BEGIN - -- FIXME + -- FIXME: function/API is dead! Do DCE? END $$; |