Compare commits
6 Commits
v1.0.0-bet
...
frost
Author | SHA1 | Date | |
---|---|---|---|
|
785371e0a1 | ||
|
18626c66ac | ||
|
8bf8c7d080 | ||
|
a8efeaa0fb | ||
|
82141a8201 | ||
|
28d75304e1 |
1
.github/workflows/cont_integration.yml
vendored
1
.github/workflows/cont_integration.yml
vendored
@ -36,6 +36,7 @@ jobs:
|
||||
cargo update -p proptest --precise "1.2.0"
|
||||
cargo update -p url --precise "2.5.0"
|
||||
cargo update -p cc --precise "1.0.105"
|
||||
cargo update -p tokio --precise "1.38.1"
|
||||
- name: Build
|
||||
run: cargo build ${{ matrix.features }}
|
||||
- name: Test
|
||||
|
@ -74,6 +74,7 @@ cargo update -p home --precise "0.5.5"
|
||||
cargo update -p proptest --precise "1.2.0"
|
||||
cargo update -p url --precise "2.5.0"
|
||||
cargo update -p cc --precise "1.0.105"
|
||||
cargo update -p tokio --precise "1.38.1"
|
||||
```
|
||||
|
||||
## License
|
||||
|
@ -107,7 +107,7 @@ impl<T> Persisted<T> {
|
||||
Ok(T::load(db, params)?.map(|inner| Self { inner }))
|
||||
}
|
||||
|
||||
/// Contruct a persisted `T` from an async `Db`.
|
||||
/// Construct a persisted `T` from an async `Db`.
|
||||
pub async fn load_async<Db>(
|
||||
db: &mut Db,
|
||||
params: T::LoadParams,
|
||||
|
@ -93,7 +93,6 @@ impl ChangeSet {
|
||||
Self::init_wallet_sqlite_tables(db_tx)?;
|
||||
use chain::rusqlite::OptionalExtension;
|
||||
use chain::Impl;
|
||||
use miniscript::{Descriptor, DescriptorPublicKey};
|
||||
|
||||
let mut changeset = Self::default();
|
||||
|
||||
|
@ -150,7 +150,7 @@ impl LoadParams {
|
||||
}
|
||||
|
||||
/// Checks that `descriptor` of `keychain` matches this, and extracts private keys (if
|
||||
/// avaliable).
|
||||
/// available).
|
||||
pub fn descriptors<D>(mut self, descriptor: D, change_descriptor: D) -> Self
|
||||
where
|
||||
D: IntoWalletDescriptor + 'static,
|
||||
|
@ -154,7 +154,7 @@ impl<E: fmt::Debug + fmt::Display> std::error::Error for LoadWithPersistError<E>
|
||||
pub enum CreateWithPersistError<E> {
|
||||
/// Error from persistence.
|
||||
Persist(E),
|
||||
/// Occurs when the loaded changeset cannot contruct [`Wallet`].
|
||||
/// Occurs when the loaded changeset cannot construct [`Wallet`].
|
||||
Descriptor(DescriptorError),
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user