A transaction consensus processing method for a blockchain, the blockchain including a plurality of nodes, wherein a target node of the plurality of nodes that initiates a proposition performs compression processing on proposed transaction data based on a predetermined compression algorithm, and fragments the compressed transaction data into a number of data fragments based on an erasure code algorithm, and wherein a consensus algorithm of the blockchain is a practical Byzantine fault tolerance, PBFT, algorithm, the method comprising: receiving, by a node of the plurality of nodes, a data fragment of the number of data fragments of the transaction data that is sent by the target node in a unicast mode, including: receiving, by the node, a pre-prepare message sent by the target node in the unicast mode, wherein the pre-prepare message includes the data fragment of the transaction data; and obtaining and storing, by the node, the data fragment included in the pre-prepare message, wherein the pre-prepare message sent by the target node to the node and each further pre-prepare message sent by the target node to other nodes of the plurality of nodes include different further data fragments of the transaction data; broadcasting, by the node, the received data fragment to the other nodes of the plurality of nodes in the blockchain, and receiving, by the node, the further data fragments of the transaction data that are broadcast by the other nodes; determining, by the node, whether a number of received data fragments of the transaction data, including the data fragment received from the target node and the further data fragments received from the other nodes, reaches an erasure code recovery threshold supported by the erasure code algorithm; and in response to determining that the number of received data fragments of the transaction data reaches the erasure code recovery threshold, performing, by the node, data recovery on the received data fragments based on an erasure code reconstruction algorithm to recover the transaction data, performing, by the node, decompression processing on the recovered transaction data based on a decompression algorithm corresponding to the compression algorithm to obtain original content of the transaction data, and completing, by the node, consensus processing on the obtained original content of the transaction data. receiving, by the node, a pre-prepare message sent by the target node in the unicast mode, wherein the pre-prepare message includes the data fragment of the transaction data; and obtaining and storing, by the node, the data fragment included in the pre-prepare message, wherein the pre-prepare message sent by the target node to the node and each further pre-prepare message sent by the target node to other nodes of the plurality of nodes include different further data fragments of the transaction data; broadcasting, by the node, the received data fragment to the other nodes of the plurality of nodes in the blockchain, and receiving, by the node, the further data fragments of the transaction data that are broadcast by the other nodes; determining, by the node, whether a number of received data fragments of the transaction data, including the data fragment received from the target node and the further data fragments received from the other nodes, reaches an erasure code recovery threshold supported by the erasure code algorithm; and in response to determining that the number of received data fragments of the transaction data reaches the erasure code recovery threshold, performing, by the node, data recovery on the received data fragments based on an erasure code reconstruction algorithm to recover the transaction data, performing, by the node, decompression processing on the recovered transaction data based on a decompression algorithm corresponding to the compression algorithm to obtain original content of the transaction data, and completing, by the node, consensus processing on the obtained original content of the transaction data.