-GNUNET_CONSENSUS_create (struct GNUNET_PeerIdentity *peers,
- uint32_t session_id,
- int element_size,
- uint8_t **initial_elements,
- GNUNET_CONSENSUS_NewElementCallback new_element,
- void *cls);
+GNUNET_CONSENSUS_create (const struct GNUNET_CONFIGURATION_Handle *cfg,
+ unsigned int num_peers,
+ const struct GNUNET_PeerIdentity *peers,
+ const struct GNUNET_HashCode *session_id,
+ struct GNUNET_TIME_Absolute start,
+ struct GNUNET_TIME_Absolute deadline,
+ GNUNET_CONSENSUS_ElementCallback new_element_cb,
+ void *new_element_cls);