Closed bajtos closed 1 year ago
The grouping algorithm must allow us to identify participants from U.S- or E.U.- sanctioned countries to implement geofencing and ensure we don't pay them.
Cloudflare using IPV6 which is slowing things down a bit.
The grouping algorithm must allow us to identify participants from U.S- or E.U.- sanctioned countries to implement geofencing and ensure we don't pay them.
We decided to implement a different solution: we put Cloudflare's WAF (web application firewall) in front of SPARK API and configured it to reject requests coming from the sanctioned countries.
Visualisations:
When calculating SPARK rewards, we can see many nodes completing the same task. To make sybil attacks more expensive, we should reward only one checker in each IPv4 /24 subnet.