summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/fa.h
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2017-08-05 12:47:54 -0600
committerdimitri staessens <dimitri.staessens@ugent.be>2017-08-05 22:07:03 +0200
commitb4568842c014eb6fff2305c508b20d7ae9186d4c (patch)
tree34e18d36a6cd46194d10265c517c802eeb3b784c /src/ipcpd/normal/fa.h
parent3f9fb4c957e639b96df672190c9d03eec02dce3e (diff)
downloadouroboros-b4568842c014eb6fff2305c508b20d7ae9186d4c.tar.gz
ouroboros-b4568842c014eb6fff2305c508b20d7ae9186d4c.zip
ipcpd: Fix finding values in DHT
The DHT lookup would stop if a node returned no new useful information (i.e. the value for the key or unknown nodes closer to the key) without waiting for other pending requests that could still return useful information. Now it correctly tracks the number of outstanding requests or returns if it doesn't get a response for KAD_T_RESP seconds. This fixes multi-hop flow allocation over the normal.
Diffstat (limited to 'src/ipcpd/normal/fa.h')
0 files changed, 0 insertions, 0 deletions