2018-10-20 04:27 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0005136Talerexchange API (C)public2018-10-13 19:48
ReporterChristian Grothoff 
Assigned ToMarcello Stanisci 
PrioritylowSeverityfeatureReproducibilityN/A
StatusassignedResolutionopen 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product VersionSVN HEAD 
Target VersionFixed in Version 
Summary0005136: exchange API should implement and export functions to persist /keys data
DescriptionEventually wallets will want to avoid re-downloading /keys across process restarts. In this case, we should (1) have an API to store the /keys data on disk, and (2) have a way to garbage-collect expired keys. While the wallet needs this "today" (0004188), the C API is only used for testcases and merchants today, so this is not urgent at all.
TagsNo tags attached.
Attached Files

-Relationships Relation Graph ] Dependency Graph ]
+Relationships

-Notes

~0013266

Christian Grothoff (manager)

eb1b6fbc..c09c9009 implements the deserialization logic.
Serialization and testing are still TODO.

~0013267

Christian Grothoff (manager)

API implemented in c09c9009..16b0c654. Needs testing.

Marcello, can you please devise a test? It should be possible to extend the existing keys cherry picking testcase, i.e. by adding a command that calls the serialize function, then disconnects from the exchange and then immediately reconnects (with the serialized state). Afterwards, doing 'something' that involves the data from /keys ought to suffice to test most of the logic (plus maybe looking at the result with wireshark to make sure we didn't do a full /keys transfer again).
+Notes

-Issue History
Date Modified Username Field Change
2017-09-12 15:30 Christian Grothoff New Issue
2017-09-12 15:30 Christian Grothoff Status new => assigned
2017-09-12 15:30 Christian Grothoff Assigned To => Christian Grothoff
2017-09-12 15:33 Christian Grothoff Assigned To Christian Grothoff =>
2017-09-12 15:33 Christian Grothoff Status assigned => confirmed
2017-09-12 15:33 Christian Grothoff Summary exchange API should have a way to persist /keys data => exchange API should implement and export functions to persist /keys data
2017-11-12 16:12 Christian Grothoff Assigned To => Christian Grothoff
2017-11-12 16:12 Christian Grothoff Status confirmed => assigned
2018-10-13 08:15 Christian Grothoff Note Added: 0013266
2018-10-13 19:48 Christian Grothoff Note Added: 0013267
2018-10-13 19:48 Christian Grothoff Assigned To Christian Grothoff => Marcello Stanisci
+Issue History