Commit Graph

3155 Commits

Author SHA1 Message Date
Paul Hauner
d8afb0fc73 Make fork choice tests declarative 2020-01-16 13:20:23 +11:00
Paul Hauner
5cbb34cf62 Start adding new test format 2020-01-16 10:53:03 +11:00
Paul Hauner
2366c9ae48 Fix bug with epoch of attestation votes 2020-01-16 09:10:53 +11:00
Paul Hauner
85e761e563 Most remove ffg_update_required 2020-01-16 08:46:59 +11:00
Paul Hauner
a73aa5d673 Fix fork choice test compile errors 2020-01-15 17:30:44 +11:00
Paul Hauner
1ef3fa3ca3 Update cargo.lock 2020-01-15 17:26:10 +11:00
Paul Hauner
ea19227eac Merge branch 'master' into proto-array 2020-01-15 17:25:32 +11:00
Paul Hauner
76d7122b28 Add extra justification change check 2020-01-15 17:15:43 +11:00
Paul Hauner
fbfe77b307 Fix test compile errors 2020-01-15 16:24:59 +11:00
Paul Hauner
61c8781554 Adjust TODO 2020-01-15 16:02:58 +11:00
Pawan Dhananjay
0e3e2bbbe7 Remove outdated cli options from docs (#802) 2020-01-15 16:00:32 +11:00
Age Manning
13e74e5352 Correct stream timeout delay queue handling (#803)
* Correct stream timeout delay queue handling

* Correct small typo
2020-01-15 15:50:01 +11:00
Paul Hauner
cba0d9a48c Attempt to fix prune error 2020-01-15 15:43:50 +11:00
Paul Hauner
029fb24858 Add more comments 2020-01-15 15:33:35 +11:00
Paul Hauner
90b57829b3 Clean out old comments 2020-01-15 15:05:20 +11:00
Age Manning
c184a98170 Sync fixes (#801)
* Randomize peer selection for batch errors

* Downgrade attestation logging

* Handle range sync errors

* Update lock file

* Downgrade logs

* Decrease batch size for better thread handling

* Optimise peer selection in range sync
2020-01-15 14:48:09 +11:00
Paul Hauner
6f51db34e9 Add first pass at fixing filter 2020-01-15 14:40:09 +11:00
pscott
6285dc3aa7 Fix logic error in operation pool (#806) 2020-01-15 12:41:12 +11:00
Paul Hauner
486c74f6e9 Merge branch 'master' into proto-array + more changes 2020-01-15 07:46:07 +11:00
Paul Hauner
b8d33ae26b Integrate proto_array into lighthouse 2020-01-14 17:05:59 +11:00
Paul Hauner
0f9d0ff3b9 Rename lmd_ghost > proto_array_fork_choice 2020-01-14 12:50:21 +11:00
Paul Hauner
512b7fe4c0 Add ssz encoding, other pub fns 2020-01-14 12:48:47 +11:00
Paul Hauner
6bb453fc27 Tidy, finish pruning tests 2020-01-14 12:15:23 +11:00
Paul Hauner
cc7f8fe951 Re-organise crate 2020-01-14 10:08:30 +11:00
Paul Hauner
0ad799042c Add comments and fixes 2020-01-14 07:40:59 +11:00
Paul Hauner
d856f34300 Add more testing 2020-01-14 06:57:33 +11:00
Paul Hauner
374877cbf8 Add more tests 2020-01-13 19:01:39 +11:00
Paul Hauner
1eee093208 Modify tests 2020-01-13 18:46:16 +11:00
Paul Hauner
4324ce3a91 Remove old tests 2020-01-13 18:41:34 +11:00
Paul Hauner
092b0e532a Add more testing to proto-array 2020-01-13 18:41:10 +11:00
Paul Hauner
5da9dddd2c Add more fork choice tests 2020-01-13 17:58:14 +11:00
Paul Hauner
3853af1bca Add more fork choice testing 2020-01-13 16:54:21 +11:00
Paul Hauner
c9274813d8 Add fork choice testing 2020-01-13 16:34:02 +11:00
Paul Hauner
8f72c09862 Add more compute_deltas tests 2020-01-13 14:01:13 +11:00
Paul Hauner
899e8c74ef Start testing 2020-01-13 13:21:26 +11:00
Paul Hauner
120bcfa46b Combine two functions in to compute_deltas 2020-01-13 12:50:27 +11:00
Paul Hauner
d7761ec7b7 Remove old reduced_tree fork choice 2020-01-13 12:49:49 +11:00
Paul Hauner
beb512219a Move impls in LmdGhost trait def 2020-01-13 06:31:37 +11:00
Paul Hauner
812be82567 Tidy, add incomplete LmdGhost impl 2020-01-12 18:44:04 +11:00
Paul Hauner
c1c70f1b85 Add refactored version 2020-01-12 18:01:36 +11:00
Paul Hauner
6ef1488de3 Add half-finished modifications 2020-01-12 11:24:32 +11:00
Paul Hauner
e771cff1ef Add tree filtering 2020-01-12 08:17:00 +11:00
Paul Hauner
32c21da9a6 Add progress 2020-01-11 21:00:14 +11:00
Paul Hauner
aea40caa1e Add further progress 2020-01-11 18:54:26 +11:00
Paul Hauner
03443c3e57 Bump docker rust version (#794)
* Bump docker rust version

* Improve docker ignore
v0.1.1
2020-01-10 16:49:16 +11:00
Paul Hauner
271fdd4fb9 Bumb version tags (#792) 2020-01-10 16:01:37 +11:00
Paul Hauner
55a6dc9ae3 Notifier errors (#793)
* Handle notifier errors

* Log error for notifier errors
2020-01-10 16:01:22 +11:00
Paul Hauner
3afa7b0dab Print validator pubkeys during generation (#791)
* Start docker docs

* Add progress

* Update docker.md

* Add note about geth syncing

* Fix env to use geth

* Update docs

* Remove sigp goerli node

* Change text about eth1 syncing

* Address comments from @pscott

* Add links to beaconcha.in

* Add instructions for starting an eth1 node

* Print validator pubkeys during generation

* Fix typo

* Re-organise Syncing log

* Add notes about finding the validator pubkey

* Fix double-0x prefix bug

* Fix typo
2020-01-10 15:47:07 +11:00
Paul Hauner
370c658c7c Optimization: reduce BLS decompression (#766)
* Add RwLock-style caching for BLS pubkeys

* Tidy docker ignore

* Remove RwLocks

* Merge in master
2020-01-10 15:32:10 +11:00
Michael Sproul
5a8f2dd961 Increase default slots per restore point to 2048 (#790)
This should reduce disk usage by 32x while keeping historical state queries to
less than 10s. If historical states are required quickly, the minimum SPRP of 32
can be set on the CLI.
2020-01-10 14:42:49 +11:00