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
Rabbit hole is deep.
Wow, thank you for finding that. Hopefully get to read it tomorrow.
It's good. There's also a github repo that's got extensive work done on this. Also check out https://cryptoanarchy.wiki/. This is the exact problem cryptocurrency was trying to solve, but applied to money.
(post is archived)