exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 5c0cbba761fe956e899670b89d2cbebc7d21fbaf
parent 94038bfcfd58a958016e3e40c1ffeba70c53dc57
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon, 25 Apr 2022 13:18:37 +0200

-sketch implementation of exchange_do_reserve_purse()

Diffstat:
Msrc/exchangedb/exchange-0001-part.sql | 14+++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)

diff --git 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 $$;