A proposal timeout threshold dynamic adjustment method and device and electronic equipment
A dynamic adjustment and time threshold technology, applied in the network field, can solve problems such as slow block generation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] refer to figure 1 As shown, a method for dynamically adjusting the proposal timeout threshold provided by the embodiment of this specification is applied to the blockchain system, and the method includes:
[0026] Step 101: Each node sets and records the number of consensus rounds R participated in and the blank count Nil_R; where the blank count is the number of proposals without transaction content sent or received by the node;
[0027] Step 102: The proposal consensus node obtains the transaction from the transaction time, if the transaction pool is empty, the proposal consensus node sends a blank proposal without transaction content;
[0028] Step 103: The proposal consensus node and other consensus nodes that received the proposal do not vote for the blank proposal in the first stage, and increment their own blank count Nil_R;
[0029] Step 104: Setting the proposal timeout threshold for voting in the first stage is positively correlated with the number of consens...
Embodiment 2
[0041] refer to figure 2 As shown, it is a schematic structural diagram of a device for dynamically adjusting the proposal timeout threshold provided by the embodiment of this specification. The device mainly includes:
[0042] Setting module 201: for each node to set and record the number of consensus rounds R and the blank count Nil_R; where the blank count is the number of proposals sent or received by the node without transaction content;
[0043] Proposal acquisition module 202: used for the proposal consensus node to obtain transactions from transaction time, if the transaction pool is empty, the proposal consensus node sends a blank proposal without transaction content;
[0044] The first-stage voting module 203: used to set the proposal consensus node and other consensus nodes that received the proposal not to vote for the blank proposal in the first stage, and increment its own blank count Nil_R;
[0045] Timeout threshold setting module 204: used to set the proposa...
Embodiment 3
[0055] image 3 It is a schematic structural diagram of an electronic device according to an embodiment of this specification. Please refer to image 3 , at the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. Wherein, the memory may include a memory, such as a high-speed random-access memory (Random-Access Memory, RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. Of course, the electronic device may also include hardware required by other services.
[0056] The processor, the network interface and the memory can be connected to each other through an internal bus, which can be an ISA (Industry Standard Architecture, industry standard architecture) bus, a PCI (Peripheral Component Interconnect, peripheral component interconnection standard) bus or an EISA (Extended Industry StandardArchitecture, extended industry standard archite...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


