2018-07-17 08:23:52 +00:00
|
|
|
# Lighthouse
|
2018-07-06 07:54:07 +00:00
|
|
|
|
2018-07-18 23:51:28 +00:00
|
|
|
[![Build Status](https://travis-ci.org/sigp/lighthouse.svg?branch=master)](https://travis-ci.org/sigp/lighthouse)
|
2018-07-12 05:01:28 +00:00
|
|
|
|
2018-07-06 07:58:22 +00:00
|
|
|
A **work-in-progress** implementation of the Ethereum beacon_chain in Rust.
|
2018-07-06 07:54:07 +00:00
|
|
|
|
2018-07-06 07:55:44 +00:00
|
|
|
It is an implementation of the [Full PoS Casper chain
|
|
|
|
v2](https://notes.ethereum.org/SCIg8AH5SA-O4C1G1LYZHQ?view) spec and is also
|
2018-07-06 07:54:07 +00:00
|
|
|
largely based upon the
|
|
|
|
[ethereum/beacon_chain](https://github.com/ethereum/beacon_chain) repo.
|
|
|
|
|
2018-07-18 00:28:23 +00:00
|
|
|
Thanks to Parity for their excellent crates (e.g., RLP, ethereum_types).
|
|
|
|
|
2018-07-06 07:54:07 +00:00
|
|
|
## Usage
|
|
|
|
|
2018-07-18 00:28:23 +00:00
|
|
|
Presently this is proof-of-concept without p2p or any functionality you'd
|
|
|
|
expect from Parity or Geth.
|
2018-07-17 08:13:22 +00:00
|
|
|
You can run the tests like this:
|
2018-07-06 07:54:07 +00:00
|
|
|
|
|
|
|
```
|
2018-07-12 06:44:21 +00:00
|
|
|
$ git clone <url>
|
2018-07-06 07:54:07 +00:00
|
|
|
$ cd rust_beacon_chain
|
|
|
|
$ cargo test
|
|
|
|
```
|
|
|
|
|
|
|
|
## Contact
|
|
|
|
|
2018-07-17 08:13:22 +00:00
|
|
|
This repo is presently authored by Paul Hauner as a Sigma Prime
|
2018-07-06 07:54:07 +00:00
|
|
|
project.
|
|
|
|
|
|
|
|
Best place for discussion is probably the [ethereum/sharding
|
|
|
|
gitter](https://gitter.im/ethereum/sharding).
|
|
|
|
|
|
|
|
## TODO:
|
|
|
|
|
2018-07-17 08:13:22 +00:00
|
|
|
- [X] Implement state transitions up-to-par with the Python reference implementation.
|
2018-07-12 06:44:21 +00:00
|
|
|
- [ ] Ensure bls library is secure.
|
2018-07-17 08:13:22 +00:00
|
|
|
- [ ] Implement aggregate pub keys for BLS.
|