Closed jheretic closed 10 years ago
we should coordinate with Jeremy Lakeman on this. He mentioned wanting to reduce the redundancy here as well, so that the Serval daemon could dynamically link against its library instead of statically linking everything. Presumably we'd still need the Serval daemon functionality for implementing the overlay network and caching Serval keys of neighbors.
This has been implemented in the plugins branch, soon to be merged to master.
The best way to utilize serval is by linking against their library, not by conducting IPC with their daemon as we do now. Consequently, we should integrate the subset of crypto and messaging operations we utilize into the commotion daemon and then write a plugin linking their implementation against libserval.