Why Nostr? What is Njump?
2023-06-07 18:21:05
in reply to

Braydon Fuller [ARCHIVE] on Nostr: 📅 Original date posted:2019-10-14 📝 Original message:On 10/12/19 9:27 AM, Tier ...

📅 Original date posted:2019-10-14
📝 Original message:On 10/12/19 9:27 AM, Tier Nolan via bitcoin-dev wrote:

> [...]
>
> I think parallel downloading would be better than focusing on one peer
> initially. Otherwise, a dishonest peer can slowly send their headers to
> prevent moving to parallel mode.
>
> [...]

As implemented, there is a timeout for that loader peer based on the
amount of time it should take to request all the headers. The time
period is defined as a base time plus the number of expected headers
times an expected amount of time per header. For example, the timeout
would be 25 minutes with a base time of 15 minutes, 1 millisecond per
header and an expected 600000 headers.
Author Public Key
npub1fx2eyw7avet7dut0slazcehwvrrlhjp2u9jc9zd92l7nexpxeahs4xxtaa