The Database::flush() function is only needed for the sled database on mobile, instead for mobile use the sqlite database.
- Add `sqlite-bundled` feature for deployments that need a bundled version of sqlite, ie. for mobile platforms.
- Added `Wallet::get_signers()`, `Wallet::descriptor_checksum()` and `Wallet::get_address_validators()`, exposed the `AsDerived` trait.
+- Deprecate `database::Database::flush()`, the function is only needed for the sled database on mobile, instead for mobile use the sqlite database.
## [v0.17.0] - [v0.16.1]
macro_rules! impl_inner_method {
( $enum_name:ident, $self:expr, $name:ident $(, $args:expr)* ) => {
+ #[allow(deprecated)]
match $self {
$enum_name::Memory(inner) => inner.$name( $($args, )* ),
#[cfg(feature = "key-value-db")]
/// It should insert and return `0` if not present in the database
fn increment_last_index(&mut self, keychain: KeychainKind) -> Result<u32, Error>;
+ #[deprecated(
+ since = "0.18.0",
+ note = "The flush function is only needed for the sled database on mobile, instead for mobile use the sqlite database."
+ )]
/// Force changes to be written to disk
fn flush(&mut self) -> Result<(), Error>;
}