prysm-pulse/beacon-chain/sync
Preston Van Loon 95c528f0bc First pass: single peer initial sync (#3363)
* lint

* add requests

* add all new stuff

* comment

* preston's review

* initial commit

* reorder sync so it isn't required to wait until start

* checkpoint

* fix

* improved handler API

* Set up prechain start values

* improved handler API

* ooops

* successful peer handshakes

* successful peer handshakes

* successful peer handshakes

* checkpoint

* chpkt

* handle init after chain start

* emit state initialized feed if existing db state

* merge error

* Done

* Test

* Fixed test

* emit state initialized

* force fork choice update

* wait for genesis time

* sync to current slot

* Use saved head in DB

* gaz

* fix tests

* lint

* lint

* lint

* lint

* Revert "Use saved head in DB"

This reverts commit c5f3404fdf333c8aac20bce8c349b1978494616b.

* remove db

* lint

* remove unused interfaces from composite

* resolve comments
2019-08-30 15:15:40 -05:00
..
initial-sync First pass: single peer initial sync (#3363) 2019-08-30 15:15:40 -05:00
BUILD.bazel First pass: single peer initial sync (#3363) 2019-08-30 15:15:40 -05:00
deadlines.go sync RPC: Hello handler (#3216) 2019-08-16 16:03:11 -04:00
doc.go Regular Sync - First Pass (#3201) 2019-08-16 13:13:04 -04:00
error_test.go Implement Attester Slashing Handler in Sync (#3260) 2019-08-22 11:04:25 +05:30
error.go First pass: single peer initial sync (#3363) 2019-08-30 15:15:40 -05:00
log.go Regular Sync - First Pass (#3201) 2019-08-16 13:13:04 -04:00
metrics.go Add sync/p2p metric for number of messages received by topic (#3341) 2019-08-28 10:14:22 -05:00
rpc_beacon_blocks_test.go Reg sync beacon blocks (#3218) 2019-08-20 14:06:49 -05:00
rpc_beacon_blocks.go Reg sync beacon blocks (#3218) 2019-08-20 14:06:49 -05:00
rpc_goodbye_test.go Implement GoodBye RPC Handler (#3282) 2019-08-23 12:53:38 -04:00
rpc_goodbye.go Implement GoodBye RPC Handler (#3282) 2019-08-23 12:53:38 -04:00
rpc_hello_test.go First pass: single peer initial sync (#3363) 2019-08-30 15:15:40 -05:00
rpc_hello.go First pass: single peer initial sync (#3363) 2019-08-30 15:15:40 -05:00
rpc_recent_beacon_blocks_test.go Add Recent Blocks RPC Request Handler (#3281) 2019-08-23 13:10:25 -04:00
rpc_recent_beacon_blocks.go Add Recent Blocks RPC Request Handler (#3281) 2019-08-23 13:10:25 -04:00
rpc_test.go First pass: single peer initial sync (#3363) 2019-08-30 15:15:40 -05:00
rpc.go Add Recent Blocks RPC Request Handler (#3281) 2019-08-23 13:10:25 -04:00
service.go First pass: single peer initial sync (#3363) 2019-08-30 15:15:40 -05:00
subscriber_beacon_attestation.go Minor runtime fixes (#3335) 2019-08-27 22:19:47 -05:00
subscriber_beacon_blocks_test.go Fix finalized block filtering in sync (#3334) 2019-08-28 08:29:45 -07:00
subscriber_beacon_blocks.go Fix finalized block filtering in sync (#3334) 2019-08-28 08:29:45 -07:00
subscriber_handlers.go fixes (#3291) 2019-08-23 17:34:03 -04:00
subscriber_test.go Ignore Messages From Local Peer (#3299) 2019-08-24 14:41:24 -04:00
subscriber.go Add sync/p2p metric for number of messages received by topic (#3341) 2019-08-28 10:14:22 -05:00
validate_attester_slashing_test.go add better logging (#3329) 2019-08-27 06:27:04 -07:00
validate_attester_slashing.go Update sync to use chain info for head and finalized check point (#3288) 2019-08-23 12:48:40 -05:00
validate_beacon_attestation_test.go Save validators upon chainstart (#3295) 2019-08-23 19:59:09 -06:00
validate_beacon_attestation.go Beacon attestation pubsub subscriber (#3289) 2019-08-23 14:46:04 -05:00
validate_beacon_blocks_test.go Regular sync: pubsub subscriber for beacon blocks (#3220) 2019-08-22 13:11:52 -05:00
validate_beacon_blocks.go Beacon attestation pubsub subscriber (#3289) 2019-08-23 14:46:04 -05:00
validate_proposer_slashing_test.go add better logging (#3329) 2019-08-27 06:27:04 -07:00
validate_proposer_slashing.go Update sync to use chain info for head and finalized check point (#3288) 2019-08-23 12:48:40 -05:00
validate_voluntary_exit_test.go add better logging (#3329) 2019-08-27 06:27:04 -07:00
validate_voluntary_exit.go Update sync to use chain info for head and finalized check point (#3288) 2019-08-23 12:48:40 -05:00