# US 2025/0211444 A1 · Tree structure for byzantine fault tolerance

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0211444 A1
- Document ID: US20250211444A1
- Status: Published application
- Kind: A1
- Application number: 18/759,069
- Filed: 2024-06-28
- Published: 2025-06-26
- Earliest claimed: 2019-06-11
- Assignees: Celo Labs Inc.
- Applicants: Celo Labs Inc.
- Inventors: Jason Ansel; Marek Olszewski
- Web page: https://patentgrep.com/patent/US20250211444A1

## CPC

- H04L 9/3236: {using cryptographic hash functions}
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- G06F 11/0751: {Error or fault detection not based on redundancy (power supply failures G06F1/30; network fault management H04L41/06)}
- G06F 11/2097: {maintaining the standby controller/processing unit updated (initialisation or re-synchronisation thereof G06F11/1658 and subgroups)}
- H04L 9/3247: {involving digital signatures}
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- G06F 2201/82: Solving problems relating to consistency
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and techniques are provided for a tree structure for byzantine fault tolerance. A validator computing device may receive a candidate block from a block producer. The block producer may be a second validator computing device of the distributed network. The validator computing device may determine whether or not the candidate block is valid. The validator computing device may sign an indication of whether or not the candidate block is valid to generate a signature. The validator computing device may send the signature to a third validator computing device that is a sibling node to the validator computing device. The validator computing device may receive a second signature from the third validator computing device. The validator computing device may combine the signature and the second signature to generate a combine signature if the signature and the second signature agree.

## Claims

### Claim 1

A computer-implemented method performed on a data processing apparatus comprising:
receiving, at a validator computing device of a distributed network, a candidate block from a block producer, wherein the block producer is a second validator computing device of the distributed network;
determining, by the validator computing device, whether the candidate block is valid or not valid;
signing, by the validator computing device, an indication of whether the candidate block is valid or not valid to generate a signature;
sending, by the validator computing device, the signature to a third validator computing device that is a sibling node to the validator computing device in a tree structure;
receiving, by the validator computing device, a second signature from the third validator computing device;
determining, by the validator computing device, whether the signature and the second signature agree on whether the candidate block is valid or not valid; and
combining, by the validator computing device, the signature and the second signature to generate a combined signature if the signature and the second signature agree or sending the signature to the block producer if the signature and the second signature do not agree.

### Claim 2 (depends on 1)

The method of claim 1, further comprising, if the signature and the second signature agree:
determining that the validator computing device is operating a virtual node at a top level of the tree structure; and
in response to determining that the validator computing device is operating a virtual node at a top level of the tree structure, sending the combined signatures to the block producer.

### Claim 3 (depends on 1)

The method of claim 1, further comprising, if the signature and the second signature agree:
determining that the validator computing device is operating a virtual node at a level of the tree structure that is not a top level of the tree structure; and
in response to determining that the validator computing device is operating a virtual node that is not at the top level of the tree structure, sending the combined signatures to a fourth validator computing device operating a second virtual node that is a sibling node of the virtual node in the tree structure, and receiving a second combined signatures from the fourth validator computing device.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
receiving, from the block producer, a list of signatures;
determining that the signature is not in the list of signatures; and
sending the signature to the block producer.

### Claim 5

A computer-implemented method comprising:
broadcasting, by a first of a plurality of validator computing devices of a distributed network to the rest of the plurality of validator computing devices, a candidate block;
determining, by the validator computing devices, whether the candidate block is valid or invalid;
generating, by each of the validator computing devices, a signature that indicates whether the validator computing device determined the block to be valid or invalid;
combining, by each one of the validator computing devices, the signature of the validator computing device with the signature of a validator computing device that is a sibling node of the one of the validator computing devices in a tree structure when the signature of the one of the validator computing devices and the signature of the validator computing device that is the sibling node agree, to generate combined signatures;
sending, by any validator computing device whose signature disagrees with the signature of a validator computing device that is its sibling node, the signature of the validator computing device to the first validator computing device;
removing, from the tree structure, at least one virtual node based on a disagreement between signatures between sibling validator computing devices, generating one or more independent subtree in the tree structure;
sending, by each of the validator computing devices that is the leftmost child node of a root node of each of the one or more independent subtrees, the combined signatures of the validator computing device to the first validator computing device; and
determining a consensus on whether the candidate block is valid or not valid based on the signatures and combined signatures sent to the first validator computing device.

### Claim 6 (depends on 5)

The method of claim 5, further comprising, after removing, from the tree structure, at least one virtual node based on a disagreement between signatures between sibling validator computing devices, generating one or more independent subtree in the tree structure:
combining, by each one of the validator computing devices that operates a virtual node, the combined signatures generated by the validator computing device with the combined signatures generated by a validator computing device that is a operating a virtual node that is a sibling node of the virtual node operated by the one of the validator computing devices in the tree structure when the combined signatures generated by the one of the validator computing devices and the combined signatures generated by the validator computing device that is operating the virtual node that is the sibling node agree, to generate combined signatures; and
sending, by any validator computing device operating a virtual node that generated combined signatures that disagree with the combined signatures of a validator computing device that is operating a virtual node that is a sibling node of the virtual node, the combined signatures generated by the validator computing device to the first validator computing device.

### Claim 7 (depends on 5)

