Paul Hauner
5039001eba
Rename file to resolve clippy lint
...
Lint was "module inception"
2019-02-12 17:20:58 +11:00
Paul Hauner
606d927a84
Update validator_client for spec v0.2.0
2019-02-12 17:00:51 +11:00
Paul Hauner
fef22c31be
Update block_producer to spec v0.2.0
2019-02-12 17:00:10 +11:00
Paul Hauner
9b14742e36
Update beacon_node bin to spec v0.2.0
2019-02-12 16:58:31 +11:00
Paul Hauner
12076bce76
Update test_harness to spec v0.2.0
2019-02-12 16:57:47 +11:00
Paul Hauner
5fefc79521
Update BeaconChain
for spec v0.2.0
2019-02-12 13:00:52 +11:00
Paul Hauner
36f441c968
Replace genesis
crate with on-type defs
...
The methods in the `gensis` crate have been moved to `genesis` methods
on `BeaconState` and `BeaconBlock`.
2019-02-12 13:00:35 +11:00
Paul Hauner
5e37e8a33a
Update validator_client
for spec v0.2.0
2019-02-12 12:57:17 +11:00
Paul Hauner
cb97870c15
Add genesis()
function to BeaconBlock
2019-02-12 11:57:34 +11:00
Paul Hauner
f27308e377
Tidy old comments
2019-02-12 11:57:20 +11:00
Paul Hauner
3b75e93122
Add genesis()
to BeaconState
2019-02-12 11:54:02 +11:00
Age Manning
405b3ff6c1
Add first implementation of optimised LMD ghost.
...
- Implements the optimised lmd-ghost fork choice rule.
- Removes Attestations struct.
- Removes latest_attestation_targets from beacon_chain.
2019-02-12 11:49:39 +11:00
Paul Hauner
f3e556bca3
Remove validator_induction crate
2019-02-12 09:02:26 +11:00
Paul Hauner
ff2025ec5c
Update epoch processing to v0.2.0
2019-02-12 08:58:20 +11:00
Paul Hauner
c1f8c85ce9
Add un-finished, uncompiling state_processing
2019-02-11 17:25:23 +11:00
Paul Hauner
03e84a63ec
Tidy BeaconState
2019-02-11 17:24:56 +11:00
Paul Hauner
75a9e0f3de
Add verify_signature()
to Attestation
2019-02-11 17:24:32 +11:00
Paul Hauner
25ae0f64c2
Tidy, fix & extend BeaconState
impls.
2019-02-11 16:32:55 +11:00
Paul Hauner
d7f8c60f93
Fix un-annotated test in types crate
2019-02-11 16:31:33 +11:00
Age Manning
4723707097
Partially implement optimised lmd ghost.
...
- Creates fork-choice trait.
- Corrects comment spelling in beacon block.
- Implements helper functions of optimised lmd ghost.
2019-02-11 15:14:56 +11:00
Paul Hauner
a13dd0d871
Update types
defs, move processing out.
...
- Update `types` to v0.2.0 spec (not all functions upgraded too).
- Move slot/block/epoch processing out to a separate crate (not included
yet, it doesn't compile)
2019-02-11 14:02:59 +11:00
Paul Hauner
72363fd56d
Merge pull request #176 from sigp/jenkins-setup
...
Jenkins setup
2019-02-11 07:56:35 +11:00
Luke Anderson
f5dae6c31a
Updated permissions on /cargocache in Dockerfile, again.
2019-02-07 23:22:39 +11:00
Luke Anderson
e673ee8ce6
Updated permissions on /cargocache in Dockerfile.
2019-02-07 23:19:41 +11:00
Luke Anderson
6a68b10e02
Added the /cargocache file to Dockerfile to fix permissions.
2019-02-07 22:55:26 +11:00
Luke Anderson
a88e6ddbf7
Added a cargo cache to the dockerfile, so that everything isn't re-downloaded every build.
2019-02-07 22:49:51 +11:00
Luke Anderson
b6fcb8da94
Added gRPC installation to the Dockerfile, as it is needed to compile.
2019-02-07 18:31:28 +11:00
Luke Anderson
c6d3636d0d
Included 'cmake' in Dockerfile, as it is a dependency for compiling protoc-grpcio
2019-02-07 17:45:47 +11:00
Luke Anderson
9a0df6a9f5
Added a test stage to the jenkins build.
2019-02-07 17:39:48 +11:00
Luke Anderson
2e21956de3
Added Dockerfile and Jenkinsfile.
2019-02-07 17:39:47 +11:00
Paul Hauner
2c277a5ad9
Merge pull request #179 from sigp/merge-spec
...
Merge `spec` into `types` crate.
2019-02-07 17:38:17 +11:00
Age Manning
a0eb359738
Merge pull request #187 from sigp/slot-newtype
...
[WIP] Add `Slot` and `Epoch` newtypes
2019-02-07 14:24:16 +11:00
Paul Hauner
d676be8a43
Update README.md
2019-02-07 14:19:41 +11:00
Paul Hauner
ba7137697c
Add impl_common
to slot_epoch.rs
2019-02-07 13:53:30 +11:00
Paul Hauner
7583599e65
Add tests for Slot/Epoch types
2019-02-07 13:44:48 +11:00
Paul Hauner
85450ec254
Fix all compile errors from new Slot/Epoch types
2019-02-07 11:22:48 +11:00
Paul Hauner
9b1d8cd3c1
Update BeaconChain to use Slot newtype
2019-02-07 10:03:55 +11:00
Paul Hauner
b865768d3b
Update validator_inductor to use Slot newtype
2019-02-07 09:54:45 +11:00
Paul Hauner
e7e8c20fff
Update BeaconBlockStore to use Slot newtype
2019-02-07 09:54:26 +11:00
Paul Hauner
a98c221447
Add new
fn to Slot and Epoch
2019-02-07 09:53:53 +11:00
Paul Hauner
bd71304d73
Convert beacon_state
to Slot/Epoch newtypes
2019-02-06 13:17:10 +11:00
Paul Hauner
2aa7d80a5f
Update types
to use Slot
newtype
...
All dependant functions haven't yet been updated.
2019-02-05 19:27:12 +11:00
Paul Hauner
dbe9112848
Add first impl of Slot and Epoch newtypes
...
Not tested yet.
2019-02-05 19:15:26 +11:00
Age Manning
0972c67d19
Pull basic LMD Ghost into fork choice crate.
...
- Moves the basic implementation into the fork choice crate.
- Builds the option of fork choices into beacon_struct.
2019-02-05 17:15:15 +11:00
Age Manning
af35bccd7c
Merge pull request #180 from sigp/add-chain-benchmarks
...
Add chain benchmarks
2019-02-05 16:57:50 +11:00
Paul Hauner
36ee4aa81f
Fix file naming inconsistencies.
...
File names should be the same as the struct that they contain.
2019-02-05 16:53:44 +11:00
Paul Hauner
6c6ee4320d
Fix block_producer
naming to match attester
2019-02-05 16:47:59 +11:00
Paul Hauner
49dcb38c31
Fix naming consistency with attester
crate.
...
Adjusted naming of files to ensure they match the name of the struct.
Also change the name of some structs so they don't look like tests.
2019-02-05 16:41:18 +11:00
Paul Hauner
af50c28e0f
Improve naming consistency in test_harness
...
With respect to filenames. Especially removing Test.. prefixes
2019-02-05 16:22:07 +11:00
Age Manning
8109fad7bf
Create the fork-choice crate.
...
- Adds the naive fork choice (longest chain) rule.
- Adds basic documentation for the crate.
2019-02-05 15:55:29 +11:00