Paul Hauner
4fccec158a
Fix wasted iterations when getting previous state
2019-09-23 22:22:19 +10:00
Paul Hauner
e7a580393c
Remove unnecessary drop()
2019-09-23 22:21:34 +10:00
Paul Hauner
b316086be0
Add write_ssz_files feature to beacon_chain crate
2019-09-23 22:20:47 +10:00
Paul Hauner
8ceb2e3d95
Refactor slot clock to remove underflow
...
Previously I had used `Instant` to refer to the genesis time.
2019-09-21 11:21:47 +10:00
Paul Hauner
da26341011
Add beacon chain event for finalization
2019-09-14 22:26:09 -04:00
Paul Hauner
07990e0e92
Adds beacon chain events, websocket event handler
2019-09-14 15:41:35 -04:00
Paul Hauner
2676c8a62d
Remove some dust code from beacon chain
2019-09-13 18:33:17 -04:00
Paul Hauner
5d91d59481
Fix deadlock on becaon chain head
2019-09-10 22:42:07 -04:00
Paul Hauner
3fe61f5044
Add additional logs to validator client
2019-09-10 17:40:21 -04:00
Paul Hauner
5de80f2799
Add extra logging when new head found
2019-09-09 17:12:47 -04:00
Paul Hauner
66fd1586ca
Add more logging around block/attn production
2019-09-09 16:43:08 -04:00
Paul Hauner
7b7a44e2f2
Add const to control writing of ssz files
2019-09-08 21:57:48 -04:00
Paul Hauner
09b0db2535
Change which pre state is logged
2019-09-08 21:11:16 -04:00
Paul Hauner
e7b324966d
Log all states and blocks processed
2019-09-08 20:55:15 -04:00
Age Manning
1eafa63c2a
Merge branch 'sync-threading' into interop
2019-09-07 09:32:09 +10:00
Paul Hauner
8b69a48fc5
Allow validator client to start before genesis
2019-09-06 10:03:45 +10:00
Age Manning
2a1d6587a7
Merge latest interop
2019-09-05 03:03:45 +10:00
Paul Hauner
572df4f37e
Make bootstrapper block til connection established
2019-09-04 13:56:30 +10:00
Paul Hauner
009a7eb9c7
Fix bug with invalid state root
2019-09-04 12:04:15 +10:00
Paul Hauner
7edc5f37b9
Move BeaconChainHarness to interop spec
2019-09-04 10:25:30 +10:00
Paul Hauner
d80d9dba4c
Add flag for web3 server
2019-09-03 16:40:53 +10:00
Paul Hauner
29584ca087
Add docs to Eth1Chain
2019-09-03 15:56:11 +10:00
Paul Hauner
31557704eb
Add Eth1Chain member to BeaconChain
2019-09-03 15:52:25 +10:00
Paul Hauner
ab2b8accd4
Add first pass at Eth1Chain trait
2019-09-03 15:22:00 +10:00
Paul Hauner
1b4679e5bc
Improve block processing outcomes enum
2019-09-03 14:18:45 +10:00
Paul Hauner
969b6d7575
Tidy BeaconStateCow
2019-09-03 09:50:15 +10:00
Age Manning
cd7b6da88e
Updates syncing, corrects CLI variables
2019-09-03 00:34:41 +10:00
Paul Hauner
a0e019b4d7
Fix interop eth1 blockhash
2019-09-02 18:19:30 +10:00
Paul Hauner
70f4052b2e
Allow starting testnet from JSON state
2019-09-02 15:58:53 +10:00
Paul Hauner
11a1505784
Allow starting from SSZ genesis state
2019-09-02 15:07:32 +10:00
Paul Hauner
d4bf1390c9
Add interop eth1 data stub
2019-09-02 11:39:28 +10:00
Paul Hauner
6db1a19169
Remove stray dbg!
2019-09-01 22:20:31 +10:00
Paul Hauner
543e9457b7
Move bootstrapper into own crate
2019-09-01 19:32:57 +10:00
Paul Hauner
5f0509be50
Improve and extend CLI interface
2019-08-31 12:34:27 +10:00
Paul Hauner
9ffb6d0fe1
Fix fake_crypto test fails
2019-08-30 15:49:06 +10:00
Paul Hauner
6234adc0d6
Add interop-spec genesis procedure
2019-08-30 15:33:34 +10:00
Paul Hauner
3365106340
Fix bug with block production
2019-08-30 11:04:15 +10:00
Paul Hauner
ae114889c1
Fix bugs from removing speculative state
2019-08-30 00:24:46 +10:00
Paul Hauner
682081ef07
Add first pass at removing speculative state
2019-08-29 19:14:52 +10:00
Paul Hauner
29c8477242
Merge branch 'master' into interop
2019-08-29 16:00:22 +10:00
Paul Hauner
314780e634
Allow for customizable recent genesis window
2019-08-29 14:59:32 +10:00
Paul Hauner
8cfbe8bbfb
Change seconds_per_slot to milliseconds_per_slot
2019-08-29 14:32:21 +10:00
Paul Hauner
7d03806107
Upgrade codebase to new SlotClock API
2019-08-29 14:26:30 +10:00
Paul Hauner
4557d2c84b
Merge branch 'interop' into millsecond-slots
2019-08-29 13:27:06 +10:00
Paul Hauner
bcd53a8b10
Migrate codebase across to new SlotClock API
2019-08-29 13:25:55 +10:00
Paul Hauner
bcffe42712
Bulk signature verification ( #507 )
...
* Add basic block processing benches
* Start reviving state processing benches
* Fix old block builders
* Add optimization for faster pubkey add
* Tidy benches, add another
* Add extra block processing bench
* Start working on faster BLS scheme
* Add partially complete sig verify optimization
* Add .gitignore to state processing
* Add progress on faster signature verification
* Fix SignatureSet for fake_crypto
* Tidy attester slashings sig set
* Tidy bulk signature verifier
* Refactor signature sets to be cleaner
* Start threading SignatureStrategy through code
* Add (empty) test dir
* Move BenchingBlockBuilder
* Add initial block signature verification tests
* Add tests for bulk signature verification
* Start threading SignatureStrategy in block proc.
* Refactor per_block_processing errors
* Use sig set tuples instead of lists of two
* Remove dead code
* Thread VerifySignatures through per_block_processing
* Add bulk signature verification
* Introduce parallel bulk signature verification
* Expand state processing benches
* Fix additional compile errors
* Fix issue where par iter chunks is 0
* Update milagro_bls dep
* Remove debugs, code fragment in beacon chain
* Tidy, add comments to block sig verifier
* Fix various PR comments
* Add block_root option to per_block_processing
* Fix comment in block signature verifier
* Fix comments from PR review
* Remove old comment
* Fix comment
2019-08-29 11:34:25 +10:00
Paul Hauner
3207eb1d68
Merge branch 'interop' of github.com:sigp/lighthouse into interop
2019-08-27 11:20:35 +10:00
Paul Hauner
4e0ac0169b
Merge branch 'fix-fork-choice' into interop
2019-08-27 11:20:16 +10:00
Paul Hauner
ed6c39e25a
Add log for fork choice integrity in beacon chain
2019-08-27 11:19:50 +10:00
Paul Hauner
6875ae8af5
Pull Eth2Config during bootstrap
2019-08-27 00:04:15 +10:00