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
realbigsean
09b40b7a5e
Discover query grouping ( #1364 )
...
## Issue Addressed
#1281
## Proposed Changes
Groups queries for specific subnets into groups of up to 3.
## Additional Info
2020-07-29 02:43:50 +00:00
blacktemplar
23a8f31f83
Fix clippy warnings ( #1385 )
...
## Issue Addressed
NA
## Proposed Changes
Fixes most clippy warnings and ignores the rest of them, see issue #1388 .
2020-07-23 14:18:00 +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
blacktemplar
f61a7113ac
Do not send regular status updates during syncing ( #1375 )
2020-07-22 15:39:56 +10:00
Age Manning
e6a8635b38
Discovery update ( #1349 )
...
* Improve logging
* Discovery update
2020-07-11 12:35:59 +10:00
Age Manning
025b262e01
Peer scoring updates ( #1342 )
...
* Prevent banned peers from interacting with the behaviour
* Update smallvec
* Add logs
* Correct log update
2020-07-07 20:08:05 +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
pscott
02174e21d8
Fix clippy's performance lints ( #1286 )
...
* Fix clippy perf lints
* Cargo fmt
* Add and to lint rule in Makefile
* Fix some leftover clippy lints
2020-06-26 00:04:08 +10:00
Age Manning
710409c2ba
Userland clean up ( #1277 )
...
* Improve logging, remove unused CLI and move discovery
* Correct tests
* Handle flag correctly
2020-06-20 09:34:28 +10:00
Age Manning
f3d05c15d1
Lighthouse bootnode ( #1265 )
...
* Initial bootnode structure
* Add boot_node subcommand
* Add bootnode subcommand
* fmt corrections
* Extend help message
* Move boot_node crate
* Update discv5 dep
* Improve logging and boot-node logging
Co-authored-by: Paul Hauner <paul@paulhauner.com >
2020-06-19 16:30:07 +10:00
Age Manning
f3380c00b8
Discovery metrics ( #1276 )
...
* Silky smooth squash
* Add discovery metrics
* Fix gauge metric, increase discv5 sessions
* Formatting
2020-06-19 15:36:03 +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