This project focuses on the implementation and evaluation of redactable blockchain systems. Redactable blockchains allow for the modification and removal of specific data from the blockchain while preserving the integrity and security of the overall system. The project comprises three repositories, BlockSim_Ateniese, BlockSim_Deuber, and BlockSim_Puddu. Each repository contains the implementation of a pioneer solution among the redaction approaches: chameleon hash-based, voting-based and mutation redaction. By reproducing and comparing the results, as well as conducting new experiments, researchers can further study and analyze different redactable blockchain systems.
- I would recommend PyCharm as the IDE to run the code.
- Once you have cloned or downloaded the project, open it with PyCharm.
git clone
- In an
import
statement of a Python file, click a package which is not yet imported. You can also run the following code to install the packages. See details
pip install openpyxl
pip install xlsxwriter
pip install pandas
pip install numpy
- Configure the Python interpreter in PyCharm. See details
- Explore the modules and packages:
- Adjust the input parameters in the InputConfig.py file.
- Configure the results and statistical parameters in Statistics.py.
- The Models module contains the implementation of the redactable blockchain.
- Run the Main.py to start the simulation.
- Try with different input parameters and see how the results change.
The simulations in this project are conducted using the BlockSim simulator. BlockSim is an open-source simulator specifically designed for blockchain systems. It provides intuitive simulation constructs and allows for customization to support multiple blockchain design and deployment scenarios.
- Deuber, D., Magri, B., & Thyagarajan, S. A. K. (2019, May). Redactable blockchain in the permissionless setting. In 2019 IEEE Symposium on Security and Privacy (SP) (pp. 124-138). IEEE.
- Ateniese, G., Magri, B., Venturi, D., & Andrade, E. (2017, April). Redactable blockchain–or–rewriting history in bitcoin and friends. In 2017 IEEE European symposium on security and privacy (EuroS&P) (pp. 111-126). IEEE.
- Puddu, I., Dmitrienko, A., & Capkun, S. (2017). $\mu $ chain: How to Forget without Hard Forks. Cryptology ePrint Archive.