Ben Bierens caed3c07a3
Fix sending of WantBlocks messages and tracking of peerWants (#1019)
* sends wantBlock to peers with block. wantHave to everyone else

* Cleanup cheapestPeer. Fixes test for peers lists

* Fixes issue where peerWants are only stored for type wantBlock.

* Review comments by Dmitriy

* consistent logging of addresses

* prevents duplicate scheduling. Fixes cancellation

* fast

* Marks cancel-presence situation with todo comment.

* fixtest: testsales enable logging

* Review by Dmitriy: Remember peerWants only if we don't have them.

* rework `wantListHandler` handling

---------

Co-authored-by: Dmitriy Ryajov <dryajov@gmail.com>
2025-01-09 22:44:02 +00:00
..
2025-01-08 11:30:54 +00:00
2025-01-08 11:30:54 +00:00
2025-01-08 11:30:54 +00:00
2025-01-08 11:30:54 +00:00
2024-02-09 21:40:30 +00:00
2024-01-11 08:45:23 -08:00
2023-12-22 13:04:01 +01:00
2024-01-11 08:45:23 -08:00
2025-01-08 11:30:54 +00:00
2023-04-19 15:06:00 +02:00
2024-02-09 21:40:30 +00:00
2023-12-21 06:41:43 +00:00
2022-06-14 09:19:35 -06:00
2025-01-08 11:30:54 +00:00