bdk
bdk copied to clipboard
Remove persistence backend generics from Wallet<T>
The only reason we have T and don't just have a Box<dyn PersitenceBackend> internally is the custom error types. We could easily make standard error enum for persistence failures. This would remove the generic and therefore make using the wallet easier. Especially it would be easier to pass across FFI boundries.