Adaptive block data compression method based on remainder system
Through the adaptive block data compression method based on the remainder system, transactions are dispersedly stored on the remainder subset of the blockchain node, which solves the problem of blockchain data volume expansion and achieves storage volume reduction and traceability improvement. Maintain, avoid centralization risks, and ensure the recoverability of transaction content in complex network environments.
Patent Information
- Application Number
- CN202210121096.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-09
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-02-09
AI Technical Summary
The expansion of blockchain data volume has led to high pressure on node storage. In particular, nodes with limited resources cannot effectively join the network, increasing the risk of centralization and attacks. Existing optimization solutions such as node division, distribution protocols, snapshot generation and data compression have shortcomings. Such as increasing centralization, complex network structure, weakening traceability, etc.
An adaptive block data compression method based on the remainder system is used to map transactions into a subset of remainders that are dispersedly stored in various nodes. The original content is restored through the Chinese Remainder Theorem, reducing the amount of storage while maintaining the traceability of the blockchain. .
It achieves efficient compression of block data, reduces the storage burden on nodes, avoids centralization risks, ensures the recoverability of transaction content in complex network environments, and provides good privacy protection functions.
Smart Images

Figure CN114461730B
Abstract
Description
Technical Field
[0001] The present invention relates to a block data compression method for a public chain. Background Art
[0002] Blockchain is the core supporting technology of the digital cryptocurrency system (distributed ledger technology, DLT). Its essence is a distributed database. It is closely integrated with asymmetric encryption, incentive mechanism, peer-to-peer network (Peer-to-peer, P2P), consensus algorithm and other technologies. It has the core characteristics of decentralization, trustlessness, tamper-proof, and traceability. It provides a new way to solve the problems of poor data reliability, low security, and high trust cost in the existing centralized model. It has received extensive attention and application in the fields of finance, medical care, education, smart grid, food safety, etc. At the same time, with the development of Internet of things (IoT) technology, a large number of smart terminals and sensor devices have been introduced, making the blockchain network a platform for multi-party cooperation and resource sharing: smart devices collect and provide real-time data, and blockchain uses its cryptography, smart contracts and other technologies to provide privacy protection, settlement, and audit services.
[0003] The scalability of blockchain is a difficult problem in its basic theoretical research. With the influx of nodes and the increase in transactions, the amount of blockchain data has expanded dramatically, which has become a key bottleneck restricting its scalability. Blockchain data is divided into on-chain data and state data. On-chain data mainly refers to the transaction log stored in the block body, which is used to record changes in state data, such as the generation and transfer of digital assets, and is the source of the traceability of blockchain. On-chain data occupies the vast majority of blockchain storage. State data is used to maintain the latest correspondence between an account (account / address) and its assets (balance), and is continuously updated as transactions are executed and confirmed. State data is mainly used to speed up data query and transaction verification. It can be reconstructed by tracing on-chain data until the genesis block, and only occupies a small part of blockchain storage.
[0004] Nodes with limited resources, especially IoT sensors, are limited by the huge amount of data and cannot effectively join the blockchain network. While multi-party cooperation and resource sharing are hindered, the monopoly of resources and computing power by "super nodes" and "mining pools" has greatly increased the risk of centralization and 51% attacks.
[0005] At present, there are four main optimization ideas for blockchain storage problems, all of which have corresponding shortcomings:
[0006] (1) "Node division". Nodes are divided into full nodes and light nodes according to the amount of resources (storage, computing power). Full nodes store complete blocks and can independently verify transactions, complete proof of work, and create new blocks. They are the backbone of the blockchain network. Light nodes only retain block headers, interact with the blockchain through full nodes, and synchronize the status data at full nodes. They can only independently create and forward transactions. Light nodes can determine whether a transaction is successfully uploaded to the chain through simple payment verification (SPV). At this time, the full node needs to provide the corresponding Merkle proof. The full node essentially dominates the entire blockchain, greatly improving the degree of centralization.
[0007] (2) “Distribution protocol”. Interplanet file system (IPFS) and Sharding are currently commonly used solutions. The core idea of the IPFS solution is to distribute the segmented blockchain data to each node, and only retain the hash of the data segment on the chain. The core idea of the Sharding solution is to group the nodes while segmenting the blockchain, and different segments are maintained by different groups. Therefore, each node only needs to store the data of the corresponding segment. While the storage capacity is reduced, the transaction speed is also improved. However, the storage capacity has not been substantially reduced, but has only been transferred or distributed. While increasing the complexity of the network structure, it also increases the risk of data leakage.
[0008] (3) "Generate snapshots". Typical solutions include account tree and recursive summarization tree. The core idea is to use the principle of locality of data access (the fresher the data, the more likely it is to be accessed), delete historical blocks at certain intervals, and only retain their summaries, thereby greatly reducing the blockchain storage volume. The disadvantage of the solution is that deleted historical blocks cannot be restored, which shakes the core feature of blockchain traceability.
[0009] (4) “Data compression”. The typical solution is to first generate a snapshot of the historical blocks, and then directly process the summary blocks in combination with the Huffman tree and LZ77 algorithm, thereby reducing the storage volume. On the one hand, this solution ignores the structural characteristics of the blockchain itself and treats it as an ordinary serialized byte stream for encoding and decoding, which cannot fundamentally solve the problem. On the other hand, this solution also weakens the traceability of the blockchain. Summary of the invention
[0010] In view of the deficiencies of existing optimization ideas, the present invention proposes an adaptive block data compression scheme based on the Residue number system (RNS). Taking the block body, which accounts for the vast majority of the blockchain storage, as the optimization object and transactions as the basic processing unit, by mapping transactions to residue subsets scattered and stored in each node, a significant reduction in the local storage of each node is achieved. This scheme is fully compatible with the existing blockchain workflow, and at the same time, nodes can adaptively determine the local compression ratio according to the amount of their respective storage resources. When querying the transaction content, the nodes collect the residue subsets scattered in the network and use the Chinese Remainder Theorem (CRT) to restore the original transaction content, without weakening the traceability of the blockchain. The technical solution is as follows:
[0011] An adaptive block data compression method based on the residue system, comprising the following steps:
[0012] (1) Initialization:
[0013] Step 1:预置一组包括N个模数的余数基Ψ N ={m 0 ,m 1 …,m N-1}, where the bit width of the modulus is b, the moduli are pairwise relatively prime, and are arranged in ascending order; the least common multiple of the N moduli is called the "dynamic range".
[0014] Step 2: Each node selects a subset ψ N containing L, 0 < L < N, elements from Ψ L ={m′ 0 ,m′ 1 …m′ L-1 |m′ i ∈Ψ N}, and the elements in ψ L are called "local moduli";
[0015] Step 3: Using the node discovery and resource location mechanisms provided by the underlying Kademlia protocol of the blockchain network, each node constructs and maintains a neighbor list in the form of key-value pairs Key-Value; each key-value pair is called a Slot; among them, Key is any element m″ Ds =Ψ N -ψ L in Ψ i , 0 < i < N - L - 1; the corresponding Value is a list whose elements are the IP addresses of the nodes that select m″ i as the local modulus;
[0016] Step 4: Each node follows the blockchain protocol to issue or monitor and verify new transactions. Successfully verified transactions are cached in the transaction pool, and some of them will be packaged into new blocks after being standardized and compressed;
[0017] (2) Transaction standardization:
[0018] Step 1: The node will be of length L T The transaction is converted into a binary sequence, and zeros are added at the end to make the length of the binary sequence a power of 2. The zero-padding length is recorded as N P ;
[0019] Step 2: The node divides the zero-filled binary sequence into multiple L C bits fragment; the number of fragments is recorded as N C , then N P =N C ·L C -L T
[0020] Step 3: The node normalizes each transaction to obtain N P 、N C Save locally;
[0021] (3) Transaction Compression:
[0022] Step 1: The node converts each fragment into the corresponding integer X j , 0 <j<N C -1; based on Ψ N , node pair Perform a modulo operation to convert each transaction into an N-row N C The column remainder matrix Φ N , where Φ ij Yes X j For m i The result of modulus search;
[0023] Step 2: To ensure Φ N Data integrity, for each row of the matrix The node generates the corresponding commitment as follows:
[0024]
[0025] Among them, hash(TX) is the hash value corresponding to the transaction, i is the modulus corresponding to the row in Ψ N The index value in , "+" means concatenation;
[0026] The node inserts the generated commitment into the Bloom filter;
[0027] Step 3: The node starts to create a new block; the block body no longer contains the complete transaction, but only the corresponding hash value; the Bloom filter is added to the block header to form a new block header; the node broadcasts the new block to the network;
[0028] Step 4: After receiving the new block, the node finds the corresponding transaction in the local transaction pool according to the hash value in the block body, verifies its validity, and re-calculates the transaction based on Ψ N Perform a modulus operation on the normalized transaction to obtain Φ N ; Nodes according to Φ N Regenerate commitments to verify the validity of the Bloom filter;
[0029] Step 5: After the new block is successfully verified, the node appends it to the end of the local blockchain; when uploading, for each transaction, the node adds the local modulus set ψ selected when the system was initialized. L , from Φ N Select the corresponding row from the block and append it to the end of the transaction hash value; a transaction is represented as a number of remainder rows stored in different nodes, so that the block data is compressed as a whole;
[0030] (4)Transaction resumption.
[0031] Furthermore, N By less than 2 b The N largest prime numbers.
[0032] The transaction recovery method is as follows:
[0033] Step 1: The node requests the corresponding m″ row by row according to the neighbor list it maintains i (m″ i ∈Ψ Ds ) of the remainder subset, the node gets the corresponding m″ i After the correct remainder line is obtained, the corresponding m″ will be requested. i+1 The node checks the response of each neighbor node. When checking, the node concatenates the locally maintained transaction hash hash (TX), index value i and the neighbor node's response R′ in order, recalculates the commitment, and determines the validity of the response by judging whether the commitment is in the Bloom filter; nodes that do not respond or return invalid responses will be removed from the neighbor list, and the node discovers new nodes according to the underlying mechanism provided by the Kademlia protocol and adds them to the corresponding slot;
[0034] Step 2: Based on the collected NL remainder rows and the L rows stored locally, the node uses CRT to obtain the binary sequence of the original transaction after zero padding; the node uses the N locally stored C 、N P, determine the starting position of the original transaction sequence, and thus restore the original transaction content; the node determines whether the transaction is correctly restored by verifying the hash value.
[0035] This solution has the following features:
[0036] (1) Taking blockchain transactions as the basic processing unit, RNS is used to map them into remainder subsets that are distributed and stored in each node, thereby ultimately achieving block data compression and significantly reducing the storage capacity of each node.
[0037] (2) After block compression, nodes can restore the original content of the transaction by collecting a subset of remainders scattered across the network and performing CRT operations, without compromising the core traceability feature of the blockchain.
[0038] (3) Since the public chain is an open network, nodes do not need identity verification and can join and exit freely. Therefore, the data compression scheme must have good usability and can still efficiently and correctly restore the original transaction in a complex network environment (node failure or malicious behavior).
[0039] After applying this solution, it will have the following beneficial effects:
[0040] (1) This method achieves block data compression while ensuring that the original transaction content can be restored, greatly reducing the storage burden of nodes without weakening the core traceability feature of the blockchain.
[0041] (2) This method is fully compatible with the workflow of existing blockchain protocols and will not increase the complexity of the system architecture.
[0042] (3) When applying this method, nodes can adaptively determine the local compression rate by determining the size of L according to their own storage capacity and independence requirements. Nodes with limited resources can choose a smaller L, while nodes with abundant resources can choose a larger L or even L max On the one hand, it lowers the threshold for nodes with limited resources to join the blockchain. On the other hand, no matter how much resources they have, nodes can only master part of the data and cannot independently control the entire network, avoiding the risk of centralization. In addition, nodes that store more data (larger L) have an advantage when restoring transactions, thus forming an effective incentive mechanism to encourage nodes with abundant resources to contribute more storage resources without being able to control the entire network.
[0043] (4) After applying this method, each node can only retain part of the complete transaction information, thereby providing better privacy protection. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 System model of adaptive blockchain data compression method based on RNS.
[0045] Figure 2 Transaction normalization process (transaction length L T =800 bits).
[0046] Figure 3 Transaction compression process.
[0047] Figure 4 Transaction recovery process.
[0048] Figure 5 Local compression ratio (b=8, N=32, L=1~24).
[0049] Figure 6 Availability of transaction query service under different network environments (b=8, N=32, L=1, 8, 16; q=0.1, 0.3, 0.5).
[0050] Figure 7 Communication overhead under different network environments (b=8, N=32, L=1, 8, 16; q=0.1~0.5).
[0051] Figure 8 The computational overhead of recovering transactions under different network environments (b=8, N=32, L=1, 8, 16; q=0.1~0.5). Specific implementation plan
[0052] This invention proposes an adaptive block data compression method based on the Residue Number System (RNS), which greatly reduces the storage capacity of each node without compromising the core characteristics of the blockchain. The specific implementation plan is divided into three parts:
[0053] I System initialization:
[0054] (1) The system presets a set of N moduli including the remainder base Ψ N ={m 0 ,m 1 …,m N-1}, where the modulus bit width is b. The moduli are mutually prime and are arranged in ascending order. The lowest common multiple of N moduli This is called "dynamic range". N By less than 2 b The modulus bit width is set to 8 (b=8) and the remainder base is less than 2. 8 The 32 largest prime numbers (N=32) are shown in the following table:
[0055] <![CDATA[m 1 -m 4 ]]> <![CDATA[m 5 -m 8 ]]> <![CDATA[m 9 -m 12 ]]> <![CDATA[m 13 -m 16 ]]> <![CDATA[m 17 -m 20 ]]> <![CDATA[m 21 -m 24 ]]> <![CDATA[m 25 -m 28 ]]> <![CDATA[m 29 -m 32 ]]> 251 229 199 181 163 139 113 101 241 227 197 179 157 137 109 97 239 223 193 173 151 131 107 89 233 211 191 167 149 127 103 83
[0056] (2) Each node selects a subset ψ containing L (0 < L < N) elements from Ψ according to the amount of its own storage resources and the requirement for independence. N ψ = {m′ L , m′ 0 … m′ 1 | m′ L-1 ∈Ψ i}. The elements in ψ are called "local moduli". In actual deployment, each node selects at most 24 local moduli (L N = 24). L max
[0057] (3) Using the node discovery and resource location mechanisms provided by the underlying Kademlia protocol of the blockchain network, each node constructs and maintains a neighbor list (Peer list) in the form of key-value pairs. Each key-value pair is called a Slot. Among them, the Key is any element m″ (3)利用区块链网络底层Kademlia协议提供的节点发现、资源定位机制,各个节点以键值对(Key-Value)的形式,构建并维护一个邻居列表(Peer list)。每一个键值对被称为一个Slot。其中,Key是模数集Ψ Ds (Ψ Ds = Ψ N - ψ L )(0 < i < N - L - 1). The corresponding Value is a list whose elements are the IP addresses of the nodes that select m″ i as local moduli. The neighbor nodes at each node are refreshed regularly to exclude invalid nodes. In actual deployment, each slot stores 8 IP addresses. Each time a node performs node discovery and resource location operations, it randomly accesses 3 nodes in parallel from the corresponding slot (concurrency factor α = 3). i
[0058] (4) Each node follows the existing blockchain protocol to sign or listen for and verify new transactions. The successfully verified transactions are cached in the transaction pool, and some of them will be packed into new blocks after being normalized and compressed. (4)各个节点遵循现有区块链协议,签发或监听、验证新的交易。验证成功的交易缓存在交易池,其中部分将在被规范化、压缩后,打包进入新区块。
[0059] II Transaction Normalization:
[0060] In the blockchain, transactions are of variable length. To facilitate the determination of the dynamic range M N , it is necessary to perform normalization before compressing the transactions.
[0061] (1) The node converts the transaction of length L T into a binary sequence and pads zeros at the end to make the length of the binary sequence a power of 2. The padding length is denoted as N P (Number of paddings).
[0062] (2) The node equally divides the zero-padded binary sequence into multiple L C (b·N ≥ LC ) bits. The number of fragments is recorded as N C (Number of chunks), then N P =N C ·L C -L T In actual deployment, L C Take 256 bits.
[0063] (3) The node normalizes each transaction to obtain N P 、N C Save locally.
[0064] III Transaction Compression:
[0065] (1) After the transaction is normalized, the node converts each fragment into the corresponding integer X j (0 <j<N C -1). Then, based on Ψ N , node pair Perform a modulo operation to convert each transaction into an N-row N C The column remainder matrix Φ N , where Φ ij Yes X j For m i The result of modulo.
[0066] (2) To ensure Φ N Data integrity, for each row of the matrix The node generates the corresponding commitment as follows:
[0067]
[0068] Among them, hash(TX) is the hash value corresponding to the transaction, i is the modulus corresponding to the row in Ψ N The node then inserts the resulting commitment into the Bloom filter.
[0069] (3) When all the transactions to be packaged and their corresponding commitments are inserted into the Bloom filter, the node starts to create a new block. The block body no longer contains complete transactions, but only the corresponding hash values. The Bloom filter is added to the block header. The node follows the existing blockchain protocol and performs proof of work based on the content of the new block header. When a random number (nonce) that meets the difficulty value requirements is found, the node broadcasts the new block to the network. In actual deployment, the false alarm rate of the Bloom filter is set to 0.01 (p = 0.01).
[0070] (4) After receiving the new block, the node finds the corresponding transaction in the local transaction pool according to the hash value in the block body, verifies its validity, and re-calculates based on Ψ N Perform a modulus operation on the normalized transactions to obtain Φ N Then, the nodes are divided according to Φ N Regenerate the commitment to verify the validity of the Bloom filter. After verification, the node verifies the rest of the content including nonce according to the existing blockchain protocol.
[0071] (5) After the new block is successfully verified, the node appends it to the end of the local blockchain. When uploading, for each transaction, the node adds the local modulus set ψ selected when the system is initialized. L , from Φ N Select the corresponding line and append it after the transaction hash value.
[0072] IV transaction recovery:
[0073] After the above steps are completed, a transaction is represented as a number of remainder rows stored in various nodes, so that the block data is compressed as a whole. When a node queries the transaction content, the original transaction content needs to be restored.
[0074] (1) The node requests the corresponding m″ row by row according to the neighbor list it maintains. i (m″ i ∈Ψ Ds ) of the remainder subset (the node gets the corresponding m″ i After the correct remainder line is obtained, the corresponding m″ will be requested. i+1 The node will check the response of each neighbor node. When checking, the node will sequentially concatenate the locally maintained transaction hash hash (TX), index value i and the neighbor node's response R', recalculate the commitment, and determine the validity of the response by judging whether the commitment is in the Bloom filter. Nodes that do not respond or return invalid responses will be removed from the neighbor list. Nodes discover new nodes and add them to the corresponding slots based on the underlying mechanism provided by the Kademlia protocol.
[0075] (2) Based on the collected NL remainder rows and the L rows stored locally, the node uses CRT to obtain the binary sequence of the original transaction after zero padding. C 、N P , determine the starting position of the original transaction sequence, and thus restore the original transaction content. The node can determine whether the transaction is correctly restored by verifying the hash value.
[0076] The performance of the adaptive block data compression method based on RNS can be measured from three aspects: compression rate, overhead, and availability:
[0077] (1) The compression ratio is defined as the ratio of the reduced storage capacity after applying the method to the original storage capacity.
[0078] (2) Overhead refers to the additional computation and communication overhead generated during the transaction compression and recovery process. The computation overhead mainly comes from modulus and hash operations.
[0079] (3) The availability of the transaction query service is defined as the ability of the node to successfully restore the original content of the transaction in a complex network environment after applying the method. In a complex network environment, nodes can enter and exit freely, and there are malicious nodes that intend to interfere with the transaction recovery process by tampering with local data. Generally, malicious nodes are independent of each other and are evenly distributed in the network. The availability of this method is measured by the average number of requests required to restore a transaction (each IP address in the neighbor list is counted as one request).
[0080] Based on the above definition, the compression rate, overhead, and availability of this method are mainly determined by (b, N). After theoretical analysis and simulation experiments, the method has the best effect when the above parameters are used. At this time, the compression rate of this method is close to 80%. When the proportion of malicious nodes in the network is constant, the other performance is as follows Figure 6 , 7, 8. From this we can see:
[0081] (1) Nodes can adaptively adjust the local compression rate in a finer granularity by selecting L.
[0082] (2) Compared with the current average transaction length of 370 bytes, under the worst network environment (q=0.5), the communication overhead caused by recovering a transaction is only twice the original transaction size.
[0083] (3) Due to the high efficiency of the operation itself, the additional modulus and hash operations in the transaction compression and recovery process will not cause large fluctuations in block time.
[0084] (4) Although nodes that store more data locally will lose some compression rate, they also have more advantages in the transaction recovery process. This shows that this method can provide an effective incentive mechanism to encourage resource-rich nodes to share more storage responsibilities without forming a data monopoly.
Claims
1. An adaptive block data compression method based on a remainder system, comprising the following steps: (1) Initialization: Step 1: Preset a set of N moduli with remainder bases Ψ N ={m0,m1…,m N-1 }, where the modulus bit width is b, the moduli are mutually prime, and are arranged in ascending order; the lowest common multiple of the N moduli It's called "dynamic range"; Step 2: Each node selects a subset ψ N containing L, where 0 < L < N, elements from Ψ L = {m′0, m′1…m′ L-1 | m′ i ∈ Ψ N}, and the elements in ψ L are called "local moduli"; Step 3: Using the node discovery and resource location mechanisms provided by the underlying Kademlia protocol of the blockchain network, each node constructs and maintains a neighbor list in the form of key-value pairs (Key-Value); each key-value pair is called a Slot; where the Key is any element m″ Ds = Ψ N - ψ L in Ψ i , 0 < i < N - L - 1; the corresponding Value is a list whose elements are the IP addresses of the nodes that select m″ i as the local modulus; Step 4: Each node follows the blockchain protocol to issue or monitor and verify new transactions. Successfully verified transactions are cached in the transaction pool, and some of them will be packaged into new blocks after being standardized and compressed; (2) Transaction standardization: Step 1: The node will be of length L T The transaction is converted into a binary sequence, and zeros are added at the end to make the length of the binary sequence a power of 2. The zero-padding length is recorded as N P ; Step 2: The node divides the zero-filled binary sequence into multiple L C bits fragment; the number of fragments is recorded as N C , then N P =N C ·L C -L T Step 3: The node normalizes each transaction to obtain N P 、N C Save locally; (3) Transaction Compression: Step 1: The node converts each fragment into the corresponding integer X j , 0 <j<N C -1; based on Ψ N , node pair Perform a modulo operation to convert each transaction into an N-row N C The column remainder matrix Φ N , where Φ ij Yes X j For m i The result of modulus search; Step 2: To ensure Φ N Data integrity, for each row of the matrix The node generates the corresponding commitment as follows: Among them, hash(TX) is the hash value corresponding to the transaction, i is the modulus corresponding to the row in Ψ N The index value in , "+" means concatenation; The node inserts the generated commitment into the Bloom filter; Step 3: The node starts to create a new block; the block body no longer contains the complete transaction, but only the corresponding hash value; the Bloom filter is added to the block header to form a new block header; the node broadcasts the new block to the network; Step 4: After receiving the new block, the node finds the corresponding transaction in the local transaction pool according to the hash value in the block body, verifies its validity, and re-calculates the transaction based on Ψ N Perform a modulus operation on the normalized transaction to obtain Φ N ; Nodes according to Φ N Regenerate commitments to verify the validity of the Bloom filter; Step 5: After the new block is successfully verified, the node appends it to the end of the local blockchain; when uploading, for each transaction, the node adds the local modulus set ψ selected when the system was initialized. L , from Φ N Select the corresponding row from the block and append it to the end of the transaction hash value; a transaction is represented as a number of remainder rows stored in different nodes, so that the block data is compressed as a whole; (4)Transaction resumption.
2. The adaptive block data compression method according to claim 1, characterized in that: Ψ N By less than 2 b The N largest prime numbers.
3. The adaptive block data compression method according to claim 1, characterized in that: The transaction recovery method is as follows: Step 1: The node requests the corresponding m″ row by row according to the neighbor list it maintains i The remainder subset of the node gets the corresponding m″ i After the correct remainder line is obtained, the corresponding m″ will be requested. i+1 The node checks the response of each neighbor node. When checking, the node concatenates the locally maintained transaction hash hash (TX), index value i and the neighbor node's response R′ in order, recalculates the commitment, and determines the validity of the response by judging whether the commitment is in the Bloom filter; nodes that do not respond or return invalid responses will be removed from the neighbor list, and the node discovers new nodes according to the underlying mechanism provided by the Kademlia protocol and adds them to the corresponding slot; Step 2: Based on the collected NL remainder rows and the L rows stored locally, the node uses CRT to obtain the binary sequence of the original transaction after zero padding; the node uses the N locally stored C 、N P , determine the starting position of the original transaction sequence, and thus restore the original transaction content; the node determines whether the transaction is correctly restored by verifying the hash value.
