Commit 40b77d4
committed
Always allow getheaders from whitelisted peers
Process `getheaders` messages from whitelisted peers even if we are in
initial block download. Whitelisted peers can always use a node as a
block source.
Also log a debug message when the request is ignored, for
troubleshooting.
Fixes #6971.1 parent 4ee149a commit 40b77d4
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4303 | 4303 | | |
4304 | 4304 | | |
4305 | 4305 | | |
4306 | | - | |
4307 | | - | |
| 4306 | + | |
| 4307 | + | |
4308 | 4308 | | |
4309 | | - | |
| 4309 | + | |
4310 | 4310 | | |
4311 | 4311 | | |
4312 | 4312 | | |
| |||
0 commit comments