Abstract
The aim of this paper was to perform an analysis of the state-of-art solutions of the permissioned blockchain compliance with General Data Protection Regulation (GDPR), including the implementation of one of the analyzed methods and own solution. This paper covers the subject of GDPR and its impact on already existing blockchain databases in order to determine the domain of the problem, including the necessity to introduce mutability in the data structure to comply with the "right to be forgotten". The performed analysis made it possible to discuss current research in technical terms, as well as in the regulation itself. In the experimental part, attempts were made to research and implement Reference-based Tree Structure (RBTS), including the performance tests. The proposed solution is efficient and easily reproducible. The deletion of unwanted content is quick and requires consent only from the owner of personal data, therefore, eliminating the dependency on the other blockchain network participants.
Introduction: The Immutability Paradox
The core value proposition of blockchain technology has traditionally been its immutability—once data is written, it cannot be changed or deleted. However, the European Union’s General Data Protection Regulation (GDPR), specifically Article 17, mandates the "Right to Erasure" (the right to be forgotten). For organizations, this creates a legal and technical deadlock: complying with GDPR by deleting data breaks the blockchain’s cryptographic chain, while maintaining the chain’s integrity risks massive non-compliance fines. Current solutions often involve off-chain storage or complex cryptographic "trapdoors" like chameleon hashes, which can introduce security vulnerabilities. This research proposes a solution that introduces controlled mutability into the blockchain structure itself.
The Reference-based Tree Structure (RBTS)
The researchers developed the Reference-based Tree Structure (RBTS) to allow for the "silent" and efficient deletion of personal data without requiring global consensus or disrupting network integrity.
Tree-based Subchains
Instead of one linear chain, the system creates subchains for every possible "business context" or subset of participants. For $n$ participants, there are $2^n$ potential subchains. This segmentation limits the impact of data deletion to specific contexts.
Reference Variation and Metadata Preservation
To avoid exponential growth and the need for collective approval, the authors introduced a reference system. Sensitive personal data is stored in a subchain owned strictly by the individual. Shared transactions in other subchains merely point (reference) to that data.
When a user exercises their right to be forgotten, their specific subchain is deleted. The references in shared chains remain but point to null data. Crucially, the identifier of the deleted user is renamed (e.g., from $B$ to $B'$) to maintain the transaction history and ledger balance without revealing the original identity (Personally Identifiable Information).
Experimental Results
The authors generated a synthetic environment to benchmark the RBTS performance, simulating up to 100,000 blocks and 1 million subchains.
- Computational Efficiency: Both appending a new block and deleting a subchain achieved $O(1)$ average time complexity due to the use of dictionary-based lookups.
- High Speed: Deleting a subchain took less than 160 microseconds for lengths up to 2,000 blocks. Even with 1 million subchains, the time to locate and delete a specific chain remained under 50 microseconds.
- Scalability: The length of the chain had no measurable impact on the time required to append new blocks, ensuring the system remains performant as it scales.
Discussion and Future Work
The RBTS provides a robust technical mechanism for GDPR compliance by shifting the focus from network-wide consensus to individual ownership of sensitive data. However, several areas for future development remain:
- Consensus Mechanisms: Transitioning from Proof of Work to more modern, energy-efficient standards like Proof of Stake.
- Policy Layer: Defining the automated rules or smart contracts that govern the validity of deletion requests.
- Distributed Testing: Evaluating the system's performance under real-world network latency and distributed consensus conditions.
By integrating this structure via smart contracts, the solution could become a portable and robust standard for enterprise blockchain applications requiring strict regulatory compliance.
Summary updated