rusk icon indicating copy to clipboard operation
rusk copied to clipboard

Implement resource discovery by "Flood with Random Walk" algorithm

Open goshawk-3 opened this issue 9 months ago • 0 comments

Resolves #1528

Acceptance criteria:

  • [x] GetBlocks message flow works properly as usual. It should not trigger flood_request
  • [x] GetData uses flood_request to retrieve a resource (block/transaction) from a distant peer.
  • [x] GetData limits a flood_request by TTL value.

NB: Testing the impl of this approach revealed a race condition that was (most probably) previously happening too. It'll be addressed with https://github.com/dusk-network/rusk/issues/1722

goshawk-3 avatar May 07 '24 15:05 goshawk-3