Commit Graph

227 Commits

Author SHA1 Message Date
Paul Hauner
117a207d49
Add pre-written validation code
This adds block and attestation validation code that was written
previously. There were many non-validation specific changes made whilst
building these functions (e.g., db, hashing, etc) -- these changes have
already been merged into master and this branch has been created just to
make it easy to review this code.
2018-10-02 17:35:03 +10:00
Paul Hauner
0fbe4179b3
Heavily restructure repo
Separate most modules into crates
2018-10-02 16:41:10 +10:00
Paul Hauner
8f5285875b
Refactor validation tests into integration tests 2018-10-01 16:37:34 +09:30
Paul Hauner
b426c9e724
Remove "benches" feature
Now benches just live with the rest of the code in the default feature.
2018-09-30 16:09:07 +09:30
Paul Hauner
e0e8aa98f4
Introduce "benches" feature
So that benchmarks don't run each time tests run
2018-09-29 13:01:33 +09:30
Paul Hauner
b92d88d42b
Add (untested) parallelization for att validation 2018-09-28 15:38:51 +09:30
Paul Hauner
67b11a394e
Add new bls-aggregates crates 2018-09-23 20:19:30 +10:00
Paul Hauner
8b4970ed51
Implement SSZ decode for H256 2018-09-22 12:11:10 +10:00
Paul Hauner
fd1eea561e Move boolean_bitfield into own crate 2018-08-23 15:20:10 +10:00
Paul Hauner
9689142883 Add "Client" concept and RocksDB 2018-08-16 14:17:28 +10:00
Paul Hauner
3372583c18 Rename "src/" to "lighthouse/" 2018-08-15 13:41:16 +10:00
Paul Hauner
486865e803 Add new shuffling function 2018-08-14 16:23:38 +10:00
Paul Hauner
c36e00a1f6 Clear out old v2.0 objects 2018-08-10 11:22:15 +10:00
Paul Hauner
f276151c58 Tidy core deps 2018-08-07 10:15:11 +10:00
Paul Hauner
0064efc402 Restructure heavily 2018-08-07 10:08:39 +10:00
Paul Hauner
819527038e Restructure network and config 2018-08-07 09:13:24 +10:00
Paul Hauner
ba38cef25e Introduce NetworkConfig and NetworkState 2018-08-01 10:27:05 +10:00
Paul Hauner
68af2011b5 Update to closer match @tomaka demo 2018-07-29 10:11:37 +10:00
Paul Hauner
9dcf02e499 Add WIP libp2p floodsub 2018-07-28 10:02:45 +10:00
Paul Hauner
594c34388e Update version in cargo 2018-07-20 17:50:34 +10:00
Paul Hauner
e353102e32 Implement slog 2018-07-20 17:47:10 +10:00
Paul Hauner
9779aa1f81 Update package name 2018-07-20 17:44:54 +10:00
Paul Hauner
0448fd5ace Downgrade rand to suit bls repo 2018-07-12 15:37:36 +10:00
Paul Hauner
d1ce859f65 Removed parity submod, use parity-common for RLP 2018-07-12 15:10:02 +10:00
Paul Hauner
be441a9df9 Add get_crosslink_aggvote_msg fn 2018-07-11 14:16:31 +10:00
Paul Hauner
64a9455f87 Add blake2s hash type 2018-07-09 12:00:58 +10:00
Paul Hauner
7db81b167f Initial commit 2018-07-06 17:54:07 +10:00