Commit Graph

1999 Commits

Author SHA1 Message Date
Michael Sproul
13ec3d125e
WIP trash changes 2019-05-13 17:32:06 +10:00
Michael Sproul
ac51d7be3b
WIP beacon state changes 2019-05-13 17:31:47 +10:00
Michael Sproul
2751be9a05
state_processing: verify_deposit v0.6.0 2019-05-13 17:28:37 +10:00
Michael Sproul
4f138fa3fe
state_processing: IndexedAttestation rename 2019-05-13 17:28:04 +10:00
Michael Sproul
bc03e14943
validator_client: IndexedAttestation rename 2019-05-13 17:21:17 +10:00
Michael Sproul
92e88b1b75
spec: apply_rewards tweaks 2019-05-13 17:18:42 +10:00
Michael Sproul
fd56c8fa04
state_processing: winning_root v0.6.1 2019-05-13 17:18:21 +10:00
Michael Sproul
ca73fb72da
state_processing: get_attesting_indices 2019-05-13 17:15:30 +10:00
Michael Sproul
240e269f2f
types: more v0.6.1 updates 2019-05-13 17:13:56 +10:00
Michael Sproul
eda8ec8c55
spec: registry updates v0.6.1 2019-05-07 18:27:58 +10:00
Michael Sproul
5394726caf
spec: initiate_validator_exit v0.6.1
Added a new field `exit_cache` to the BeaconState, which caches
the number of validators exiting at each epoch.
2019-05-07 18:27:58 +10:00
Michael Sproul
5c03f7b06c
spec: update chain spec for v0.6.1 2019-05-07 18:27:43 +10:00
Michael Sproul
839ef0119b
spec: justification and finalization v0.6.1 2019-05-07 18:27:36 +10:00
Michael Sproul
ed00ad9d00
spec: get_crosslink_deltas to v0.6.1 2019-05-07 18:27:36 +10:00
Michael Sproul
caff553af9
spec: update reward processing to v0.6.1 + bugfix
Two bugs fixed by this commit:

* Reward proposers rather than attesters in `get_proposer_deltas`
* Prevent double-counting of validator balances towards the total when
  computing validator statuses
