ArkEcosystem / AIPs

ARK Improvement Proposals
26 stars 25 forks source link

AIP85: Sybil deterrence via relay friction #85

Closed moazzamak closed 3 years ago

moazzamak commented 5 years ago

Discussion for the AIP 85

ghost commented 5 years ago

Thanks for opening this issue! A maintainer will review this in the next few days and explicitly select labels so you know what's going on.

If no reviewer appears after a week, a reminder will be sent out.

ghost commented 5 years ago

Your issue doesn't follow our guidelines. Please review and correct it.

roks0n commented 5 years ago

Cheers for the AIP Mak! I still need to wrap my head around all of steps, but so far I only have one feedback. API can be excluded from this because consensus is only reached over P2P.

moazzamak commented 5 years ago

I added API in here since I know some exchanges use it as well as all SPV wallets. If they want to get reliable data about the blockchain then the API needs to follow a similar protocol as well.

roks0n commented 5 years ago

How come? API itself has no say in consensus and when nodes talk to each other they only use P2P protocol. Sybil attack can't be executed via API but only P2P.

moazzamak commented 5 years ago

In current form a malicious relay could provide bad data to the client and the client won't know if it's good or bad at all. It just has to trust that the relay behaved correctly. This is not an issue right now because no one is running a malicious relay combined with a sybil attack but if they do then it becomes a huge problem. Protecting user funds also means to ensure they always get the correct info on their apps so they don't get duped by bad actors.

github-actions[bot] commented 3 years ago

Stale issue message