diff options
Diffstat (limited to 'taler-exchange/patch')
-rw-r--r-- | taler-exchange/patch/1-remove-header.patch | 45 | ||||
-rw-r--r-- | taler-exchange/patch/2-remove-double-constant.patch | 42 |
2 files changed, 87 insertions, 0 deletions
diff --git a/taler-exchange/patch/1-remove-header.patch b/taler-exchange/patch/1-remove-header.patch new file mode 100644 index 0000000..20e8f30 --- /dev/null +++ b/taler-exchange/patch/1-remove-header.patch @@ -0,0 +1,45 @@ +Only in b/src/exchange: sedjui6lB +diff -ru a/src/exchange/taler-exchange-httpd_kyc-wallet.c b/src/exchange/taler-exchange-httpd_kyc-wallet.c +--- a/src/exchange/taler-exchange-httpd_kyc-wallet.c 2024-08-19 03:08:33.447317541 -0500 ++++ b/src/exchange/taler-exchange-httpd_kyc-wallet.c 2024-10-01 14:36:38.206822705 -0500 +@@ -30,7 +30,6 @@ + #include "taler-exchange-httpd_common_kyc.h" + #include "taler-exchange-httpd_kyc-wallet.h" + #include "taler-exchange-httpd_responses.h" +-#include "taler-exchange-httpd_withdraw.h" + + + /** +diff -ru a/src/exchange/taler-exchange-httpd_purses_merge.c b/src/exchange/taler-exchange-httpd_purses_merge.c +--- a/src/exchange/taler-exchange-httpd_purses_merge.c 2024-08-19 03:08:33.447317541 -0500 ++++ b/src/exchange/taler-exchange-httpd_purses_merge.c 2024-10-01 14:36:38.213822705 -0500 +@@ -33,7 +33,6 @@ + #include "taler-exchange-httpd_common_kyc.h" + #include "taler-exchange-httpd_purses_merge.h" + #include "taler-exchange-httpd_responses.h" +-#include "taler-exchange-httpd_withdraw.h" + #include "taler_exchangedb_lib.h" + #include "taler-exchange-httpd_keys.h" + +diff -ru a/src/exchange/taler-exchange-httpd_reserves_close.c b/src/exchange/taler-exchange-httpd_reserves_close.c +--- a/src/exchange/taler-exchange-httpd_reserves_close.c 2024-08-19 03:08:33.448317541 -0500 ++++ b/src/exchange/taler-exchange-httpd_reserves_close.c 2024-10-01 14:36:38.215822705 -0500 +@@ -30,7 +30,6 @@ + #include "taler-exchange-httpd_common_kyc.h" + #include "taler-exchange-httpd_keys.h" + #include "taler-exchange-httpd_reserves_close.h" +-#include "taler-exchange-httpd_withdraw.h" + #include "taler-exchange-httpd_responses.h" + + +diff -ru a/src/exchange/taler-exchange-httpd_reserves_purse.c b/src/exchange/taler-exchange-httpd_reserves_purse.c +--- a/src/exchange/taler-exchange-httpd_reserves_purse.c 2024-08-26 12:13:30.709771927 -0500 ++++ b/src/exchange/taler-exchange-httpd_reserves_purse.c 2024-10-01 14:36:38.217822705 -0500 +@@ -32,7 +32,6 @@ + #include "taler-exchange-httpd_common_kyc.h" + #include "taler-exchange-httpd_reserves_purse.h" + #include "taler-exchange-httpd_responses.h" +-#include "taler-exchange-httpd_withdraw.h" + #include "taler_exchangedb_lib.h" + #include "taler-exchange-httpd_keys.h" + diff --git a/taler-exchange/patch/2-remove-double-constant.patch b/taler-exchange/patch/2-remove-double-constant.patch new file mode 100644 index 0000000..2ed21fd --- /dev/null +++ b/taler-exchange/patch/2-remove-double-constant.patch @@ -0,0 +1,42 @@ +diff -ru a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c +--- a/src/benchmark/taler-exchange-benchmark.c 2024-10-01 14:48:00.588810485 -0500 ++++ b/src/benchmark/taler-exchange-benchmark.c 2024-10-01 14:49:16.372809128 -0500 +@@ -296,7 +296,7 @@ + GNUNET_TIME_UNIT_ZERO, + amount_1, + MHD_HTTP_OK)); +- if (eval_probability (refresh_rate / 100.0d)) ++ if (eval_probability (refresh_rate / 100.0)) + { + char *melt_label; + char *reveal_label; +@@ -630,7 +630,7 @@ + " * Reserve=%u * Parallel=%u, operations in %s\n", + howmany_coins, + howmany_coins, +- howmany_coins * (refresh_rate / 100.0d), ++ howmany_coins * (refresh_rate / 100.0), + howmany_reserves, + howmany_clients, + GNUNET_STRINGS_relative_time_to_string ( +diff -ru a/src/lib/exchange_api_stefan.c b/src/lib/exchange_api_stefan.c +--- a/src/lib/exchange_api_stefan.c 2024-10-01 14:48:00.564810485 -0500 ++++ b/src/lib/exchange_api_stefan.c 2024-10-01 14:49:16.396809127 -0500 +@@ -125,7 +125,7 @@ + min = get_unit (keys); + if (NULL == min) + return GNUNET_SYSERR; +- if (1.0d <= keys->stefan_lin) ++ if (1.0 <= keys->stefan_lin) + { + /* This cannot work, linear STEFAN fee estimate always + exceed any gross amount. */ +@@ -273,7 +273,7 @@ + min = get_unit (keys); + if (NULL == min) + return GNUNET_SYSERR; +- if (1.0d <= keys->stefan_lin) ++ if (1.0 <= keys->stefan_lin) + { + /* This cannot work, linear STEFAN fee estimate always + exceed any gross amount. */ |