Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to prevent header download stalls. #297

Merged
merged 15 commits into from
Nov 5, 2024
Merged

Try to prevent header download stalls. #297

merged 15 commits into from
Nov 5, 2024

Conversation

marcopeereboom
Copy link
Contributor

Summary

Changes

@marcopeereboom marcopeereboom requested a review from a team as a code owner October 30, 2024 14:11
@github-actions github-actions bot added the area: tbc This is a change to TBC (Tiny Bitcoin) label Oct 30, 2024
service/tbc/crawler.go Outdated Show resolved Hide resolved
service/tbc/tbc.go Show resolved Hide resolved
Instead of walking a path always back to genesis compare all hashes in
the path instead of one entire path at a time.
Also add a new error type in database so that the caller can figure out
which block is missing.
@marcopeereboom marcopeereboom merged commit 57d250a into main Nov 5, 2024
6 checks passed
@marcopeereboom marcopeereboom deleted the marco/headers branch November 5, 2024 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: tbc This is a change to TBC (Tiny Bitcoin)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants