[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: comments
From: |
gnunet |
Subject: |
[libeufin] branch master updated: comments |
Date: |
Mon, 06 Apr 2020 19:57:15 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new 80d6178 comments
80d6178 is described below
commit 80d617847325f99971ec88badb140025df850a5f
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon Apr 6 19:57:06 2020 +0200
comments
---
nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt
b/nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt
index e8a5aa3..52d163b 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt
@@ -15,12 +15,24 @@ import tech.libeufin.util.CryptoUtil
class Taler(app: Route) {
init {
+ /** transform raw CAMT.053 payment records to more Taler-friendly
+ * database rows. */
digest(app)
+
+ /** process the incoming payments, and craft refund payments (although
+ * do not execute them) for those incoming payments that had a wrong
+ * (!= public key) subject. */
refund(app)
+
+ /**
+ * NOTE: Taler exchanges do authenticate via the HTTP Basic auth
mechanism,
+ * which is currently _missing_ in the nexus. Therefore, a mapping
from auth
+ * header lines to ebics_subscriber needs to be implemented!
+ */
}
/**
- * Payment initiating data structures
+ * Payment initiating data structures: one endpoint "$BASE_URL/transfer".
*/
private data class TalerTransferRequest(
val request_uid: String,
@@ -81,7 +93,7 @@ class Taler(app: Route) {
val reserve_pub: String,
val debit_account: String
)
-
+
private data class TalerAddIncomingResponse(
val timestamp: Long,
val row_id: Long
@@ -128,8 +140,6 @@ class Taler(app: Route) {
)
return@post
}
-
-
}
fun refund(app: Route) {
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: comments,
gnunet <=