GithubHelp home page GithubHelp logo

p2p-voting's Introduction

consensus state

minimal message and safe state creation and maintenance based on https://github.com/ethereum/research/blob/master/papers/CasperTFG/CasperTFG.pdf

focus

  • keep it simple stupid, such that we focus only on consensus
  • nodes should agree on the outcome of a voting (this is just an example estimate, but all the rest of the protocol is generic)
  • perform only one full round until result converges or it explodes
  • understand when safety of a message is achieved, and the vote is over

general scheme

  • assume no sybil attack
  • no stake, no proof of work (maybe small one to publish msgs), just signatures of the known voters’ set
  • voter = sender = validator = node
  • as of now a vote is a msg with no justification and a vote_counter that, when combined with other votes, will increment the vote_counter by 1.
  • any voters relay vote counting msgs which are justified by all votes they’ve seen, and other vote counting msgs from other voters
  • any voters count all votes

  • H(msg) -> Future<pointer> // make it lazy, such that msgs get loaded only when needed
  • use quickcheck as a pseudo-theorem prover to prove properties of the implementation (and not of the protocol per se)

p2p-voting's People

Contributors

minege avatar pz4 avatar

Watchers

 avatar  avatar

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.