Skip to content

Commit

Permalink
style(peer_loop): Arrange message handlers in order of sequence
Browse files Browse the repository at this point in the history
The sequence being:
 - get block notification (and: maybe start challenge phase;
   maybe ask peer for block)
 - get sync challenge (and: maybe respond)
 - get sync challenge response (and: inform main loop)
 - get block request (and: maybe respond)
 - get block (and: maybe try ensure path)
  • Loading branch information
aszepieniec committed Jan 19, 2025
1 parent b17e295 commit 7c80767
Showing 1 changed file with 318 additions and 318 deletions.
Loading

0 comments on commit 7c80767

Please sign in to comment.