-
Notifications
You must be signed in to change notification settings - Fork 649
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
feature request: able to select plugins at build-time #533
Comments
So would this look like we specify a set of plugins at build, and then those plugins get built-in and loaded automatically, regardless of what the |
It is not the config the main problem, if the config loads a plugin that is not built then it will just throw or whatever. The idea is for example if i want to use on my node only the It is not a big issue right now as plugins dont take a lot of time to build but i am thinking that as we encourage devs to write plugins the number of them in the future can and will be bigger. Main problem i think is the amount of code that will need to be refactored as the headers of plugins are included everywhere. |
As an example we can currently build the programs we want by I originally had the idea of plugin build options at cmake level, then check for them in the c++ to include plugin headers and to use plugin code; however this will make our code ugly with checks to include a header, a lot of conditionals, etc that i abandoned the idea. |
This will also help us with the overall requirements of the bitshares-core. For example I have other plugin prototypes, for example a lua plugin where lua is required to be installed in the machine, zeromq, postgres, etc. |
Related: PBSA/peerplays#31 |
This would be useful.
The text was updated successfully, but these errors were encountered: