From f440904f1bba73ff4e6b7d91b221fa3f6af4ed62 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 13 Sep 2017 21:45:10 +0200 Subject: note on messy / duplicated code --- src/exchange/taler-exchange-httpd_keystate.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/exchange/taler-exchange-httpd_keystate.c b/src/exchange/taler-exchange-httpd_keystate.c index 04cf6ae43..b4026bf37 100644 --- a/src/exchange/taler-exchange-httpd_keystate.c +++ b/src/exchange/taler-exchange-httpd_keystate.c @@ -19,6 +19,16 @@ * @author Florian Dold * @author Benedikt Mueller * @author Christian Grothoff + * + * TODO: + * + * - includes quite a bit of code duplication between + * cherry-picked and full /keys response generation + * - cherry-picked response generation is ugly/messy, + * partially because existing exchangedb API does not + * match nicely with requirements. + * => should revisit exchangedb API, and then clean up + * this mess. */ #include "platform.h" #include -- cgit v1.2.3