differentiate starting functions better
This commit is contained in:
parent
0a2c2fba3f
commit
4ee150eac2
8
brandt.c
8
brandt.c
@ -51,7 +51,7 @@ BRANDT_init (struct GNUNET_CRYPTO_EccDlogContext *dlogctx)
|
||||
|
||||
|
||||
void
|
||||
BRANDT_start (struct BRANDT_Auction *auction,
|
||||
BRANDT_bidder_start (struct BRANDT_Auction *auction,
|
||||
uint16_t n)
|
||||
{
|
||||
GNUNET_assert (n > 0);
|
||||
@ -61,7 +61,7 @@ BRANDT_start (struct BRANDT_Auction *auction,
|
||||
|
||||
|
||||
static void
|
||||
start_auction (void *arg)
|
||||
seller_start (void *arg)
|
||||
{
|
||||
struct BRANDT_Auction *ad = (struct BRANDT_Auction *)arg;
|
||||
|
||||
@ -127,7 +127,7 @@ BRANDT_new (BRANDT_CbResult result,
|
||||
|
||||
until_start = GNUNET_TIME_absolute_get_remaining (time_start);
|
||||
ret->task = GNUNET_SCHEDULER_add_delayed (until_start,
|
||||
&start_auction,
|
||||
&seller_start,
|
||||
ret);
|
||||
|
||||
*auction_desc_len = sizeof (struct BRANDT_DescrP);
|
||||
@ -273,7 +273,7 @@ advance_round (struct BRANDT_Auction *ad,
|
||||
gcry_mpi_clear_highbit (ad->round_progress, 0);
|
||||
if (msg_last == ++(ad->cur_round))
|
||||
{
|
||||
/** \todo: finish */
|
||||
/** \todo: unify …_determine_outcome function signature and call here */
|
||||
}
|
||||
|
||||
if (!handler_out[atype][outcome][ad->cur_round] ||
|
||||
|
Loading…
Reference in New Issue
Block a user