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

Move internal error into protocol package #10

Merged
merged 20 commits into from
Feb 29, 2024

Conversation

marcopeereboom
Copy link
Contributor

Summary
This is a bit awkward and probably does not belong here. However, this code is copy and pasted everywhere and pretty brittle. So to prevent reinventing the wheel and bad copy paste it is allowed here.

Changes
Catch up remaining daemons to use this new api.

This is a bit awkward and probably does not belong here. However, this
code is copy and pasted everywhere and pretty brittle. So to prevent
reinventing the wheel and bad copy paste it is allowed here.
@marcopeereboom marcopeereboom marked this pull request as draft February 27, 2024 14:14
@ClaytonNorthey92 ClaytonNorthey92 marked this pull request as ready for review February 27, 2024 19:35
api/protocol/protocol.go Outdated Show resolved Hide resolved
api/protocol/protocol.go Outdated Show resolved Hide resolved
api/protocol/protocol.go Outdated Show resolved Hide resolved
@joshuasing joshuasing added type: refactor This refactors existing functionality type: enhancement This improves existing functionality size: XL This change is very large (+/- <1000) labels Feb 28, 2024
@joshuasing joshuasing changed the title Move internal error into protocol package. Move internal error into protocol package Feb 29, 2024
@marcopeereboom marcopeereboom merged commit e0e8964 into main Feb 29, 2024
1 check passed
@marcopeereboom marcopeereboom deleted the marco/internalerrorhandling branch February 29, 2024 08:11
web3cryptoguy pushed a commit to web3cryptoguy/heminetwork that referenced this pull request Nov 1, 2024
* Move internal error into protocol package.

This is a bit awkward and probably does not belong here. However, this
code is copy and pasted everywhere and pretty brittle. So to prevent
reinventing the wheel and bad copy paste it is allowed here.

Co-authored-by: ClaytonNorthey92 <clayton.northey@gmail.com>
Co-authored-by: Joshua Sing <joshua@bloq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: XL This change is very large (+/- <1000) type: enhancement This improves existing functionality type: refactor This refactors existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants