Ethereum consensus client in Rust
Go to file
Paul Hauner 496adc0f0b
Fix bug in attestation val. bitfield checking
There was a logic error
2018-09-30 14:24:42 +09:30
boolean-bitfield Fix bug in boolean bitfield 2018-09-30 14:24:03 +09:30
lighthouse Fix bug in attestation val. bitfield checking 2018-09-30 14:24:42 +09:30
network-libp2p Move from tomaka/libp2p-rs to sigp/libp2p-rs 2018-09-20 14:09:03 +10:00
ssz Merge database works, directory restructuring 2018-09-26 11:58:46 +10:00
.gitignore Restructure heavily 2018-08-07 10:08:39 +10:00
.gitmodules Removed parity submod, use parity-common for RLP 2018-07-12 15:10:02 +10:00
.travis.yml Add travis.yml 2018-07-12 15:04:02 +10:00
Cargo.toml Introduce "benches" feature 2018-09-29 13:01:33 +09:30
LICENSE Create LICENSE 2018-08-18 09:19:07 +10:00
README.md Update README.md 2018-09-18 18:03:32 +10:00

Lighthouse: a (future) Ethereum 2.0 client

Build Status Gitter

A work-in-progress implementation of the Ethereum 2.0 Beacon Chain in Rust.

It is an implementation of the Full PoS Casper chain v2 spec and is also largely based upon the ethereum/beacon_chain repo.

NOTE: the cryptography libraries used in this implementation are very experimental and as such all cryptography should be assumed to be insecure.

Motivation

The objective of this project is to build a purely Ethereum 2.0 client from the ground up.

As such, the early days of Lighthouse will be very much a research effort -- it will be evolving on the bleeding-edge of specification without requiring to maintain prod-grade stability or backwards-compatibility for the existing PoW chain.

Whilst the Beacon Chain relies upon the PoW chain for block hashes, Lighthouse will need to run alongside an existing client (e.g., Geth, Parity Ethereum), only being able to stand by itself once the PoW chain has been deprecated.

Lighthouse aims to assist in advancing the progress of the following Ethereum technologies:

  • Proof-of-Stake
  • Sharding
  • EVM alternatives (e.g., WASM)
  • Scalable, topic-based P2P networks (e.g., libp2p-gossipsub)
  • Scalable signature schemes (e.g, BLS aggregates)

Progress

As of 02/08/2018, there is a basic libp2p implementation alongside a series of state objects and state transition functions. There are no syncing capabilities.

Usage

You can run the tests like this:

$ git clone <url>
$ cd rust_beacon_chain
$ cargo test

Contact

This repo is presently authored by Paul Hauner as a Sigma Prime project.

The best place for discussion is probably the ethereum/sharding gitter.