Commit Graph

1986 Commits

Author SHA1 Message Date
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
Paul Hauner
fbf8fad4f1
Add counter-resets to reset_modifications 2019-04-29 10:57:19 +10:00
Paul Hauner
0599d3f1f8
Remove redundant type param fom CachedTreeHash 2019-04-29 07:48:48 +10:00
Paul Hauner
6258abfa9f
Tidy per_slot_processing fn 2019-04-29 07:34:01 +10:00
Paul Hauner
68b36787e2
Move leaf node creation into separate fn 2019-04-28 20:30:48 +10:00
Paul Hauner
58308e3dc5
Modify example execution counts 2019-04-28 19:10:59 +10:00
Paul Hauner
a4559e798d
Add benches, examples for cached hashing.
Ignore flamegraph files
2019-04-28 11:38:32 +10:00
Paul Hauner
4dd1239b24
Add caching to state transition 2019-04-28 11:33:48 +10:00
Paul Hauner
c58723350c
Improve cached hashing performance 2019-04-28 11:33:29 +10:00
Paul Hauner
89d64b007f
Run cargofmt --all 2019-04-27 19:04:26 +10:00