From fd0de57aa729646f6eff674ae78786efc91702e6 Mon Sep 17 00:00:00 2001 From: Age Date: Thu, 4 Oct 2018 14:51:27 +1000 Subject: [PATCH 1/3] Remove dead code --- beacon_chain/types/src/lib.rs | 8 -------- beacon_chain/types/src/mod.rs | 20 -------------------- 2 files changed, 28 deletions(-) delete mode 100644 beacon_chain/types/src/mod.rs diff --git a/beacon_chain/types/src/lib.rs b/beacon_chain/types/src/lib.rs index 683560ab0..4b2d91f9d 100644 --- a/beacon_chain/types/src/lib.rs +++ b/beacon_chain/types/src/lib.rs @@ -39,11 +39,3 @@ pub type AttesterMap = HashMap<(u64, u16), Vec>; /// Maps a slot to a block proposer. pub type ProposerMap = HashMap; - -#[cfg(test)] -mod tests { - #[test] - fn it_works() { - assert_eq!(2 + 2, 4); - } -} diff --git a/beacon_chain/types/src/mod.rs b/beacon_chain/types/src/mod.rs deleted file mode 100644 index b49ab52cf..000000000 --- a/beacon_chain/types/src/mod.rs +++ /dev/null @@ -1,20 +0,0 @@ -extern crate rlp; -extern crate ethereum_types; -extern crate blake2_rfc as blake2; -extern crate bytes; -extern crate ssz; - -mod common; - -pub mod active_state; -pub mod attestation_record; -pub mod crystallized_state; -pub mod chain_config; -pub mod block; -pub mod crosslink_record; -pub mod shard_and_committee; -pub mod validator_record; - -use super::bls; -use super::db; -use super::utils; From 2770cb4490d03c2585bff554f67f34ead156694c Mon Sep 17 00:00:00 2001 From: John Omar Date: Fri, 5 Oct 2018 17:19:16 -0700 Subject: [PATCH 2/3] create onboarding.md Added some reading material for people new to Rust and/or Ethereum. My goal is to expand the onboarding docs to include specific guides on getting started on Lighthouse. --- docs/onboarding.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/onboarding.md diff --git a/docs/onboarding.md b/docs/onboarding.md new file mode 100644 index 000000000..2600770a7 --- /dev/null +++ b/docs/onboarding.md @@ -0,0 +1,33 @@ +# Learn how to contribute to ETH 2.0! + +Lighthouse is an Ethereum 2.0 client built in Rust. + +If you are interested in contributing to the Ethereum ecosystem, and you want to learn Rust, Lighthouse is a great project to work on. + +Initially this wiki will contain reading material to help get you started in Rust and Ethereum. Eventually it will have guides specific to Lighthouse. + +## Learn Rust + +* [The Rust Programming Language](https://doc.rust-lang.org/book/2018-edition/index.html) + +## Learn Ethereum + +#### General Ethereum Resources +* [What is Ethereum](http://ethdocs.org/en/latest/introduction/what-is-ethereum.html) +* [Ethereum Introduction](https://github.com/ethereum/wiki/wiki/Ethereum-introduction) + +#### Ethereum 2.0 +* [Ethereum 2.0 Spec - Casper and Sharding](https://github.com/ethereum/eth2.0-specs/blob/master/specs/beacon-chain.md) + +#### Sharding + +* [How to Scale Ethereum: Sharding Explained](https://medium.com/prysmatic-labs/how-to-scale-ethereum-sharding-explained-ba2e283b7fce) + +#### Casper + +* [Proof of Stake - Casper FFG](https://www.youtube.com/watch?v=uQ3IqLDf-oo) +* [Beacon Casper Chain](https://www.youtube.com/watch?v=GAywmwGToUI) + +### TODO +- add reading material as we discover. +- start developing guides specific to lighthouse. From a49143f1f24a1fac97c7a147828aeed85c63cc7c Mon Sep 17 00:00:00 2001 From: John Omar Date: Fri, 5 Oct 2018 17:20:53 -0700 Subject: [PATCH 3/3] Typo on word usage --- docs/onboarding.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/onboarding.md b/docs/onboarding.md index 2600770a7..47fb140f1 100644 --- a/docs/onboarding.md +++ b/docs/onboarding.md @@ -4,7 +4,7 @@ Lighthouse is an Ethereum 2.0 client built in Rust. If you are interested in contributing to the Ethereum ecosystem, and you want to learn Rust, Lighthouse is a great project to work on. -Initially this wiki will contain reading material to help get you started in Rust and Ethereum. Eventually it will have guides specific to Lighthouse. +Initially this doc will contain reading material to help get you started in Rust and Ethereum. Eventually it will have guides specific to Lighthouse. ## Learn Rust