| CPC H04L 9/3236 (2013.01) [G06F 16/27 (2019.01); H04L 9/3247 (2013.01); H04L 67/1097 (2013.01); H04L 2209/56 (2013.01)] | 13 Claims |

|
1. A method for storing blockchain transaction data, performed by an apparatus for storing blockchain transaction data, comprising:
selecting at least one block file storing blockchain transactions as an encoding block file target;
determining whether a number of blocks included in the encoding block file target is 2M+1 (M being a natural number):
when the number of blocks included in the encoding block file target is not equal to 2M+1, generating 2M+1 encoding target blocks using the blocks included in the encoding block file target and replicated blocks, the replicated blocks being part of the blocks included in the encoding block file target;
generating encoded chunks, including parity chunks, using the encoding target blocks; and
making at least one of the encoded chunks correspond to at least one of blockchain nodes to store at least one of the encoded chunks,
wherein a number of parity chunks is M, a number of blockchain nodes is 3M+1, a number of encoded chunks is 3M+1, and each of the encoded chunks is mapped to a respective one of the blockchain nodes, and
wherein each of the blockchain nodes stores a corresponding one of the encoded chunks and stores only hash values for at least part of remaining chunks excluding the corresponding one.
|