Commit Graph

72 Commits

Author SHA1 Message Date
Michael Sproul
a236003a7b Update to frozen spec ❄️ (v0.8.1) (#444)
* types: first updates for v0.8

* state_processing: epoch processing v0.8.0

* state_processing: block processing v0.8.0

* tree_hash_derive: support generics in SignedRoot

* types v0.8: update to use ssz_types

* state_processing v0.8: use ssz_types

* ssz_types: add bitwise methods and from_elem

* types: fix v0.8 FIXMEs

* ssz_types: add bitfield shift_up

* ssz_types: iterators and DerefMut for VariableList

* types,state_processing: use VariableList

* ssz_types: fix BitVector Decode impl

Fixed a typo in the implementation of ssz::Decode for BitVector, which caused it
to be considered variable length!

* types: fix test modules for v0.8 update

* types: remove slow type-level arithmetic

* state_processing: fix tests for v0.8

* op_pool: update for v0.8

* ssz_types: Bitfield difference length-independent

Allow computing the difference of two bitfields of different lengths.

* Implement compact committee support

* epoch_processing: committee & active index roots

* state_processing: genesis state builder v0.8

* state_processing: implement v0.8.1

* Further improve tree_hash

* Strip examples, tests from cached_tree_hash

* Update TreeHash, un-impl CachedTreeHash

* Update bitfield TreeHash, un-impl CachedTreeHash

* Update FixedLenVec TreeHash, unimpl CachedTreeHash

* Update update tree_hash_derive for new TreeHash

* Fix TreeHash, un-impl CachedTreeHash for ssz_types

* Remove fixed_len_vec, ssz benches

SSZ benches relied upon fixed_len_vec -- it is easier to just delete
them and rebuild them later (when necessary)

* Remove boolean_bitfield crate

* Fix fake_crypto BLS compile errors

* Update ef_tests for new v.8 type params

* Update ef_tests submodule to v0.8.1 tag

* Make fixes to support parsing ssz ef_tests

* `compact_committee...` to `compact_committees...`

* Derive more traits for `CompactCommittee`

* Flip bitfield byte-endianness

* Fix tree_hash for bitfields

* Modify CLI output for ef_tests

* Bump ssz crate version

* Update ssz_types doc comment

* Del cached tree hash tests from ssz_static tests

* Tidy SSZ dependencies

* Rename ssz_types crate to eth2_ssz_types

* validator_client: update for v0.8

* ssz_types: update union/difference for bit order swap

* beacon_node: update for v0.8, EthSpec

* types: disable cached tree hash, update min spec

* state_processing: fix slot bug in committee update

* tests: temporarily disable fork choice harness test

See #447

* committee cache: prevent out-of-bounds access

In the case where we tried to access the committee of a shard that didn't have a committee in the
current epoch, we were accessing elements beyond the end of the shuffling vector and panicking! This
commit adds a check to make the failure safe and explicit.

* fix bug in get_indexed_attestation and simplify

There was a bug in our implementation of get_indexed_attestation whereby
incorrect "committee indices" were used to index into the custody bitfield. The
bug was only observable in the case where some bits of the custody bitfield were
set to 1. The implementation has been simplified to remove the bug, and a test
added.

* state_proc: workaround for compact committees bug

https://github.com/ethereum/eth2.0-specs/issues/1315

* v0.8: updates to make the EF tests pass

* Remove redundant max operation checks.
* Always supply both messages when checking attestation signatures -- allowing
  verification of an attestation with no signatures.
* Swap the order of the fork and domain constant in `get_domain`, to match
  the spec.

* rustfmt

* ef_tests: add new epoch processing tests

* Integrate v0.8 into master (compiles)

* Remove unused crates, fix clippy lints

* Replace v0.6.3 tags w/ v0.8.1

* Remove old comment

* Ensure lmd ghost tests only run in release

* Update readme
2019-07-30 12:44:51 +10:00
John Adler
fec7168512
Fix lots of typos. 2019-07-26 15:26:06 -04:00
Paul Hauner
15ec3fe390
Merge branch 'master' into update-readme 2019-07-04 15:29:26 +10:00
Paul Hauner
0ad51d466c
Add datadir flag to readme 2019-07-04 15:26:04 +10:00
Paul Hauner
74e4231357
Apply suggestions from code review
Co-Authored-By: Age Manning <Age@AgeManning.com>
2019-07-04 15:05:57 +10:00
Paul Hauner
d87c84b5c5
Update readme 2019-06-25 14:02:19 +10:00
James Zaki
7ff26a48dc
Edit README to test with release flag 2019-06-24 15:22:02 +10:00
Luke Anderson
06a537a165
Small readme tidy.
- Moved the git-lfs dep. up into the list of build dependencies
 - Clarified initialisation of submodules, and explicitly mentioned cloning the repo.
2019-06-19 16:12:33 +10:00
James Zaki
86b37ff9ad
Added Large File Storage step 2019-06-19 12:56:46 +10:00
Age Manning
eb83fd48a8
Update readme with donation ens 2019-05-27 10:24:44 +10:00
Mehdi Zerouali
517952fc0f
Update instructions to install rustup in README 2019-05-24 10:07:30 +10:00
Paul Hauner
fd78004ef9
Update README badges
- Changes the travis badge to a gitlab badge.
- Adds a docs badge.
- Does not modify the gitter badge.
- Restructures the badge markdown for readability.
2019-05-10 11:49:28 +10:00
Luke Anderson
13b23adb0d
Added a link to the lighthouse technical documentation in the main readme file. 2019-05-01 15:14:51 +10:00
Luke Anderson
8442a8ff20
Listed Usage
cmake [options] <path-to-source>
  cmake [options] <path-to-existing-build>
  cmake [options] -S <path-to-source> -B <path-to-build>

Specify a source directory to (re-)generate a build system for it in the
current working directory.  Specify an existing build directory to
re-generate its build system.

Run 'cmake --help' for more information. as a requirement for building lighthouse, as it is a dependency that must be installed on a fresh arch system.
2019-04-03 13:40:06 +11:00
Paul Hauner
fe7c475207
Merge pull request #265 from sigp/more-readmes
Readme updates
2019-03-01 16:36:34 +13:00
Luke Anderson
3753782c40
Just some small gramatical improvements on READMEs 2019-03-01 13:10:50 +11:00
Micah Dameron
056a263f02 modified: README.md 2019-02-28 18:05:11 -07:00
Paul Hauner
8842adb53b
Fix typos in READMEs 2019-03-01 00:25:11 +11:00
Paul Hauner
6fac35a7c5
Update main readme, add eth2/ readme 2019-03-01 00:18:53 +11:00
Paul Hauner
35c914baa6
Revert "Merge pull request #200 from sigp/new-structure"
This reverts commit d7a3545be1, reversing
changes made to 1da06c156c.
2019-02-14 12:09:18 +11:00
Paul Hauner
0c3b74090d
Fix typos 2019-02-13 16:08:31 +11:00
Paul Hauner
c1ec46ef85
First pass of docs update 2019-02-13 16:04:10 +11:00
Paul Hauner
d676be8a43
Update README.md 2019-02-07 14:19:41 +11:00
Feng94
4a9faa3168
Add windows notes to readme and fix some grammar errors 2019-01-27 14:57:48 +11:00
Paul Hauner
80e37f8d49
Merge branch 'master' into grpc-rs 2019-01-22 12:58:17 +11:00
Paul Hauner
fc5bcb88fb Update install deps in README 2019-01-21 18:28:12 +11:00
Chris Natoli
a4d202558f
Fix bad syntax 2019-01-07 17:37:49 +11:00
Chris Natoli
973a3c1469
Update readme with links to new docs; 2019-01-07 17:13:34 +11:00
Chris Natoli
94a0725032
Add 'lighthouse.md'; Update structure; Move info into relevant files. 2019-01-07 16:57:09 +11:00
Chris Natoli
450ac2b7f9
Minor structure change; Nitpicks; 2019-01-07 13:56:07 +11:00
Chris Natoli
0343cd1cbf
Rework goals; Add categories and more content 2019-01-07 11:53:00 +11:00
Chris Natoli
55f9779021
Rewrite goals 2019-01-07 11:52:55 +11:00
Paul Hauner
1ffdcd363d
Update README.md 2018-12-19 12:54:31 +11:00
Paul Hauner
b6d820b427
Merge pull request #61 from aj07/patch-1
updated readme

Closes #47
2018-12-03 16:31:50 +11:00
Luke Anderson
763badc3dc
Update README.md
Done

Co-Authored-By: aj07 <aj07@users.noreply.github.com>
2018-11-25 16:31:38 +05:30
Luke Anderson
546b341cdf
Update README.md
Done

Co-Authored-By: aj07 <aj07@users.noreply.github.com>
2018-11-25 16:31:22 +05:30
Luke Anderson
3d0a56a02b
Update README.md
Done

Co-Authored-By: aj07 <aj07@users.noreply.github.com>
2018-11-25 16:31:07 +05:30
Luke Anderson
e5c793a01a
Update README.md
Co-Authored-By: aj07 <aj07@users.noreply.github.com>
2018-11-25 16:30:48 +05:30
Luke Anderson
b48a610944
Update README.md
Co-Authored-By: aj07 <aj07@users.noreply.github.com>
2018-11-09 10:32:25 +05:30
Ankit Raj
95e89eebfd
update
Updated Readme
2018-11-03 18:49:27 +05:30
Paul Hauner
c7b6d12e5a
Switch "Ethereum 2.0" to "Ethereum Serentity"
Sorry Shasper
2018-10-31 12:37:23 +01:00
Ankit Raj
a8954568b3
updated readme
included all the details
2018-10-24 14:44:12 +05:30
Luke Anderson
9cefeadef1 File formatting change, fixing long lines and adding minor adjustments. 2018-10-10 12:42:11 +11:00
Luke Anderson
d55448946f Removed the network-libp2p directory from the directory structure part of README. 2018-10-09 18:21:09 +11:00
Luke Anderson
41e7199cbc Fixed backslashes to forward slashes and clarified PoW chain is present-Ethereum 2018-10-09 18:19:36 +11:00
Luke Anderson
8abea86702 Made a series of updates, typo fixes, and rewordings to the README. 2018-10-09 18:16:19 +11:00
Paul Hauner
175c19d8bf
Update readme 2018-10-04 10:54:59 +10:00
Paul Hauner
1d0d6a1b0c
Implement MZ's comments 2018-10-04 10:49:28 +10:00
Paul Hauner
277503a559
Fix missed merge conflict (Doh!) 2018-10-04 10:18:21 +10:00
Paul Hauner
d9ea28263e
Merge branch 'update-readme' of github.com:sigp/lighthouse into update-readme 2018-10-04 10:13:34 +10:00