The method of claim 5, further comprising, before determining a consensus on whether the candidate block is valid or not valid based on the signatures and combined signatures sent to the first validator computing device:
broadcasting, by the first validator computing device, the signatures and combined signatures to the validator computing devices of the distributed network;
determining, by each of the validator computing devices of the distributed network, whether the signature of the validator computing device is included in the signatures and combined signatures broadcast by the first validator computing device; and
sending, by each of the validator computing devices that determines that its signature is not included in the signatures and combined signatures, the signature of the validator computing device to the first validator computing device.

### Claim 8 (depends on 5)

The method of claim 5, further comprising:
determining a number of infractions for each of the validator computing devices in the distributed network;
removing a specified number of the validator computing devices with the highest number of infractions from the tree structure;
moving one or more validator computing devices that remain in the tree structure to empty positions in the tree structure created by the removing of the specified number of the validator computing devices form the tree structure, wherein the one or more validator computing devices are moved to the left; and
inserting the removed validator computing devices into the tree structure at the right side of the tree structure.

### Claim 9 (depends on 8)

The method of claim 8, wherein an infraction comprises disagreeing with a consensus on the validity of a candidate block.

### Claim 10 (depends on 8)

The method of claim 8, wherein an infraction comprises sending a signature directly to the first validator computing device when the signature should have been combined with another signature to generate a combined signature.

### Claim 11 (depends on 8)

The method of claim 8, wherein the infractions are determined over a sliding window of a specified number of previous candidate blocks.

### Claim 12 (depends on 8)

The method of claim 8, wherein the infractions are weighted.

### Claim 13 (depends on 5)

The method of claim 5, wherein the tree structure is a binary tree comprising the validator computing devices on the bottom level of the tree structure and virtual nodes on other levels of the tree structure.

### Claim 14

A system comprising: one or more computers and one or more storage devices storing instructions which are operable, when executed by the one or more computers, to cause the one or more computers to perform operations comprising:
broadcasting, by a first of a plurality of validator computing devices of a distributed network to the rest of the plurality of validator computing devices, a candidate block;
determining, by the validator computing devices, whether the candidate block is valid or invalid;
generating, by each of the validator computing devices, a signature that indicates whether the validator computing device determined the block to be valid or invalid;
combining, by each one of the validator computing devices, the signature of the validator computing device with the signature of a validator computing device that is a sibling node of the one of the validator computing devices in a tree structure when the signature of the one of the validator computing devices and the signature of the validator computing device that is the sibling node agree, to generate combined signatures;
sending, by any validator computing device whose signature disagrees with the signature of a validator computing device that is its sibling node, the signature of the validator computing device to the first validator computing device;
removing, from the tree structure, at least one virtual node based on a disagreement between signatures between sibling validator computing devices, generating one or more independent subtree in the tree structure;
sending, by each of the validator computing devices that is the leftmost child node of a root node of each of the one or more independent subtrees, the combined signatures of the validator computing device to the first validator computing device; and
determining a consensus on whether the candidate block is valid or not valid based on the signatures and combined signatures sent to the first validator computing device.

### Claim 15 (depends on 14)

The system of claim 14, wherein the instructions further cause the one or more computers to perform operations comprising:
combining, by each one of the validator computing devices that operates a virtual node, the combined signatures generated by the validator computing device with the combined signatures generated by a validator computing device that is a operating a virtual node that is a sibling node of the virtual node operated by the one of the validator computing devices in the tree structure when the combined signatures generated by the one of the validator computing devices and the combined signatures generated by the validator computing device that is operating the virtual node that is the sibling node agree, to generate combined signatures; and
sending, by any validator computing device operating a virtual node that generated combined signatures that disagree with the combined signatures of a validator computing device that is operating a virtual node that is a sibling node of the virtual node, the combined signatures generated by the validator computing device to the first validator computing device

### Claim 16 (depends on 15)

The system of claim 15, wherein the instructions further cause the one or more computers to perform operations comprising:
broadcasting, by the first validator computing device, the signatures and combined signatures to the validator computing devices of the distributed network;
determining, by each of the validator computing devices of the distributed network, whether the signature of the validator computing device is included in the signatures and combined signatures broadcast by the first validator computing device; and
sending, by each of the validator computing devices that determines that its signature is not included in the signatures and combined signatures, the signature of the validator computing device to the first validator computing device.

### Claim 17 (depends on 16)

The system of claim 16, wherein the instructions further cause the one or more computers to perform operations comprising:
determining a number of infractions for each of the validator computing devices in the distributed network;
removing a specified number of the validator computing devices with the highest number of infractions from the tree structure;
moving one or more validator computing devices that remain in the tree structure to empty positions in the tree structure created by the removing of the specified number of the validator computing devices form the tree structure, wherein the one or more validator computing devices are moved to the left; and
inserting the removed validator computing devices into the tree structure at the right side of the tree structure.

### Claim 18 (depends on 16)

The system of claim 16, wherein an infraction comprises disagreeing with a consensus on the validity of a candidate block.

### Claim 19 (depends on 16)

The system of claim 16, wherein an infraction comprises sending a signature directly to the first validator computing device when the signature should have been combined with another signature to generate a combined signature

### Claim 20 (depends on 14)

The system of claim 14, wherein the tree structure is a binary tree comprising the validator computing devices on the bottom level of the tree structure and virtual nodes on other levels of the tree structure.
