Function peerCostForSeconds