A framework for the design configuration of accountable selfish-resilient peer-to-peer systems