Commit Graph

4 Commits

Author SHA1 Message Date
3ec07d62c3
improved error handling 2022-10-04 11:33:21 +02:00
12736abcf7
WiP: parsing and replay of auction transcripts
POST handler of auction_brandt extension now parses JSON transcript and
passes JSON via stdin to external program.  Reads result via stdout.

TODOs:
- check signatures in transcript
- parse JSON output of replay progam
- add configuration to to auction_brandt:
	- types of auctions
	- max. concurrent users
	- max. number of prices
	- maximum price
	- fees
- add timeout handler for replay program execution
- (maybe) sign output of exchange by master-key
- (maybe) add GET handler with information re: auction_brandt?
2022-10-03 08:15:07 +02:00
72cbf66395
WiP: added auction_brandt as extension
- added an extension to handle auctions via libbrandt
  - /extensions/auction_brandt GET and POST handler defined
  - initial parsing of transcript.json implemented, yet WiP

- multiple cleanups and changes to extension handling
2022-10-02 22:51:54 +02:00
04c7e0bb33
Refactor extensions
- Extensions are now compiled as shared libraries and loaded at runtime
  according to the TALER configuration.

- So far, only age restriction is loaded as extension.

- Groundwork for extension auction_brandt started.
2022-10-02 18:05:58 +02:00