2019-05-07 18:27:25 +10:00
Michael Sproul
1ad0024045
spec v0.6.0: update types 2019-05-07 18:27:24 +10:00
Michael Sproul
7dda85e87e
hashing: Keccak -> SHA256 2019-05-07 18:27:24 +10:00
Paul Hauner
00f85a0324
Merge pull request #366 from sigp/gitlab-ci
Implement GitLab CI
2019-05-07 16:11:03 +10:00
Paul Hauner
e13bc5cd19
Merge pull request #346 from sigp/testnet-key-load
Added deterministic keypair generation
2019-05-07 16:10:26 +10:00
Paul Hauner
5a8840b360
Merge pull request #262 from johnsBeharry/205-merkle-root
Build tree and get merkle_root from hashed inputs  (#205)
2019-05-07 16:10:08 +10:00
Luke Anderson
e0efe2d672
Included a command to build the protobuf service files, before doing the cargo fmt check. 2019-05-07 14:24:46 +10:00
Luke Anderson
0bfe578810
Updated Jenkins configuration to use , to be consistent with the GitLab caching mechanism. 2019-05-07 14:00:15 +10:00
Luke Anderson
0d5c3f3643
Fixed variables command in gitlab.yml 2019-05-07 13:46:02 +10:00
Luke Anderson
e72e7d2fd6
Moved the CARGO_HOME enviornment variable, in an attempt to get cargo packages to cache properly. 2019-05-07 13:44:35 +10:00
Luke Anderson
1354942290
Removed old build commands from gitlab config. 2019-05-06 22:11:47 +10:00
Luke Anderson
9f88892fae
Moved all the pre-build stuff to a new public docker image. 2019-05-06 20:49:25 +10:00
Luke Anderson
dc8e879eda
Moved the GitLab format check up in priority. 2019-05-06 19:47:41 +10:00
Luke Anderson
1276a2812e
Included new jobs in the gitlab test stage, to get testing to run in parallel. 2019-05-06 19:45:30 +10:00
Luke Anderson
3b1d8fbab8
Added a line to the GitLab config which installs protobuf before compiling lighthouse. 2019-05-06 19:17:03 +10:00
Luke Anderson
7d7f9c3d1a
Merge branch 'master' into gitlab-ci 2019-05-06 13:12:59 +10:00
Luke Anderson
934cb5af5f
Merge branch 'master' into testnet-key-load 2019-05-06 11:13:16 +10:00
Paul Hauner
75bc45f11d
Merge pull request #363 from sigp/docs-upload
Docs upload
2019-05-06 07:38:46 +10:00
Luke Anderson
2a3db4ec7b
Added a first attempt at a gitlab-ci.yml file. 2019-05-02 15:15:16 +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
c61c4d93c1
Added a quick 'documentation.md' file, to describe where the Lighthouse technical documentation is, and how it can be updated. 2019-05-01 15:13:30 +10:00
Johns Beharry
06362d32d3
chore(hashing/merkle_root): remove semi colon on returns
Signed-off-by: Johns Beharry <johns@peakshift.com>
2019-04-30 08:24:28 +03:00
Johns Beharry
725401d2e1
test(hashing/merkle_root): write test for empty vector and odd leaf count
Signed-off-by: Johns Beharry <johns@peakshift.com>
2019-04-30 08:24:27 +03:00
Johns Beharry
8429f3bff1
chore(hashing): update comments of fn merkle_root
Signed-off-by: Johns Beharry <johns@peakshift.com>
2019-04-30 08:24:27 +03:00
Johns Beharry
1c161e751f
chore(*): remove previously cached file from restructure
Signed-off-by: Johns Beharry <johns@peakshift.com>
2019-04-30 08:24:27 +03:00
Johns Beharry
9fbacbf967
chore(merkle_root): move function into lib.rs
Signed-off-by: Johns Beharry <johns@peakshift.com>
2019-04-30 08:24:27 +03:00
Johns Beharry
5f9e93d338
chore(merkle_root): split function to it's own file
Signed-off-by: Johns Beharry <johns@peakshift.com>
2019-04-30 08:24:26 +03:00
Johns Beharry
80ac60cc0e
feat(merkle_root): calculate merkle root from leaves
Signed-off-by: Johns Beharry <johns@peakshift.com>
2019-04-30 08:24:26 +03:00
Johns Beharry
af87fbf203
feat(merkle_root): hash vector of leafs to get merkle_root
Signed-off-by: Johns Beharry <johns@peakshift.com>
2019-04-30 08:24:26 +03:00
Johns Beharry
39dc8437e8
feat(merkle_root): commit changes
Signed-off-by: Johns Beharry <johns@peakshift.com>
2019-04-30 08:24:25 +03:00
Johns Beharry
fa2bae4cc1
fix(hashing): reverse loop #146
Signed-off-by: Johns Beharry <johns@peakshift.com>
2019-04-30 08:24:25 +03:00
Johns Beharry
998e2ed7eb
feat(hashing): fill o with 0s placeholders #146
Signed-off-by: Johns Beharry <johns@peakshift.com>
2019-04-30 08:24:25 +03:00
Johns Beharry
3411f54c2e
feat(hashing): write test for merkle_root #146
Signed-off-by: Johns Beharry <johns@peakshift.com>
2019-04-30 08:24:24 +03:00
Age Manning
f68dff0e52
Merge pull request #360 from sigp/simple-cached-tree-hash
Implement tree hash caching
2019-04-30 10:01:18 +10:00
Paul Hauner
84d72cfed6
Tidy and add docs for cached tree hash 2019-04-29 17:46:01 +10:00
Paul Hauner
f622aa0b65
Add doc comments to vec impl 2019-04-29 15:45:02 +10:00