{'fraction_non_alphanumeric': 0.027927927927927927, 'fraction_numerical': 0.013513513513513514, 'mean_word_length': 5.138121546961326, '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}}
Blockchain-Based Secure Energy Trading With Mutual Verifiable Fairness in a Smart Community

This article proposes an energy trading model basedon blockchain to manage and supervise the trading process. In the model, proof-of-energy reputation generation and proof-of-energy reputation consumption consensus mechanisms are proposed to solve the high computational cost and huge monetary investment issues created by the existing consensus mechanisms. Similarly, a mutual verifiable fairness mechanism based on time commitment is presented, which is introduced to prevent cheating attacks in the model. The proposed model’s performance is assessed using energy cost, peak-to-average ratio, and trust. The simulation results show that the energy cost of the proposed model decreases by 40%. The results for the load balancing depict that the values of peak-to-average ratio of the proposed model with 20% and 50% peak demand reduction are 6.88 and 3.50, which are lower than 9.17 of the benchmark model. Moreover, the proposed model’s results show satisfactory performance for privacy and security of the system.