only 62 bytes in size. when i saw the code in kademlia\routing\RoutingZone.cpp
i saw that the file is written & saved only when eMule is being closed.
especially nowadays, when all the big servers are being closed,
wouldn't it make sense to update the file frequently, like the serverlist.
e.g:
void CRoutingZone::OnSmallTimer() { ... [color="green"]if (tNow - m_tLastWrite > HR2SEC(4))[/color] [color="red"]// Avi3k: update nodes.dat frequently[/color] [color="blue"]this->WriteFile();[/color] ... }
(where time_t m_tLastWrite is a static member set to zero/starttime by default)
Kind Regards,
Avi3k