Gossiping solutions for distributed consensus on unstructured overlays