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.
Published at
2023-06-07 18:21:05Event JSON
{
"id": "bccb8ce51ee66f649f4647c22f4370dd75654147cef15337d013f9f421422da5",
"pubkey": "4995923bdd6657e6f16f87fa2c66ee60c7fbc82ae1658289a557fd3c9826cf6f",
"created_at": 1686162065,
"kind": 1,
"tags": [
[
"e",
"a9a6913f6fc9138fe7aab169ce2974e6f08bf4a75cd5918afea0770bbfe2c32f",
"",
"root"
],
[
"e",
"d988a7cc7dd53d15811341b0e809df2e82690664b1b24249c0580221bd4c39a6",
"",
"reply"
],
[
"p",
"46986f86b97cc97829a031b03209644d134b939d0163375467f0b1363e0d875e"
]
],
"content": "📅 Original date posted:2019-10-14\n📝 Original message:On 10/12/19 9:27 AM, Tier Nolan via bitcoin-dev wrote:\n\n\u003e [...]\n\u003e\n\u003e I think parallel downloading would be better than focusing on one peer\n\u003e initially. Otherwise, a dishonest peer can slowly send their headers to\n\u003e prevent moving to parallel mode.\n\u003e\n\u003e [...]\n\nAs implemented, there is a timeout for that loader peer based on the\namount of time it should take to request all the headers. The time\nperiod is defined as a base time plus the number of expected headers\ntimes an expected amount of time per header. For example, the timeout\nwould be 25 minutes with a base time of 15 minutes, 1 millisecond per\nheader and an expected 600000 headers.",
"sig": "8c38c6a3077c98b232e9ab526d53b4db21a4a5037b9c4ad132841e1c477e93b99fce1e837758d93698092589bb27029fede94228606eabe068abe4c8d5337705"
}