Method and apparatus for hierarchically pruning data in blockchain transaction, device and medium

    公开(公告)号:US12061597B2

    公开(公告)日:2024-08-13

    申请号:US18543440

    申请日:2023-12-18

    CPC classification number: G06F16/2365 G06F16/2255

    Abstract: The present disclosure provides a method for hierarchically pruning data in a blockchain transaction, which comprises: acquiring a transaction data set; performing N rounds of pruning on the transaction data set based on a data pruning model to obtain a target data set; and performing processing on the target data set to obtain a target value, wherein the target value is configured as the transaction identification number used when the target data set is on-chain. Based on the customized data pruning model, part of the data in the transaction (e.g., Unlocking-Scripts and Locking-Scripts) can be easily pruned in the process of network transmission, internal storage, or construction of a new transaction (especially the Unlocking-Scripts therein) without affecting the process of verifying the data of other parts of the transaction data, which significantly improves the efficiency of UTXO-based blockchains.

    METHOD AND APPARATUS FOR HIERARCHICALLY PRUNING DATA IN BLOCKCHAIN TRANSACTION, DEVICE AND MEDIUM

    公开(公告)号:US20240168942A1

    公开(公告)日:2024-05-23

    申请号:US18543440

    申请日:2023-12-18

    CPC classification number: G06F16/2365 G06F16/2255

    Abstract: The present disclosure provides a method for hierarchically pruning data in a blockchain transaction, which comprises: acquiring a transaction data set; performing N rounds of pruning on the transaction data set based on a data pruning model to obtain a target data set; and performing processing on the target data set to obtain a target value, wherein the target value is configured as the transaction identification number used when the target data set is on-chain. Based on the customized data pruning model, part of the data in the transaction (e.g., Unlocking-Scripts and Locking-Scripts) can be easily pruned in the process of network transmission, internal storage, or construction of a new transaction (especially the Unlocking-Scripts therein) without affecting the process of verifying the data of other parts of the transaction data, which significantly improves the efficiency of UTXO-based blockchains.

Patent Agency Ranking