summaryrefslogtreecommitdiff
path: root/brandt.h
diff options
context:
space:
mode:
authorMarkus Teich <markus.teich@stusta.mhn.de>2016-12-02 11:04:45 +0100
committerMarkus Teich <markus.teich@stusta.mhn.de>2016-12-02 11:04:45 +0100
commitfa086e2d4ffc4d25e2dd0e03b5f588f832017be8 (patch)
tree2440ff186dd18638b1f969982c5a0225cc1f9931 /brandt.h
parent209f0162fc06f8a5f69007aa5f73e8f2b1e96076 (diff)
cleanup todos in brandt.h
Diffstat (limited to 'brandt.h')
-rw-r--r--brandt.h17
1 files changed, 4 insertions, 13 deletions
diff --git a/brandt.h b/brandt.h
index 8b518a8..3029031 100644
--- a/brandt.h
+++ b/brandt.h
@@ -175,15 +175,7 @@ BRANDT_join (BRANDT_CbResult result,
uint16_t bid);
-/* \todo: Distinguish handles for seller/buyers */
/* \todo: have cancellation (BRANDT_join_cancel()) */
-/* \todo: provide means to extract a hash from auction data to */
-/* tie cryptographic operations to application-readable proposal */
-/* \todo: have separate function to export 'out' variables */
-/* \todo: might want to specify timeout? How do we deal with time? */
-/* \todo: separate creating an auction from starting it; initial */
-/* setup needs more auction proposal details (hash, timeout, */
-/* bid structure), later we need to know # participants */
/**
* Create a new auction described by the @a auction_desc parameter as seller.
*
@@ -201,12 +193,11 @@ BRANDT_join (BRANDT_CbResult result,
* until then to register.
* @param[in] time_round The maximum duration of each round in the protocol.
* @param[in] num_prices The amount of possible valuations for the sold item(s).
- * If 0, a default of 256 will be used. \todo: what about 1, does it work with
- * second price auctions?
+ * Must be > 0.
* @param[in] m The mode of the auction. If 0, it will be a first price auction
* where the winner has to pay the price of his bid. If >0 it will be a second
* price auction selling exactly that amount of items and each winner has to pay
- * the price of the highest loosing bid. \todo: what if bidders < m?
+ * the price of the highest loosing bid.
* @param[in] outcome_public If 1, the auction winner and price will be public
* to all participants, if 0, this information will only be revealed to the
* winner and the seller.
@@ -248,11 +239,10 @@ BRANDT_bidder_start (struct BRANDT_Auction *auction,
* Clean up this auction on shutdown.
*
* @param[in] auction The pointer returned by BRANDT_join() or BRANDT_new().
- * \todo: implement (de)serialization */
+ */
void
BRANDT_destroy (struct BRANDT_Auction *auction);
-
/**
* Receive a message related to a specific auction.
*
@@ -274,5 +264,6 @@ BRANDT_got_message (struct BRANDT_Auction *auction,
/**\todo: Error handling functions? */
+/* \todo: implement (de)serialization / persistent caching on disk */
#endif /* ifndef _BRANDT_BRANDT_H */