Coder Social home page Coder Social logo

pjh177787 / prism-rust Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yangl1996/prism-rust

0.0 1.0 0.0 4.43 MB

Rust implementation of the Prism consensus protocol

License: MIT License

Rust 72.44% HTML 0.33% JavaScript 4.52% Shell 7.83% Python 3.39% Go 11.48%

prism-rust's Introduction

Prism: Scaling Bitcoin by 10,000x

Build Status

Rust implementation of the Prism consensus protocol.

Paper

Prism: Scaling Bitcoin by 10,000x [full text]

Lei Yang (MIT CSAIL), Vivek Bagaria ๐Ÿ“ง (Stanford University), Gerui Wang (UIUC) ๐Ÿ“ง, Mohammad Alizadeh (MIT CSAIL), David Tse (Stanford University), Giulia Fanti (CMU), Pramod Viswanath (UIUC)

Abstract: Bitcoin is the first fully decentralized permissionless blockchain protocol and achieves a high level of security: the ledger it maintains has guaranteed liveness and consistency properties as long as the adversary has less compute power than the honest nodes. However, its throughput is only 7 transactions per second and the confirmation latency can be up to hours. Prism is a new blockchain protocol which is designed to achieve a natural scaling of Bitcoin's performance while maintaining its full security guarantees. We present an implementation of Prism which achieves a throughput of 70,000 transactions per second and confirmation latencies of tens of seconds.

Build

This project requires Rust nightly because some of our dependencies rely on nightly-only features like inline assembly.

To build the binary, run cargo build --release. The first build could take several mintues, mostly due to building RocksDB.

Testbed and Reproducing

The scripts used in the evaluation section of the paper are located in /testbed. /testbed/README.md provides instructions for running the experiments and reproducing the results. Or, watch the screencast for a quick demo

asciicast

prism-rust's People

Contributors

bagavi avatar gfanti avatar parimarjan avatar wgr523 avatar yangl1996 avatar

Watchers

 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.