
Blockchain periodic storage space recovery method based on blockchain consensus algorithm
Author(s) -
Cao Hong-ping
Publication year - 2021
Publication title -
journal of physics. conference series
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.21
H-Index - 85
eISSN - 1742-6596
pISSN - 1742-6588
DOI - 10.1088/1742-6596/1982/1/012193
Subject(s) - blockchain , computer science , node (physics) , file size , stability (learning theory) , algorithm , computer data storage , distributed file system , distributed data store , distributed computing , operating system , computer security , engineering , structural engineering , machine learning
Decentralized encryption digital cash has been proved to be a successful application mode, and the users of the application can also be the maintainers of this application. To solve the problem of fast growth of blockchain data on Ethereum platform, this paper proposes a method to recycle the periodic storage space of blockchain deployed on blockchain based on blockchain consensus algorithm. On the principle of decentralization, the problem of mutual trust between nodes is solved. And that stability value of the update storage node is recorded, and the high-stability node is selecte to store the newly generated data copy, so that the stability of data storage is improved. Finally, some bytecode fragments are replaced by a suitable algorithm. Tests show that the massive small file system supporting file deletion has no obvious decline in file reading and writing performance compared with the original one, and the storage space of smart contracts can be saved by nearly 46%.