Currently the only way to link a working iota library is by using init. This is especially difficult if you're persisting and loading the state of the mam channel, as you would have to call init again for no reason (and waste time by letting mam generate a channel you're not going to use anyway, since you have the state at hand)
By giving a method to externally set the iota library without having to init, you can avoid this and load the state directly.
Currently the only way to link a working iota library is by using
init
. This is especially difficult if you're persisting and loading the state of the mam channel, as you would have to call init again for no reason (and waste time by letting mam generate a channel you're not going to use anyway, since you have the state at hand)By giving a method to externally set the iota library without having to init, you can avoid this and load the state directly.