Trust and reputation in peer-to-peer networks