GithubHelp home page GithubHelp logo

mingderwang / shasper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from paritytech/shasper

0.0 2.0 0.0 3.88 MB

Parity Shasper beacon chain implementation using the Substrate framework.

License: GNU General Public License v3.0

Rust 85.09% Shell 0.41% JavaScript 14.50%

shasper's Introduction

Parity Shasper

crates.io Documentation

This is an implementation of Serenity beacon chain by Parity Technologies. To learn more about Serenity and Ethereum's sharding plan, see the sharding FAQ and the research compendium.

Parity Shasper consists of a core library beacon which handles beacon chain state transition logic, a client built on Substrate framework (in substrate folder), and a lightweight client built from ground up (in blockchain folder). The substrate client and the blockchain client shares the core library, but operates independently.

To build the client, you need to have Rust installed. Other dependencies required including pkgconfig, libudev, openssl, cmake, clang.

substrate client

The substrate client is currently being reworked at this moment. Stay tuned!

blockchain client

The blockchain client uses spec archive LMD-GHOST consensus and Serenity beacon v0.8 runtime. The client implements a basic in-memory backend and networking stack based on libp2p. It also contains basic validator logic and can participate in beacon chain proposing and attestation.

To build the blockchain client:

cd ./blockchain && cargo run --release -- --author

FAQ

Why common caching strategies for beacon and LMD-GHOST are not yet implemented?

Internally we made the decision that we will strictly follow the beacon chain specification for now, and implement optimizations after the specification is frozen. This is because the specification still changes a lot, and we worry that optimizations we make right now will make upgrading to a newer version of the specification much harder.

License

Licensed under GPLv3.

shasper's People

Contributors

5chdn avatar bkchr avatar ddorgan avatar gabreal avatar gavofyork avatar jamesray1 avatar shawntabrizi avatar soc1c avatar sorpaas avatar tripleight 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.