Commit Graph

41 Commits

Author SHA1 Message Date
Markus Teich
e66cbbe44f move ecdlogctx passing to _join()/_new() functions 2016-12-02 12:53:54 +01:00
Markus Teich
64689a9083 add error log msg 2016-12-02 12:53:19 +01:00
Markus Teich
178ca8ba98 fix 2016-12-02 12:49:39 +01:00
Markus Teich
f92e8c1d0c abort instead of assert 2016-12-02 12:23:10 +01:00
Markus Teich
0ba8f80bc1 unify msg delivery callback 2016-12-02 11:45:05 +01:00
Markus Teich
50c476877e migrate to GNUNET_assert 2016-12-02 09:43:04 +01:00
Markus Teich
56b43dab7f migrate to GNUNET_log 2016-12-02 09:34:25 +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
ad20666c33 fix memleak 2016-11-23 18:27:57 +01:00
Markus Teich
5706e91058 add m+1st price auctions with public outcome 2016-11-22 03:17:01 +01:00
Markus Teich
e9d1c7ba00 BRANDT_new() returns NULL on parameter failure 2016-11-22 00:29:27 +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
257d5b72b0 test for no bidders 2016-11-01 12:16:12 +01:00
Markus Teich
da43b9311a fix preparation for M+1st price auctions 2016-10-14 23:57:15 +02:00
Markus Teich
79d4275619 blow up k on M+1st price auctions 2016-10-13 23:39:17 +02:00
Markus Teich
5a9e4cca40 fix bug where seller would not broadcast last message to bidders
now the seller correctly computes the outcome _after_ broadcasting the last
message to the bidders in private outcome auctions.
2016-09-23 17:26:21 +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
7b84ab7fe1 fix seller auction bootstrap 2016-08-31 14:46:29 +02:00
Markus Teich
9f0e72f1e8 temporary dump for discussion 2016-08-31 14:37:22 +02:00
Markus Teich
0d3b32b248 add outcome determination to brandt.c 2016-08-23 13:33:08 +02:00
Markus Teich
4561ac2026 add msg headers 2016-08-23 12:56:44 +02:00
Markus Teich
4ee150eac2 differentiate starting functions better 2016-08-19 22:55:42 +02:00
Markus Teich
0a2c2fba3f fix warnings 2016-08-19 22:24:49 +02:00
Markus Teich
25321ed0f5 get auctions rolling 2016-08-17 23:53:49 +02:00
Markus Teich
ec43082b1a add start callback and further basic tests 2016-08-17 17:37:56 +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
Markus Teich
01c2b8d710 add descr struct verification 2016-08-16 13:25:03 +02:00
Markus Teich
6483328c48 fill descr struct on new() 2016-08-12 15:22:57 +02:00
Markus Teich
a19b226167 work on public interface implementation 2016-08-10 14:53:31 +02:00
Markus Teich
fbc3e92e59 stuff 2016-08-03 14:07:21 +02:00
Markus Teich
fd52f708dd update tests 2016-08-03 01:28:51 +02:00
Christian Grothoff
6db1659195 fix by including platform.h 2016-07-13 14:06:48 +02:00
Markus Teich
99e5a11de1 major random stuff 2016-07-13 14:01:24 +02:00
Markus Teich
4deee5eb12 start with brandt.c 2016-07-06 14:56:14 +02:00
Markus Teich
0fc7fb86b8 random fixes 2016-06-22 23:18:46 +02:00
Markus Teich
f6bacc5058 some doxygen fixes 2016-06-19 23:21:01 +02:00
Markus Teich
761dd37e1f refactor smc and ec crypto functions and ad 0og zkp 2016-06-17 10:29:49 +02:00
Markus Teich
62b87e57a7 add tests for key generation 2016-06-12 20:52:22 +02:00