Commit Graph

24 Commits

Author SHA1 Message Date
d5d37b6314 Transcript generation and replay
test_brandt now generates transcripts of auctions in JSON form on
stdout.

replay is a program that reads such a transcript and replays the
auction.
2022-09-28 15:39:24 +02:00
Markus Teich
e66cbbe44f move ecdlogctx passing to _join()/_new() functions 2016-12-02 12:53:54 +01:00
Markus Teich
aee7167739 use GNUNET_log in test_brandt 2016-11-29 14:44:54 +01:00
Markus Teich
f4932d94c0 remove unnecessary description handling and hashing.
The hash is not needed since the sellers application is required to sign the
description and the bidders application is required to check the signature.
Since the arbitrary description used by the application was only used inside
this hash, it can be removed as well.
2016-11-23 23:26:01 +01:00
Markus Teich
b0042a588a add doc for test-case function 2016-11-23 23:14:48 +01:00
Markus Teich
5706e91058 add m+1st price auctions with public outcome 2016-11-22 03:17:01 +01:00
Markus Teich
44079d5cbb handle n <= m case in m+1st price auctions
The lowest possible price from the price map will be the price each bidder has
to pay. Since the seller can define the price map, he can set the lowest price
to the lowest he is willing to sell one item at.
2016-11-01 13:16:41 +01:00
Markus Teich
e98bb69ce2 add todo entry 2016-11-01 13:12:53 +01:00
Markus Teich
257d5b72b0 test for no bidders 2016-11-01 12:16:12 +01:00
Markus Teich
ca00e6ba8e fixup test_brandt 2016-10-15 20:30:46 +02:00
Markus Teich
fc9fdd313b make test_brandt ready for M+1st price auctions 2016-10-14 05:50:27 +02:00
Markus Teich
e333dd0183 rework test_brandt 2016-10-14 04:55:53 +02:00
Markus Teich
a4c883147d remove test.h dependency from test_brandt.c 2016-10-13 23:38:18 +02:00
Markus Teich
f9394ba742 test_brandt: actually check the outcome correctnes 2016-09-23 17:35:31 +02:00
Markus Teich
d6cdd80c8c minor style fix 2016-09-21 15:02:03 +02:00
Markus Teich
b31da162a8 coding style fixes 2016-09-21 13:50:20 +02:00
Markus Teich
658cb96846 public firstprice auction working in test_brandt 2016-09-11 20:52:21 +02:00
Markus Teich
de5ea20b55 private firstprice auction working in test_brandt 2016-09-08 20:09:22 +02:00
Markus Teich
14546eccb2 test_brandt nearly done 2016-09-08 19:17:15 +02:00
Markus Teich
9f0e72f1e8 temporary dump for discussion 2016-08-31 14:37:22 +02:00
Markus Teich
8daaa565bd remove unused code in test 2016-08-17 17:40:10 +02:00
Markus Teich
ec43082b1a add start callback and further basic tests 2016-08-17 17:37:56 +02:00
Markus Teich
6eb35ae72f minimal changes 2016-08-17 12:56:08 +02:00
Markus Teich
fe7b138892 some stuff
- finish BRANDT_destroy()
- fix include mess related to platform.h and brandt_config.h
- add first brandt.c testcase
2016-08-16 20:58:20 +02:00