METHOD AND DEVICE FOR PREVENTING FORKING OF BLOCKCHAIN

    公开(公告)号:US20230153806A1

    公开(公告)日:2023-05-18

    申请号:US17917013

    申请日:2021-04-08

    CPC classification number: G06Q20/3829 H04L9/50 H04L9/3247 G06Q20/389

    Abstract: Disclosed is a method and device for preventing blockchain forking. The method includes: selecting s consecutive blocks Bn to Bn+s; generating a key pair for block Bm by a node An that creates the block Bn; holding the node An active in the blockchain's continuously generating blocks Bn+1 to Bn+s until the block Bn+s of s consecutive blocks becomes tamper-proof; in response to that, signing on the block Ban+s with the private key PK′n; in response to the blockchain's subsequently generating a block Bm(m>n+s), placing the signature in Bm; making nodes creating each of the s blocks Bn to Bn+s all execute afore-mentioned steps, thereby forming multiple backlinks associated with the blockchain's block size. The number of backlinks is used for determining blockchain forking by a newly-added node creating a new block.

    PUBLIC RANDOM NUMBER GENERATION METHOD AND DEVICE BASED ON BLOCKCHAIN

    公开(公告)号:US20230163961A1

    公开(公告)日:2023-05-25

    申请号:US17917000

    申请日:2021-04-08

    CPC classification number: H04L9/0869 G06F7/582 H04L9/50

    Abstract: Disclosed is a public random number generation method based on a blockchain, including: selecting a node group G containing N trusted nodes; determining a first time point tm and a second time point tn respectively for generating an m-th/n-th block, wherein the former is earlier, and the m-th block is fixed and cannot be tampered at tn; at the first time point tm, enabling each of the N trusted nodes to separately generate a sub-random number rj as a component forming a random number X, wherein j=1, 2, . . . , N, on which delayed encryption is performed, with corresponding results placed in the m-th block; and at the second time point tn, decrypting the delayed encryption results to obtain decrypted data of them all that are all of sub-random number rj, on which operation is performed to obtain the random number X as a final available public random number.

Patent Agency Ranking