A block content editing method, comprising: receiving, by a blockchain node Bi, a block editing transaction, which is used to edit original block content m of a block Qi to target block content m', wherein a parent hash corresponding to the block Qi is recorded in a block header of a block Qi +1, the parent hash is generated through calculation by using original block content m, a public key H, and an original random number r, the public key H is generated through calculation using node public keys h1 to hn respectively corresponding to blockchain nodes B1 to Bn, and i E [1, n] and i is a positive integer; executing, by the blockchain node Bi, a smart contract that generates a random number when determining that a consensus on the block editing transaction succeeds, wherein the smart contract is used to execute secure multi-party computing related to node private keys x1 to xn respectively corresponding to the blockchain nodes B1 to Bn to generate a private key X; and determining corresponding target random number r' based on the original block content m, the target block content m', the original random number r, and the private key X, wherein a hash value generated through calculation by using the target block content m', the public key H, and the target random number r' is the same as the parent hash; and updating, by the blockchain node Bi, the original block content m to the target block content m' and the original random number r to the target random number r', wherein generating the private key X through the secure multi-party computing comprises: obtaining intermediate fragments x1' to xn', wherein an intermediate fragment xi' is obtained by the blockchain node Bi via recovering private key fragments x1_i to xn_i using a secret sharing algorithm, wherein private key fragments xi _ 1 to xi_n are obtained by the blockchain node Bi via fragmenting a node private key xi using the secret sharing algorithm, xi_j is shared by the blockchain node Bi with a blockchain node Bj, and j ∈[1, i -1]∪[ i +1, n] and j is a positive integer; and obtaining the private key X by recovering the intermediate fragments x1' to xn' using the secret sharing algorithm. receiving, by a blockchain node Bi, a block editing transaction, which is used to edit original block content m of a block Qi to target block content m', wherein a parent hash corresponding to the block Qi is recorded in a block header of a block Qi +1, the parent hash is generated through calculation by using original block content m, a public key H, and an original random number r, the public key H is generated through calculation using node public keys h1 to hn respectively corresponding to blockchain nodes B1 to Bn, and i E [1, n] and i is a positive integer; executing, by the blockchain node Bi, a smart contract that generates a random number when determining that a consensus on the block editing transaction succeeds, wherein the smart contract is used to execute secure multi-party computing related to node private keys x1 to xn respectively corresponding to the blockchain nodes B1 to Bn to generate a private key X; and determining corresponding target random number r' based on the original block content m, the target block content m', the original random number r, and the private key X, wherein a hash value generated through calculation by using the target block content m', the public key H, and the target random number r' is the same as the parent hash; and updating, by the blockchain node Bi, the original block content m to the target block content m' and the original random number r to the target random number r', wherein generating the private key X through the secure multi-party computing comprises: obtaining intermediate fragments x1' to xn', wherein an intermediate fragment xi' is obtained by the blockchain node Bi via recovering private key fragments x1_i to xn_i using a secret sharing algorithm, wherein private key fragments xi _ 1 to xi_n are obtained by the blockchain node Bi via fragmenting a node private key xi using the secret sharing algorithm, xi_j is shared by the blockchain node Bi with a blockchain node Bj, and j ∈[1, i -1]∪[ i +1, n] and j is a positive integer; and obtaining the private key X by recovering the intermediate fragments x1' to xn' using the secret sharing algorithm. obtaining intermediate fragments x1' to xn', wherein an intermediate fragment xi' is obtained by the blockchain node Bi via recovering private key fragments x1_i to xn_i using a secret sharing algorithm, wherein private key fragments xi _ 1 to xi_n are obtained by the blockchain node Bi via fragmenting a node private key xi using the secret sharing algorithm, xi_j is shared by the blockchain node Bi with a blockchain node Bj, and j ∈[1, i -1]∪[ i +1, n] and j is a positive integer; and obtaining the private key X by recovering the intermediate fragments x1' to xn' using the secret sharing algorithm.