{'fraction_non_alphanumeric': 0.023228803716608595, 'fraction_numerical': 0.0, 'mean_word_length': 5.246376811594203, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Simulation of a Double Spending Attack on the Proof of Work Consensus Protocol

A critical analysis of the well-known analytical estimates of the probability of successful implementation of a double-spending attack on the Proof of work consensus protocol has been carried out. In particular, the socalled “The player’s ruin task”, it is shown that the basic assumptions about the probability space (the set of elementary outcomes and the probability of their occurrence) do not correspond to the real processes that occur when the “Proof of work” consensus is established in the blockchain system. A model of “independent players” is proposed, which eliminates the main inaccuracies and inconsistencies. The convergence of the results of theoretical calculations with the data of experiments to simulate the “race” between honest players and attackers is shown.