DATA PROCESSING METHOD AND APPARATUS BASED ON BLOCKCHAIN
卷宗概要
申请人
TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
发明人
Zhuguang SHAO
IPC 分类
CPC 分类
Disclosed in embodiments of this application are a data processing method and apparatus based on a blockchain, and a device and a medium. The method includes obtaining a node weight update instruction generated for the first consensus node in a blockchain network, the node weight update instruction being configured for instructing an update of a node weight configured for voting information of the first consensus node in a consensus service; predicting whether an updated node weight of the first consensus node meets a node update condition based on the node weight update instruction to obtain a prediction result; updating the node weight of the first consensus node according to the node weight update instruction in response to the prediction result being positive to obtain an update result; and recording the update result in a database of the blockchain network.
原文(中文)
Disclosed in embodiments of this application are a data processing method and apparatus based on a blockchain, and a device and a medium. The method includes obtaining a node weight update instruction generated for the first consensus node in a blockchain network, the node weight update instruction being configured for instructing an update of a node weight configured for voting information of the first consensus node in a consensus service; predicting whether an updated node weight of the first consensus node meets a node update condition based on the node weight update instruction to obtain a prediction result; updating the node weight of the first consensus node according to the node weight update instruction in response to the prediction result being positive to obtain an update result; and recording the update result in a database of the blockchain network.