-
Couldn't load subscription status.
- Fork 70
Remove unused florestad and wire features
#486
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
Remove unused florestad and wire features
#486
Conversation
The last usage of the `florestad/experimental-p2p` feature was removed at vinteumorg#209. It is not used anywhere now. Also we have a `floresta-wire/pruned_utreexo_chainstate` feature which is not used either. I guess we could reintroduce it if in the future we have a non pruned chain (but maybe it is not needed since we work with trait bounds).
|
ack 30c5bb9 |
|
ACK 30c5bb9 When and how was |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 30c5bb9
Yes, before having a p2p stack we did a client-server thing. The code is still there, but didn't keep up with the API changes after #58. Perhaps it could be removed all together? |
Yes, I believe we could remove unused code as well, to avoid having a codebase full of dead code in the future. Or, signal it as deprecated? |
|
I guess it can be confusing to find a |
|
I say send it to the void. I don't see why anyone would be using it. |
|
Yeah. Since you can make your own wire if you need something like this, I guess there's not much use into keeping this weird stuff that will be mostly unused. From my side I concept ACK removing it |
What is the purpose of this pull request?
Which crates are being modified?
Description
The last usage of the
florestad/experimental-p2pfeature was removed at #209. It is not used anywhere now.Also we have a
floresta-wire/pruned_utreexo_chainstatefeature which is not used either. I guess we could reintroduce it if in the future we have a non pruned chain (but maybe it is not needed since we work with trait bounds).Notes to the reviewers
Our CI will also be faster after this, since the feature matrix grows exponentially with each feature. Particularly we halve the
florestadcompilations from 48 to 24.