Open Issues Need Help
View All on GitHubGo library with all the services needed to request, sync and store blockchain headers.
Go library with all the services needed to request, sync and store blockchain headers.
AI Summary: The task involves modifying the validation logic within the `go-header` library's syncer. Specifically, the condition checking for the absence of synchronization parameters (`SyncFromHeight`, `SyncFromHash`, `PruningWindow`) needs to be corrected to ensure that only when all three are simultaneously zero or empty, the validation fails. This requires updating a conditional statement in the `options.go` file.
Go library with all the services needed to request, sync and store blockchain headers.
AI Summary: Migrate all instances of `context.WithTimeout` in the `go-header` library to `context.WithTimeoutCause`. This improves error handling by providing more informative error messages when timeouts occur, replacing the generic "context deadline exceeded" with the specific cause of the timeout.
Go library with all the services needed to request, sync and store blockchain headers.