prysm-pulse/beacon-chain/p2p
Preston Van Loon 5345ddf686 Initial Sync: Round robin (#3538)
* first pass, step 1 works

* naive from finalized to head

* delete commented code

* checkpoint progress on tests

* passing test

* abstract code slightly

* failure cases

* chkpt

* mostly working, missing a single block and having timeout

* passing tests

* comments

* comments

* gaz

* clarify comments

* progress on a few new cases

* add back bootnode query tool

* bootstrap from DHT

* chunked responses in round robin

* fix tests and deadlines

* add basic counter, time estimation

* hello -> handshakes

* show peers in use during sync

* just one last test failure

* only request blocks starting in the finalized epoch for step 1

* revert that

* comment out test and add better commentary

* move requestBlocks out to pointer receiver

* mathutil

* Update beacon-chain/sync/initial-sync/round_robin.go

Co-Authored-By: Raul Jordan <raul@prysmaticlabs.com>

* PR feedback

* PR feedback
2019-09-25 12:00:04 -05:00
..
encoder Chunked Responses (#3528) 2019-09-24 07:56:50 -07:00
testing Initial Sync: Round robin (#3538) 2019-09-25 12:00:04 -05:00
addr_factory_test.go p2p: Relay support, CIDR whitelist, connection maintenance (#3564) 2019-09-23 14:43:53 -07:00
addr_factory.go p2p: Relay support, CIDR whitelist, connection maintenance (#3564) 2019-09-23 14:43:53 -07:00
broadcaster_test.go Fix broadcast ssz (#3423) 2019-09-08 19:34:52 -07:00
broadcaster.go Add flag for testing new p2p (#3243) 2019-08-19 17:20:56 -04:00
BUILD.bazel Restore bootnode query tool for kaddht and fix bootstrapping (#3565) 2019-09-23 17:18:01 -05:00
config.go Add Back Kademlia DHT to Prysm (#3557) 2019-09-23 10:24:16 -07:00
dial_relay_node_test.go p2p: Relay support, CIDR whitelist, connection maintenance (#3564) 2019-09-23 14:43:53 -07:00
dial_relay_node.go p2p: Relay support, CIDR whitelist, connection maintenance (#3564) 2019-09-23 14:43:53 -07:00
discovery_test.go Add Back Kademlia DHT to Prysm (#3557) 2019-09-23 10:24:16 -07:00
discovery.go Add Back Kademlia DHT to Prysm (#3557) 2019-09-23 10:24:16 -07:00
doc.go New p2p package (#3196) 2019-08-13 14:12:00 -07:00
gossip_topic_mappings.go Regular Sync - First Pass (#3201) 2019-08-16 13:13:04 -04:00
handshake.go Wait until fully synced to process pubsub messages (#3514) 2019-09-20 10:54:32 -07:00
info.go Add /p2p page (#3391) 2019-09-03 11:07:40 -05:00
interfaces.go Wait until fully synced to process pubsub messages (#3514) 2019-09-20 10:54:32 -07:00
log.go New p2p package (#3196) 2019-08-13 14:12:00 -07:00
monitoring.go Fix competing attestation check (#3305) 2019-08-24 16:56:40 -07:00
options_test.go Use the raw bytes, not the libp2p protobuf container for sepc256k1 private keys (#3445) 2019-09-11 17:04:35 -07:00
options.go p2p: Relay support, CIDR whitelist, connection maintenance (#3564) 2019-09-23 14:43:53 -07:00
parameter_test.go Add Byte Slice Intersection Utils (#3204) 2019-08-14 10:27:18 -05:00
rpc_topic_mappings.go Update Naming to Latest Networking Spec (#3519) 2019-09-20 11:57:28 +05:30
sender_test.go Fix broadcast ssz (#3423) 2019-09-08 19:34:52 -07:00
sender.go allow rpc requests (#3490) 2019-09-16 12:54:46 -05:00
service_test.go Add Back Kademlia DHT to Prysm (#3557) 2019-09-23 10:24:16 -07:00
service.go Restore bootnode query tool for kaddht and fix bootstrapping (#3565) 2019-09-23 17:18:01 -05:00
utils.go Save Network Keys in Data Directory (#3488) 2019-09-16 17:09:16 -05:00
watch_peers.go p2p: Relay support, CIDR whitelist, connection maintenance (#3564) 2019-09-23 14:43:53 -07:00