Ethereum consensus client in Rust
Go to file
pscott a1e14cc369 Implement push_leaf for MerkleTree (#574)
* Prototype for far_right push

* Add push method and tests

* Modify beacon_chain_builder for interop to use push instead of create

* Add Push method to MerkleTree

* Cargo fmt

* Remove redundant tests

* Fix typo

* Rename push to push_leaf

* Fix clippy warnings

* Add DepthTooSmall enum variant

* Avoid cloning in MerkleTree::push_leaf

* Add quickcheck test for push_leaf

* Cargo fmt updated

* Return err instead of using unwrap()

* Use enumerate instead of hard indexing

* Use if let and return string on error

* Fix typo in deposit_leave

* Fix cargo fmt
2019-11-05 12:29:07 +11:00
.github Add PR and issue templates 2018-10-14 14:51:59 +11:00
account_manager Updates external dependencies (#577) 2019-10-30 12:22:18 +11:00
beacon_node Implement push_leaf for MerkleTree (#574) 2019-11-05 12:29:07 +11:00
book Refactor docs into mdbook (#547) 2019-10-02 11:04:56 +10:00
eth2 Implement push_leaf for MerkleTree (#574) 2019-11-05 12:29:07 +11:00
lcli Updates external dependencies (#577) 2019-10-30 12:22:18 +11:00
protos Updates external dependencies (#577) 2019-10-30 12:22:18 +11:00
scripts Add whiteblock script, CLI options to support it 2019-09-10 12:13:54 -04:00
tests/ef_tests Updates external dependencies (#577) 2019-10-30 12:22:18 +11:00
validator_client Updates external dependencies (#577) 2019-10-30 12:22:18 +11:00
.editorconfig Add editorconfig template 2019-03-11 15:09:57 +11:00
.gitignore Run EF tests on GitLab (#562) 2019-10-22 12:35:35 +09:00
.gitlab-ci.yml Run EF tests on GitLab (#562) 2019-10-22 12:35:35 +09:00
.gitmodules Replace EF tests submodule with a makefile 2019-09-08 04:19:54 +10:00
.travis.yml Allow travis failures on beta (see desc) 2019-08-14 12:03:03 +10:00
Cargo.toml Updates external dependencies (#577) 2019-10-30 12:22:18 +11:00
CONTRIBUTING.md Revert "Merge pull request #200 from sigp/new-structure" 2019-02-14 12:09:18 +11:00
Dockerfile Updated docker file to include the git-lfs installation. 2019-06-17 15:25:25 +10:00
LICENSE Update License to Apache 2.0 2019-04-15 16:47:35 +10:00
Makefile Rename make task to run EF tests 2019-10-30 09:42:32 +00:00
README.md Refactor docs into mdbook (#547) 2019-10-02 11:04:56 +10:00

Lighthouse: Ethereum 2.0

An open-source Ethereum 2.0 client, written in Rust and maintained by Sigma Prime.

Build Status Book Status RustDoc Status Chat Badge Swagger Badge

terminalize

Overview

Lighthouse is:

  • Fully open-source, licensed under Apache 2.0.
  • Security-focused. Fuzzing has begun and security reviews are planned for late-2019.
  • Built in Rust, a modern language providing unique safety guarantees and excellent performance (comparable to C++).
  • Funded by various organisations, including Sigma Prime, the Ethereum Foundation, ConsenSys and private individuals.
  • Actively involved in the specification and security analysis of the emerging Ethereum 2.0 specification.

Like all Ethereum 2.0 clients, Lighthouse is a work-in-progress.

Development Status

Current development overview:

  • Specification v0.8.3 implemented, optimized and passing test vectors.
  • Rust-native libp2p with Gossipsub and Discv5.
  • RESTful JSON API via HTTP server.
  • Events via WebSocket.
  • Metrics via Prometheus.

Roadmap

  • April 2019: Inital single-client testnets.
  • September 2019: Inter-operability with other Ethereum 2.0 clients.
  • Early-October 2019: lighthouse-0.0.1 release: All major phase 0 features implemented.
  • Q4 2019: Public, multi-client testnet with user-facing functionality.
  • Q4 2019: Third-party security review.
  • Q1 2020: Production Beacon Chain testnet (tentative).

Documentation

The Lighthouse Book contains information for testnet users and developers.

Code documentation is generated via cargo doc and hosted at lighthouse-docs.sigmaprime.io.

If you'd like some background on Sigma Prime, please see the Lighthouse Update #00 blog post or sigmaprime.io.

Contributing

Lighthouse welcomes contributors.

If you are looking to contribute, please head to the Contributing section of the Lighthouse book.

Contact

The best place for discussion is the Lighthouse Discord server. Alternatively, you may use the sigp/lighthouse gitter.

Encrypt sensitive messages using our PGP key.

Donations

Lighthouse is an open-source project and a public good. Funding public goods is hard and we're grateful for the donations we receive from the community via:

  • Gitcoin Grants.
  • Ethereum address: 0x25c4a76E7d118705e7Ea2e9b7d8C59930d8aCD3b (donation.sigmaprime.eth).