Git Product home page Git Product logo

hotstuff-ivy's Introduction

DOI

Verifying Simplified Hotstuff

This repository includes safety proof for the simplified HotStuff protocol. Proofs are done using both TLAPS and Ivy tool.

Proof Tool
Ivy Proof Ivy
TLAPS Proof TLAPS

The protocol: Simplified HotStuff

Simplified HotStuff is a variant of the HotStuff BFT Algorithm. The main difference is that simplified HotStuff requires that every block contains a certificate for its parent. This allows to simplify the Safety rule.

The model

Instead of explicitly modelling message passing, we model the algorithm as operations of multiple nodes/replicas on a tree structure. The protocol is modelled through two actions.

The propose action adds a new block to the tree. We allow any block to be added to the tree, as long as its parent is certified. We do note model view change and the restrictions this poses on proposing new blocks. That is, because these restrictions only apply to correct nodes, and thus are only necessary for liveness, not safety.

The vote action add the signature of a node to a block. The model enforces that correct nodes follow the rules of the algorithm for signing blocks. We note that whether the vote action is enabled only depends on which blocks a node has previously signed. It does not depend on the complete tree. Thus, our model covers the case where a node does not know the complete tree, but only the subtree which he has signed.

hotstuff-ivy's People

Contributors

leandernikolaus avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

hanish520

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.