newton: inline documentation for peer discovery&management code