On 2010/11/04 (Nov), at 11:06 AM, Matthew Toseland wrote: > On Wednesday 03 November 2010 20:00:48 Robert Hailey wrote: >> >> Example patch attached. Small, but untested! > > Could you please explain what it is that you think is going on, and > what the patch will do to fix it?
I would still like to discuss/theorize on the recent topics, but I've observed some more unexpected behavior and think I found a bigger and more directly-responsible bug: Suppose our node is mostly-idle That is, none are in a opennet grace period (which would keep them connected) We lose one peer... A short time later, the node starts an announcer to "top off" our peer connections (+1 is easy, right?). No... Twelve announcement replies come back and displace all of our veteran peers (patch attached) -- Robert Hailey -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20101104/09d4f518/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: dont_clobber_on_top_off.patch Type: application/octet-stream Size: 1655 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20101104/09d4f518/attachment.obj> -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20101104/09d4f518/attachment-0001.html>