View Issue Details

IDProjectCategoryView StatusLast Update
0001757GNUnetDHT servicepublic2012-02-28 10:05
Reportermrwiggles Assigned ToBart Polot Due Date
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.2Fixed in Version0.9.2 
Summary0001757: Notification of DHT Storage event
DescriptionIt would be nice for the DHT service to notify interested clients whenever an item is stored at the local peer.

There needs to be an api call added, something along the lines of GNUNET_DHT_notify_insert(DHT_INSERT_CALLBACK_FUNCTION, void *cls)
GNUNET_DHT_notify_insert_cancel(DHT_INSERT_CALLBACK_FUNCTION, void *cls)

The DHT service will need to be modified to build a message in the handle_dht_put callback (search for GNUNET_DATACACHE_put). The api then needs to handle this message type and broadcast the message to all clients which have asked for notification.
TagsNo tags attached.

Activities

Christian Grothoff

2012-01-18 20:46

manager   ~0005290

Bart, is this done now?

Bart Polot

2012-02-24 17:33

reporter   ~0005507

Implemented.

Issue History

Date ModifiedUsernameFieldChange
2011-08-12 12:54mrwigglesNew Issue
2011-08-12 12:54mrwigglesStatusnew => assigned
2011-08-12 12:54mrwigglesAssigned To => mrwiggles
2012-01-18 20:45Christian GrothoffAssigned Tomrwiggles => Bart Polot
2012-01-18 20:46Christian GrothoffTarget VersionGit master => 0.9.2
2012-01-18 20:46Christian GrothoffNote Added: 0005290
2012-02-08 15:21Bart PolotStatusassigned => confirmed
2012-02-21 20:50Christian GrothoffStatusconfirmed => assigned
2012-02-24 17:33Bart PolotNote Added: 0005507
2012-02-24 17:33Bart PolotStatusassigned => resolved
2012-02-24 17:33Bart PolotFixed in Version => 0.9.2
2012-02-24 17:33Bart PolotResolutionopen => fixed
2012-02-28 10:05Christian GrothoffStatusresolved => closed