This repository was archived by the owner on Oct 28, 2021. It is now read-only.
Commit d2b72ae
committed
Address PR feedback
Fix some bugs:
* Only shuffle the peers list in randomPeers if a subset
of them are being returned
* Update the hash of the latest block sent in EthereumCapability if
we're too far behind - otherwise we'll always be behind and therefore
send any new blocks or new block hashes.
Also, change the CHANGELOG entry from "added" to "changed" (since this
isn't a new feature but modification of existing behavior)1 parent c3f1b85 commit d2b72ae
3 files changed
+13
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
| 393 | + | |
| 394 | + | |
393 | 395 | | |
394 | 396 | | |
395 | 397 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
514 | | - | |
| 514 | + | |
515 | 515 | | |
516 | 516 | | |
517 | | - | |
518 | | - | |
519 | | - | |
520 | | - | |
521 | | - | |
| 517 | + | |
| 518 | + | |
522 | 519 | | |
523 | 520 | | |
524 | 521 | | |
| |||
533 | 530 | | |
534 | 531 | | |
535 | 532 | | |
| 533 | + | |
| 534 | + | |
536 | 535 | | |
| 536 | + | |
537 | 537 | | |
538 | 538 | | |
539 | 539 | | |
| |||
950 | 950 | | |
951 | 951 | | |
952 | 952 | | |
953 | | - | |
| 953 | + | |
954 | 954 | | |
955 | 955 | | |
956 | 956 | | |
957 | 957 | | |
958 | 958 | | |
959 | 959 | | |
960 | 960 | | |
| 961 | + | |
| 962 | + | |
961 | 963 | | |
| 964 | + | |
962 | 965 | | |
963 | 966 | | |
964 | 967 | | |
| |||
0 commit comments