This repository was archived by the owner on Oct 28, 2021. It is now read-only.
Commit 8739dd0
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 8739dd0
3 files changed
+15
-9
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 | |
|---|---|---|---|
| |||
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
439 | | - | |
| 439 | + | |
| 440 | + | |
440 | 441 | | |
441 | 442 | | |
442 | 443 | | |
| |||
511 | 512 | | |
512 | 513 | | |
513 | 514 | | |
514 | | - | |
| 515 | + | |
515 | 516 | | |
516 | 517 | | |
517 | | - | |
518 | | - | |
519 | | - | |
520 | | - | |
521 | | - | |
| 518 | + | |
| 519 | + | |
522 | 520 | | |
523 | 521 | | |
524 | 522 | | |
| |||
533 | 531 | | |
534 | 532 | | |
535 | 533 | | |
| 534 | + | |
| 535 | + | |
536 | 536 | | |
| 537 | + | |
537 | 538 | | |
538 | 539 | | |
539 | 540 | | |
| |||
950 | 951 | | |
951 | 952 | | |
952 | 953 | | |
953 | | - | |
| 954 | + | |
954 | 955 | | |
955 | 956 | | |
956 | 957 | | |
957 | 958 | | |
958 | 959 | | |
959 | 960 | | |
960 | 961 | | |
| 962 | + | |
| 963 | + | |
961 | 964 | | |
| 965 | + | |
962 | 966 | | |
963 | 967 | | |
964 | 968 | | |
| |||
0 commit comments