You can sybil attack that very easily. They'll create a "web" of fake users that trust each other, then extend the web to useful idiots who join their web. They'll say whatever they need to in order to fool people. This is why cryptocurrencies didn't exist before proof of stake or proof of work existed. "New" is about as sophisticated as you want to get. All systems can be gamed, and the people who want to corrupt communities know the game. They'll figure it out in about 20 seconds.
This isn't a "count" of how trusted someone is. If someone trusts someone bad (you see shit contributions that are trusted) then you don't trust them anymore. It is no different than mods, except that you get to pick who you trust.
Do you have code for this that I can see? The devil is in the details.
Sorry, i'm a little off today, so this could be wrong, but you get the idea. This would just be for the check, the actual code would have to return the paths that get to a positive result.
def is_trusted(username, trusted_list):
for trusted in trusted_list:
if username == trusted:
return True
if is_trusted(username, get_trusted_list(trusted)):
return True
return False
(post is archived)