some modif
This commit is contained in:
parent
069708205c
commit
d1491fb421
@ -1066,10 +1066,10 @@ history_cb (void *cls,
|
|||||||
process_reply (reply->details.success.details,
|
process_reply (reply->details.success.details,
|
||||||
reply->details.success.details_length);
|
reply->details.success.details_length);
|
||||||
break;
|
break;
|
||||||
case 0:
|
/* case 0:
|
||||||
process_reply_batched (reply->details.success.details,
|
process_reply_batched (reply->details.success.details,
|
||||||
reply->details.success.details_length);
|
reply->details.success.details_length);
|
||||||
break;
|
break;*/
|
||||||
default:
|
default:
|
||||||
process_reply_batched2 ((unsigned int) batch_mode,
|
process_reply_batched2 ((unsigned int) batch_mode,
|
||||||
reply->details.success.details,
|
reply->details.success.details,
|
||||||
|
@ -111,7 +111,7 @@ insert1(struct PostgresClosure *pg,
|
|||||||
if (qs2 < 0)
|
if (qs2 < 0)
|
||||||
{
|
{
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
|
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
|
||||||
"Failed to create reserves (%d)\n",
|
"Failed to create reserves 1(%d)\n",
|
||||||
qs2);
|
qs2);
|
||||||
results[0] = qs2;
|
results[0] = qs2;
|
||||||
return qs2;
|
return qs2;
|
||||||
@ -812,6 +812,7 @@ TEH_PG_batch2_reserves_in_insert (void *cls,
|
|||||||
GNUNET_break (0);
|
GNUNET_break (0);
|
||||||
return GNUNET_DB_STATUS_HARD_ERROR;
|
return GNUNET_DB_STATUS_HARD_ERROR;
|
||||||
}
|
}
|
||||||
|
// fprintf(stdout, "%ld\n", reserve_uuid[i]);
|
||||||
need_update |= conflicts[i];
|
need_update |= conflicts[i];
|
||||||
t_duplicate |= transaction_duplicate[i];
|
t_duplicate |= transaction_duplicate[i];
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@ run (void *cls)
|
|||||||
const char *sndr = "payto://x-taler-bank/localhost:8080/1";
|
const char *sndr = "payto://x-taler-bank/localhost:8080/1";
|
||||||
struct TALER_Amount value;
|
struct TALER_Amount value;
|
||||||
unsigned int batch_size = batches[i];
|
unsigned int batch_size = batches[i];
|
||||||
unsigned int iterations = 200;//1024*10;
|
unsigned int iterations = 16;//1024*10;
|
||||||
struct TALER_ReservePublicKeyP reserve_pubs[iterations];
|
struct TALER_ReservePublicKeyP reserve_pubs[iterations];
|
||||||
struct GNUNET_TIME_Absolute now;
|
struct GNUNET_TIME_Absolute now;
|
||||||
struct GNUNET_TIME_Timestamp ts;
|
struct GNUNET_TIME_Timestamp ts;
|
||||||
|
Loading…
Reference in New Issue
Block a user