Port fixes from bitcoin: 18962 - Only send a getheaders for one block in an INV
Functional test for this is ported from bitcoin. But the expected results are different from the same test in bitcoin. This is because of the protocol changes made in bitcoin regarding the number of peers to get headers from during IBD. In papyrus there is no restriction. so all peers get and send the headers message.
Port fixes from bitcoin: 18962 - Only send a getheaders for one block in an INV
Functional test for this is ported from bitcoin. But the expected results are different from the same test in bitcoin. This is because of the protocol changes made in bitcoin regarding the number of peers to get headers from during IBD. In papyrus there is no restriction. so all peers get and send the headers message.