Node selection method and apparatus, first node, storage medium, and program product
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsZhuguang SHAO, Li LI, Jianjun ZHANG, Bing SHAO, Bengbeng SU
Life of this patent
Estimating the term…
Loading patent…
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsZhuguang SHAO, Li LI, Jianjun ZHANG, Bing SHAO, Bengbeng SU
Estimating the term…
Embodiments of this application disclose a node selection method performed by a first node in a blockchain. In the embodiments of this application, nodes in a blockchain are grouped in an order of attribute weights of the nodes, to obtain a plurality of node groups. A node group whose attribute weight meets a preset condition is selected from the plurality of node groups, to obtain a target node group, and a preset quantity of candidate consensus nodes are selected from the target node group. A non-candidate consensus node in the target node group is stored into an initial node group. The initial node group is used as a new target node group, and the operation of selecting a candidate consensus node from the target node group is performed. Candidate consensus nodes are broadcast to one or more second nodes in the blockchain for verification.
A node selection method performed by a computer device acting as a first node in a blockchain, the method comprising:
A computer device acting as a first node in a blockchain, comprising a processor and a memory, the memory storing a computer program, and the processor being configured to execute the computer program in the memory and cause the first node to perform a node selection method including:
A non-transitory computer-readable storage medium, storing a computer program that, when executed by a processor of a computer device acting as a first node in a blockchain, causes the computer device to perform a node selection method including:
Dependencies are inferred from the claim text.