Abstract version of persistent state for onion services
This is somewhat underspecified. We'll need a function that lets the api-user of an onion service provide a mechanism for getting and storing the persistent state associated with that onion service, when necessary. This might be as simple as providing an impl StateMgr
or (more likely) an impl StateHandle<HsState>
.
There may or may not be need to integrate with the keymgr code, depending on how hard or easy we think key export should be.
Part of #729 (closed).
Edited by Nick Mathewson