'Compute the reputation of peers in the community'

def compute_reputation(self):

    if self.tradechain_community:
        rep_manager = PagerankReputationManager(self.tradechain_community.persistence.get_all_blocks())
        self.reputation_dict = rep_manager.compute(self.my_member.public_key)
