Created
March 29, 2019 07:12
-
-
Save hclivess/1ecab8716d0a7401b633fdf2f76fe1de to your computer and use it in GitHub Desktop.
veriblock is a CIA scam
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from blockchain import blockexplorer | |
from difflib import SequenceMatcher | |
def similar(a, b): | |
return SequenceMatcher(None, a, b).ratio() | |
def compare (forked_shitcoin_hashes): | |
winner = None | |
shitcoin_race_winner = 0 | |
latest_block = blockexplorer.get_latest_block() | |
print(latest_block.hash) | |
for shitcoin_hash in forked_shitcoin_hashes: | |
print (shitcoin_hash) | |
similarity = (similar(shitcoin_hash, str(latest_block))) | |
print(similarity) | |
if similarity > shitcoin_race_winner: | |
shitcoin_race_winner = similarity | |
winner = shitcoin_hash,similarity | |
print("winner",winner) | |
if __name__ == "__main__": | |
compare(["abc","cdf","bcd"]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment