# US 2019/0377648 A1 · Linear view-change bft

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

- Number: US 2019/0377648 A1
- Document ID: US20190377648A1
- Status: Published application
- Kind: A1
- Application number: 16/005,351
- Filed: 2018-06-11
- Published: 2019-12-12
- Earliest claimed: 2018-06-11
- Assignees: VMware, Inc.
- Applicants: VMware, Inc.
- Inventors: Ittai Abraham; Dahlia Malkhi; Guy Golan Gueta
- Web page: https://patentgrep.com/patent/US20190377648A1

## CPC

- G06F 11/2056: {by mirroring}
- H04L 9/3255: {using group based signatures, e.g. ring or threshold signatures}
- G06F 11/2023: {Failover techniques}
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- H04L 9/3247: {involving digital signatures}
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- H04L 63/0823: {using certificates (cryptographic mechanisms or cryptographic arrangements for entity authentication involving certificates H04L9/3263)}
- H04L 63/123: {received data contents, e.g. message integrity}
- H04L 67/1095: Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
- 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]
- H04L 69/40: for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection (management of faults, events, alarms or notifications in data switching networks H04L41/06)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Techniques for implementing linear view-change in a Byzantine Fault Tolerant (BFT) protocol running on a distributed system comprising n replicas are provided. According to one set of embodiments, at a time of performing a view-change from a current view number v to a new view number v+1, a replica in the n replicas corresponding to a new proposer for new view number v+1 can generate a PREPARE message comprising a single COMMIT certificate, where the single COMMIT certificate is the highest COMMIT certificate the new proposer is aware of. The new proposer can then transmit the PREPARE message with the single COMMIT certificate to all other replicas in the n replicas.

## Claims

### Claim 1

A method for implementing linear view-change in a Byzantine Fault Tolerant (BFT) protocol running on a distributed system comprising n replicas, wherein no more than f of the n replicas are faulty, and wherein the BFT protocol enables at least 2f+1 of the n replicas to agree on how to sequence execution of a plurality of service operations originating from one or more clients, the method comprising:
at a time of performing a view-change from a current view number v to a new view number v+1 in order to reach consensus on a sequence number for a given service operation:
generating, by a replica in the n replicas corresponding to a new proposer for new view number v+1, a PREPARE message comprising a single COMMIT certificate, the single COMMIT certificate being the highest COMMIT certificate the new proposer is aware of; and
transmitting, by the new proposer, the PREPARE message with the single COMMIT certificate to all other replicas in the n replicas.

### Claim 2 (depends on 1)

The method of claim 1 wherein the single COMMIT certificate is one of 2f+1 commit certificates received by the new proposer from other replicas in the n replicas during view number v.

### Claim 3 (depends on 1)

The method of claim 1 wherein the single COMMIT certificate is a COMMIT certificated locked by the new proposer during view number v.

### Claim 4 (depends on 1)

The method of claim 1 wherein the single COMMIT certificate comprises 2f+1 PREPARE votes for a proposed sequence number for the given service operation, each PREPARE vote including a signed digest of the proposed sequence number.

### Claim 5 (depends on 1)

The method of claim 1 wherein, upon receiving the PREPARE message at a replica r, replica r determines whether it already holds a lock on another COMMIT certificate.

### Claim 6 (depends on 5)

The method of claim 5 wherein if replica r already holds a lock on another COMMIT certificate, replica r releases the lock if the single COMMIT certificate included in the PREPARE message is higher than said another COMMIT certificate.

### Claim 7 (depends on 1)

The method of claim 1 wherein the BFT protocol is Practical BFT and wherein executing the steps of claim 1 result in a linear reduction in communication bit complexity for the view-change over Practical BFT.

### Claim 8

