Age Manning
1419501f2e
Update peerdb constants ( #1444 )
...
Increases the cache for disconnected and banned peers.
2020-08-03 12:48:22 +00:00
Age Manning
395d99ce03
Sync update ( #1412 )
...
## Issue Addressed
Recurring sync loop and invalid batch downloading
## Proposed Changes
Shifts the batches to include the first slot of each epoch. This ensures the finalized is always downloaded once a chain has completed syncing.
Also add in logic to prevent re-dialing disconnected peers. Non-performant peers get disconnected during sync, this prevents re-connection to these during sync.
## Additional Info
N/A
2020-07-29 05:25:10 +00:00
blacktemplar
3c4daec9af
replace max_peers cli argument by target_peers and use excess peers above target_peers capped by a new constant PEER_EXCESS_FACTOR (relative to target_peers) ( #1383 )
2020-07-23 13:55:36 +10:00
Age Manning
5bc8fea2e0
Activate peer scoring ( #1284 )
...
* Initial score structure
* Peer manager update
* Updates to dialing
* Correct tests
* Correct typos and remove unused function
* Integrate scoring into the network crate
* Clean warnings
* Formatting
* Shift core functionality into the behaviour
* Temp commit
* Shift disconnections into the behaviour
* Temp commit
* Update libp2p and gossipsub
* Remove gossipsub lru cache
* Correct merge conflicts
* Modify handler and correct tests
* Update enr network globals on socket update
* Apply clippy lints
* Add new prysm fingerprint
* More clippy fixes
2020-07-07 10:13:16 +10:00
Age Manning
e379ad0f4e
Silky smooth discovery ( #1274 )
...
* Initial structural re-write
* Improving discovery update and correcting attestation service logic
* Rework discovery.mod
* Handling lifetimes of query futures
* Discovery update first draft
* format fixes
* Stabalise discv5 update
* Formatting corrections
* Limit FindPeers queries and bug correction
* Update to stable release discv5
* Remove unnecessary pin
* formatting
2020-06-19 14:13:23 +10:00