mjkeating
|
c688e37693
|
merged master
|
2019-02-25 09:46:49 -08:00 |
|
mjkeating
|
d7184345b8
|
renamed the macro Hashtree to TreeHash
|
2019-02-25 09:17:17 -08:00 |
|
mjkeating
|
2ce316235f
|
merged master and resolved beacon_state conflict
|
2019-02-24 16:54:26 -08:00 |
|
Kirk Baird
|
4c3b0a6575
|
Formatting
|
2019-02-25 10:38:04 +11:00 |
|
Kirk Baird
|
f72b45147a
|
Merge conflicts from master
|
2019-02-25 10:36:54 +11:00 |
|
Age Manning
|
27e7bbd72f
|
Fix typo in BeaconState
Co-Authored-By: paulhauner <paul@paulhauner.com>
|
2019-02-25 08:35:21 +13:00 |
|
Paul Hauner
|
5ca7c9929a
|
Merge branch 'master' into beacon-state-caching
|
2019-02-24 19:14:05 +13:00 |
|
Paul Hauner
|
ab10cbbdb5
|
Fix clippy lints, small typos
|
2019-02-24 18:52:12 +13:00 |
|
Paul Hauner
|
c49f425fe8
|
Tidy, add comments to BeaconState
|
2019-02-24 18:25:17 +13:00 |
|
Paul Hauner
|
779b6266a5
|
Ensure shuffling is cached between slot calcs
Previously it was being re-built for every slot, now it is being
generated once-per-epoch.
|
2019-02-23 18:45:32 +13:00 |
|
Kirk Baird
|
a5cbda0b60
|
Merge branch 'master' into signature-scheme-update
|
2019-02-23 13:34:57 +11:00 |
|
mjkeating
|
f95a0134e6
|
now using the Hashtree macro for most struct types
|
2019-02-22 13:07:04 -08:00 |
|
Paul Hauner
|
7a28893bab
|
Fix bug in Epoch.slot_iter()
It wasn't running the whole range, plus it could get into a loop when
used near the u64::max_value
|
2019-02-22 18:48:35 +13:00 |
|
Paul Hauner
|
89ab0f683e
|
Change "few_validators" spec to be 8 shards.
A bug arises when the number of shards is less than the slots in an
epoch.
|
2019-02-22 18:19:47 +13:00 |
|
Paul Hauner
|
a5de6a1915
|
Add caching to BeaconState.
Removes CachingBeaconState
|
2019-02-22 18:14:16 +13:00 |
|
Paul Hauner
|
cdc03f1749
|
Remove FastBeaconState
|
2019-02-22 17:55:36 +13:00 |
|
Paul Hauner
|
c040ed7b11
|
Merge pull request #243 from sigp/fork-choice-tests
Fork choice tests
|
2019-02-22 13:34:58 +13:00 |
|
Paul Hauner
|
b211e39331
|
Add progress on FastBeaconState
|
2019-02-21 19:00:55 +13:00 |
|
Kirk Baird
|
673c8ea388
|
Merge current master
|
2019-02-20 13:59:11 +11:00 |
|
Age Manning
|
2fbdc53147
|
Add asserts to ensure block heights are not too large.
|
2019-02-20 12:36:54 +11:00 |
|
Paul Hauner
|
586bb09e02
|
Set ssz_derive to import from ssz::
Previously it was expecting `Encodable`, `Decodable`, etc to be in
scope, now it uses `ssz::Encodable`.
|
2019-02-20 11:06:03 +13:00 |
|
Paul Hauner
|
a78256c778
|
Merge branch 'master' into ssz-derive
|
2019-02-19 20:46:47 +13:00 |
|
Paul Hauner
|
a1118e13ae
|
Merge pull request #238 from mjkeating/tree_hash_add_padding2
Updated TreeHash to spec - added padding
|
2019-02-19 16:54:36 +11:00 |
|
Paul Hauner
|
fc0bf578f8
|
Use SSZ enc/dec proc macros on most types
Some types were skipped as they have non-standard serialization.
|
2019-02-19 14:32:00 +11:00 |
|
Paul Hauner
|
fdfaf18dbd
|
Add ssz_derive crate.
It appears to be fully functional at this stage.
|
2019-02-19 13:54:39 +11:00 |
|
mjkeating
|
0148abaa0b
|
Merge branch 'master' into tree_hash_add_padding2
|
2019-02-18 09:04:53 -08:00 |
|
thojest
|
f88155625c
|
added comment to indicate highest spec version of implemented functions; added realistic test scenario for is_surround_vote (lighthouse-150)
|
2019-02-18 12:12:01 +01:00 |
|
thojest
|
ee13c6ee40
|
Merge branch 'master' into lighthouse-150
|
2019-02-18 11:49:37 +01:00 |
|
Kirk Baird
|
21d75f1853
|
Use verify_proof_of_possession
|
2019-02-18 12:06:47 +11:00 |
|
Kirk Baird
|
2c8aa17e0d
|
Merge branch 'master' into signature-scheme-update
|
2019-02-18 10:54:26 +11:00 |
|
Kirk Baird
|
9c4a1f1d1f
|
Update to signature-scheme 0.5.2
|
2019-02-18 10:50:40 +11:00 |
|
mjkeating
|
6fa141181b
|
Updated TreeHash to spec - added padding
|
2019-02-17 09:30:18 -08:00 |
|
Paul Hauner
|
c4bedc03a8
|
Fix file org. inconsistency in types
|
2019-02-17 20:21:13 +11:00 |
|
Paul Hauner
|
b2173c1a16
|
Merge branch 'master' into test-harness-fix
|
2019-02-16 15:10:48 +11:00 |
|
Paul Hauner
|
f83d02b394
|
Update previous epoch function
|
2019-02-16 15:09:43 +11:00 |
|
Paul Hauner
|
b0513b1ec1
|
Add and update logs
|
2019-02-16 15:08:33 +11:00 |
|
Paul Hauner
|
5e6acb8f39
|
Break BeaconState tests into separate file
|
2019-02-16 11:19:47 +11:00 |
|
thojest
|
203f3b37f2
|
adapted import due to renaming of crate slot_epoch_height -> slot_epoch (lighthouse-150)
|
2019-02-15 12:25:59 +01:00 |
|
thojest
|
94cb6a2a43
|
Merge branch 'master' into lighthouse-150
|
2019-02-15 12:16:39 +01:00 |
|
Paul Hauner
|
7c920cfb96
|
Add incomplete progress on fixing test harness
|
2019-02-15 19:23:22 +11:00 |
|
Paul Hauner
|
2affd305d9
|
Merge branch 'master' into implement-shuffle
|
2019-02-15 18:21:54 +11:00 |
|
Paul Hauner
|
b05f12cf6f
|
Merge branch 'tidy-beacon-state' into test-harness-fix
|
2019-02-15 17:10:11 +11:00 |
|
Paul Hauner
|
1c57eb47f9
|
Move BeaconStateTestBuilder into test mod
|
2019-02-15 17:07:52 +11:00 |
|
Paul Hauner
|
054c1f9047
|
Swap over to v0.2.0 shuffling algo
|
2019-02-15 16:55:52 +11:00 |
|
Paul Hauner
|
4ddbb3197c
|
Merge branch 'master' into tidy-beacon-state
|
2019-02-15 16:30:51 +11:00 |
|
Paul Hauner
|
ec4a658fe7
|
Add beacon state test builder, tidy errors
|
2019-02-15 16:12:24 +11:00 |
|
Paul Hauner
|
b15ee17fed
|
Merge pull request #225 from sigp/permutated-index
Add get_permutated_index
|
2019-02-15 15:32:28 +11:00 |
|
Age Manning
|
b16ac40fd5
|
Add tests to SlotHeight.
|
2019-02-15 14:16:45 +11:00 |
|
Kirk Baird
|
977f3edfb6
|
Add domain to all signature funcitons, modify validate_proof_of_possession()
|
2019-02-15 13:58:14 +11:00 |
|
Age Manning
|
2cab2952a8
|
Removes duplication of macros in types.
|
2019-02-15 13:29:09 +11:00 |
|