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
Paul Hauner
1f9b971495
Merge pull request #370 from sigp/gitlab-docs
...
GitLab autobuild lighthouse-docs & Improve Caching
2019-05-09 13:42:34 +10:00
Luke Anderson
ac3616251a
Updated Travis config, to not test the --release builds, since they're done on GitLab, and to keep the registry in the cache for now.
2019-05-08 12:32:57 +10:00
Luke Anderson
007b56bf27
Removed 'target' from caches, as recommended by https://levans.fr/rust_travis_cache.html . Hopefully this shows significant build speed improvements.
2019-05-08 12:24:26 +10:00
Luke Anderson
47f8cfdb25
Removed 'gitlab-docs' from the docs build stage, since that was just used for testing.
2019-05-08 11:28:35 +10:00
Luke Anderson
ce8a31f0ee
Igoring state_transition_tests_small and test_read_yaml because they are failing to download the correct files.
2019-05-08 01:34:15 +10:00
Luke Anderson
a6a7f5de92
Apparently the 'no-progress' flag is not in the installed aws-cli version, so it must be removed from the aws s3 sync command.
2019-05-08 01:20:55 +10:00
Luke Anderson
699e95cc67
Added 'delete' and 'no-progress' flags to S3 docs sync.
2019-05-08 00:55:02 +10:00
Luke Anderson
aa1342fcbb
Renamed doc stage and excluded the '.lock' file which was causing an S3 sync return error code, failing the build.
2019-05-08 00:52:22 +10:00
Luke Anderson
190bf682db
Updated the gitlab config to generate docs and update them on S3. Will remove the 'gitlab-docs' line in a later commit.
2019-05-08 00:03:36 +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