View Issue Details

IDProjectCategoryView StatusLast Update
0001757GNUnetDHT servicepublic2012-02-28 11:05
Reportermrwiggles Assigned ToBart Polot  
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 21:46

manager   ~0005290

Bart, is this done now?

Bart Polot

2012-02-24 18:33

reporter   ~0005507

Implemented.

Issue History

Date Modified Username Field Change
2011-08-12 14:54 mrwiggles New Issue
2011-08-12 14:54 mrwiggles Status new => assigned
2011-08-12 14:54 mrwiggles Assigned To => mrwiggles
2012-01-18 21:45 Christian Grothoff Assigned To mrwiggles => Bart Polot
2012-01-18 21:46 Christian Grothoff Target Version Git master => 0.9.2
2012-01-18 21:46 Christian Grothoff Note Added: 0005290
2012-02-08 16:21 Bart Polot Status assigned => confirmed
2012-02-21 21:50 Christian Grothoff Status confirmed => assigned
2012-02-24 18:33 Bart Polot Note Added: 0005507
2012-02-24 18:33 Bart Polot Status assigned => resolved
2012-02-24 18:33 Bart Polot Fixed in Version => 0.9.2
2012-02-24 18:33 Bart Polot Resolution open => fixed
2012-02-28 11:05 Christian Grothoff Status resolved => closed