status-im / nimbus-eth2

Nim implementation of the Ethereum Beacon Chain
https://nimbus.guide
Other
523 stars 227 forks source link

BN: User agent recognition and error codes decoding. #6414

Closed cheatfate closed 2 months ago

cheatfate commented 2 months ago

This PR adds, detection of remote peers via libp2p user agent string. Using this we could properly decode application-defined error codes. Also one more metric was added nbc_disconnects_count which indicates number of disconnects from specific CL nodes.

github-actions[bot] commented 2 months ago

Unit Test Results

         9 files  ±0    1 334 suites  ±0   29m 58s :stopwatch: - 3m 42s   4 999 tests ±0    4 651 :heavy_check_mark: ±0  348 :zzz: ±0  0 :x: ±0  20 877 runs  ±0  20 473 :heavy_check_mark: ±0  404 :zzz: ±0  0 :x: ±0 

Results for commit ed6ae743. ± Comparison against base commit f751fde4.

:recycle: This comment has been updated with latest results.