Commit Graph

1995 Commits

Author SHA1 Message Date
Paul Hauner
0ac278f44d
Update validator_client for BeaconStateTypes 2019-05-09 12:19:52 +10:00
Paul Hauner
49c92ef167
Remove attester, block_producer & test_harness 2019-05-09 11:48:14 +10:00
Paul Hauner
4c0c93f0c9
Update beacon_node to work w/ BeaconStateTypes 2019-05-09 09:40:32 +10:00
Paul Hauner
42b7aa89d4
Update network and rpc to BeaconStateTypes 2019-05-08 19:38:18 +10:00
Paul Hauner
51dc97ee42
Allow fork_choice and beacon_chain to compile 2019-05-08 18:18:17 +10:00
Paul Hauner
9fd8af8428
Update operations_pool for new BeaconStateTypes 2019-05-08 17:07:26 +10:00
Paul Hauner
ae09a00090
Update db crate for new BeaconStateTypes 2019-05-08 17:06:39 +10:00
Paul Hauner
6ea538938b
Fix state_processing under new BeaconStateTypes 2019-05-08 16:35:22 +10:00
Paul Hauner
81c1dcceec
Add spec fn to BeaconStateTypes 2019-05-08 16:29:27 +10:00
Paul Hauner
8cefd20e9d
Add progress on state_processing fixed-len update 2019-05-08 15:36:02 +10:00
Paul Hauner
7a67d34293
Add FewValidatorsBeaconState for testing 2019-05-08 13:26:19 +10:00
Paul Hauner
5ba069c774
Implement new BeaconStateTypes trait in types 2019-05-08 13:08:37 +10:00
Paul Hauner
009d05cafd
Implement basic FixedLenVec 2019-05-07 18:42:41 +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
Paul Hauner
f20314bd87
Fix clippy lints, impl treehash for slices 2019-04-29 15:32:41 +10:00
Paul Hauner
240d1e197a
Ignore clippy range_plus_one lints 2019-04-29 14:24:57 +10:00
Paul Hauner
a90bbbfd82
Address various clippy lints, improve comments 2019-04-29 14:04:52 +10:00
Paul Hauner
52695c29e8
Improve cached hash testing in types 2019-04-29 10:57:39 +10:00