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

[runtime/idea] take advantage of instantiable modules. #8

Open
jam10o-new opened this issue Dec 14, 2019 · 1 comment
Open

[runtime/idea] take advantage of instantiable modules. #8

jam10o-new opened this issue Dec 14, 2019 · 1 comment
Labels
feature new feature or implementation idea/discussion refactor for refactors - don't bother until milestone 2 runtime runtime modules and substrate
Milestone

Comments

@jam10o-new
Copy link

I'm considering implementing #6 by turning dat_verify into an instantiable module, and making each "parallel" track a separate instance of the module - they would all call into a separate "dat_store" module.

It may also be a good idea to have the different challenge types be in different modules (maybe sharing a challenge trait).

I need to think about the internal api here though so it isn't too complex.

@jam10o-new jam10o-new added refactor for refactors - don't bother until milestone 2 runtime runtime modules and substrate feature new feature or implementation idea/discussion labels Dec 14, 2019
@jam10o-new jam10o-new added this to the Month 2 milestone Dec 14, 2019
@jam10o-new jam10o-new changed the title [runtime/idea] implement parallel challenges with instances. [runtime/idea] take advantage of instantiable modulesd. Dec 15, 2019
@jam10o-new jam10o-new changed the title [runtime/idea] take advantage of instantiable modulesd. [runtime/idea] take advantage of instantiable modules. Dec 15, 2019
@jam10o-new
Copy link
Author

I've just been informed that instances can only be defined at runtime so the idea of using them to manage parallel challenges largely goes down the drain.

@serapath serapath mentioned this issue Jan 11, 2020
28 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature new feature or implementation idea/discussion refactor for refactors - don't bother until milestone 2 runtime runtime modules and substrate
Projects
None yet
Development

No branches or pull requests

1 participant