ethereum / pyethapp

MIT License
1.28k stars 605 forks source link

Load custom services from config folder #66

Open heikoheiko opened 8 years ago

heikoheiko commented 8 years ago

Load modules found in configdir/contrib on startup. If modules implement a BaseService they should add it to pyethapp.app.services in order to get initialized on startup.

This was started before, non working code can be found here: https://github.com/ethereum/pyethapp/blob/develop/pyethapp/utils.py#L14

RomanZacharia commented 8 years ago

This one seems easy enough to start with. Can someone please give me a hint which module/service I can use to verify the change?

heikoheiko commented 8 years ago

already solved. missing thing is documentation in the wiki and an example in the examples/ folder.

@vbuterin had a write up, how to use it. but i can't find it.