exchange

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

commit 21c4bb0a2a286fe012825550fca25aba1ccea15a
parent fa256c742a7738f37a67e212766e80b35990e8ac
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Sun, 16 Aug 2026 22:15:07 +0200

actually insert into reserves_open_requests

Diffstat:
Msrc/exchangedb/do_reserve_open.sql | 16++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)

diff --git a/src/exchangedb/do_reserve_open.sql b/src/exchangedb/do_reserve_open.sql @@ -224,6 +224,22 @@ UPDATE reserves SET WHERE reserve_pub=in_reserve_pub; +INSERT INTO reserves_open_requests + (reserve_pub + ,request_timestamp + ,expiration_date + ,reserve_sig + ,reserve_payment + ,requested_purse_limit + ) VALUES ( + in_reserve_pub + ,in_now + ,my_expiration_date + ,in_reserve_sig + ,in_reserve_payment + ,in_min_purse_limit) + ON CONFLICT DO NOTHING; + out_final_expiration=my_expiration_date; out_open_cost = my_cost; out_no_funds=FALSE;