A traversal strategy that performs a breadth-first search (so as to not load blocks unnecessarily) looking for a target CID. Traversal stops when we reach the target CID or run out of nodes.
Returns true if the current CID is the target and we should switch to the export strategy
Traverse the DAG and yield the next CID to traverse
A traversal strategy that performs a breadth-first search (so as to not load blocks unnecessarily) looking for a target CID. Traversal stops when we reach the target CID or run out of nodes.