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 NodeEventHandler into lib.rs #67

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

rustaceanrob
Copy link
Collaborator

@ValuedMammal you are as good of a judge here as I am. I am trying to make the event portion of the API more visible to users. IMO the logger module makes sense for those specific implementations like PrintLogger, but I think more generally the trait might belong in the library itself.

@ValuedMammal
Copy link
Collaborator

I guess you could also re-export the trait in lib.rs but this way works too. I agree with keeping the specific logger implementations in the logger module

@rustaceanrob
Copy link
Collaborator Author

Yeah, I just like how the rustdocs but it into a "Traits" section with the explanation.

@rustaceanrob rustaceanrob merged commit 5b434c9 into bitcoindevkit:master Oct 10, 2024
2 checks passed
@rustaceanrob rustaceanrob deleted the event-10-9 branch October 10, 2024 18:36
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.

2 participants