A non-transitory computer readable storage medium having stored thereon program code embodying a method for implementing linear view-change in a Byzantine Fault Tolerant (BFT) protocol running on a distributed system comprising n replicas, wherein no more than f of the n replicas are faulty, and wherein the BFT protocol enables at least 2f+1 of the n replicas to agree on how to sequence execution of a plurality of service operations originating from one or more clients, the method comprising:
at a time of performing a view-change from a current view number v to a new view number v+1 in order to reach consensus on a sequence number for a given service operation:
generating, by a replica in the n replicas corresponding to a new proposer for new view number v+1, a PREPARE message comprising a single COMMIT certificate, the single COMMIT certificate being the highest COMMIT certificate the new proposer is aware of; and
transmitting, by the new proposer, the PREPARE message with the single COMMIT certificate to all other replicas in the n replicas.

### Claim 9 (depends on 8)

The non-transitory computer readable storage medium of claim 8 wherein the single COMMIT certificate is one of 2f+1 commit certificates received by the new proposer from other replicas in the n replicas during view number v.

### Claim 10 (depends on 8)

The non-transitory computer readable storage medium of claim 8 wherein the single COMMIT certificate is a COMMIT certificated locked by the new proposer during view number v.

### Claim 11 (depends on 8)

The non-transitory computer readable storage medium of claim 8 wherein the single COMMIT certificate comprises 2f+1 PREPARE votes for a proposed sequence number for the given service operation, each PREPARE vote including a signed digest of the proposed sequence number.

### Claim 12 (depends on 8)

The non-transitory computer readable storage medium of claim 8 wherein, upon receiving the PREPARE message at a replica r, replica r determines whether it already holds a lock on another COMMIT certificate.

### Claim 13 (depends on 12)

The non-transitory computer readable storage medium of claim 12 wherein if replica r already holds a lock on another COMMIT certificate, replica r releases the lock if the single COMMIT certificate included in the PREPARE message is higher than said another COMMIT certificate.

### Claim 14 (depends on 8)

The non-transitory computer readable storage medium of claim 8 wherein the BFT protocol is Practical BFT and wherein executing the steps of claim 8 result in a linear reduction in communication bit complexity for the view-change over Practical BFT.

### Claim 15

A distributed system comprising:
n replicas; and
a non-transitory computer readable medium having stored thereon program code that, when executed, enables the distributed system to implement linear view-change in a Byzantine Fault Tolerant (BFT) protocol running on the distributed system, wherein no more than f of the n replicas are faulty, and wherein the BFT protocol enables at least 2f+1 of the n replicas to agree on how to sequence execution of a plurality of service operations originating from one or more clients, the program code causing the distributed system to:
at a time of performing a view-change from a current view number v to a new view number v+1 in order to reach consensus on a sequence number for a given service operation:
generate, via a replica in the n replicas corresponding to a new proposer for new view number v+1, a PREPARE message comprising a single COMMIT certificate, the single COMMIT certificate being the highest COMMIT certificate the new proposer is aware of; and
transmit, via the new proposer, the PREPARE message with the single COMMIT certificate to all other replicas in the n replicas.

### Claim 16 (depends on 15)

The distributed system of claim 15 wherein the single COMMIT certificate is one of 2f+1 commit certificates received by the new proposer from other replicas in the n replicas during view number v.

### Claim 17 (depends on 15)

The distributed system of claim 15 wherein the single COMMIT certificate is a COMMIT certificated locked by the new proposer during view number v.

### Claim 18 (depends on 15)

The distributed system of claim 15 wherein the single COMMIT certificate comprises 2f+1 PREPARE votes for a proposed sequence number for the given service operation, each PREPARE vote including a signed digest of the proposed sequence number.

### Claim 19 (depends on 15)

The distributed system of claim 15 wherein, upon receiving the PREPARE message at a replica r, replica r determines whether it already holds a lock on another COMMIT certificate.

### Claim 20 (depends on 19)

The distributed system of claim 19 wherein if replica r already holds a lock on another COMMIT certificate, replica r releases the lock if the single COMMIT certificate included in the PREPARE message is higher than said another COMMIT certificate.

### Claim 21 (depends on 15)

The distributed system of claim 15 wherein the BFT protocol is Practical BFT and wherein executing the steps of claim 15 result in a linear reduction in communication bit complexity for the view-change over Practical BFT.
