Skip to content

sync: collapse fetchBlockByRoots / fetchBlockByRootsFromPeer into a single function#949

Open
markolazic01 wants to merge 3 commits into
blockblaz:mainfrom
markolazic01:sync/collapse-fetch-block-by-roots
Open

sync: collapse fetchBlockByRoots / fetchBlockByRootsFromPeer into a single function#949
markolazic01 wants to merge 3 commits into
blockblaz:mainfrom
markolazic01:sync/collapse-fetch-block-by-roots

Conversation

@markolazic01

Copy link
Copy Markdown
Contributor

Description

  • Remove fetchBlockByRootsFromPeer, rename the remaining function to fetchBlockByRoots with an optional preferred_peer parameter
  • Update all call sites to pass null where no peer preference exists

Closes #913

@markolazic01

Copy link
Copy Markdown
Contributor Author

merged to resolve a conflict

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sync: collapse fetchBlockByRoots / fetchBlockByRootsFromPeer into single function

1 participant