Merge bitcoindevkit/bdk#1319: chore: typos

8d93fad778565f44cbcc053c7f51fbc27bebf99a chore: typos (Jose Storopoli)

Pull request description:

  More caught on by Nix CI in #1257.

  ### Checklists

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo fmt` and `cargo clippy` before committing

  #### New Features:

  * [ ] I've added tests for the new feature
  * [ ] I've added docs for the new feature

  #### Bugfixes:

  * [ ] This pull request breaks the existing API
  * [ ] I've added tests to reproduce the issue which are now passing
  * [ ] I'm linking the issue being fixed by this PR

ACKs for top commit:
  evanlinjin:
    ACK 8d93fad778565f44cbcc053c7f51fbc27bebf99a
  notmandatory:
    ACK 8d93fad778565f44cbcc053c7f51fbc27bebf99a

Tree-SHA512: 28e0316d457658266b2af1de76b114f87ce7485e386ddecd805dda1266a4e8645612c0fa6bc921c58daa4886558b32b538cccbb1644c96c3bab638dd7c42ee2b
This commit is contained in:
Steve Myers 2024-02-04 13:18:47 -06:00
commit d8f74dc5e4
No known key found for this signature in database
GPG Key ID: 8105A46B22C2D051
4 changed files with 4 additions and 4 deletions

View File

@ -2473,7 +2473,7 @@ impl<D> Wallet<D> {
/// This method takes in an iterator of `(tx, last_seen)` where `last_seen` is the timestamp of /// This method takes in an iterator of `(tx, last_seen)` where `last_seen` is the timestamp of
/// when the transaction was last seen in the mempool. This is used for conflict resolution /// when the transaction was last seen in the mempool. This is used for conflict resolution
/// when there is conflicting unconfirmed transactions. The transaction with the later /// when there is conflicting unconfirmed transactions. The transaction with the later
/// `last_seen` is prioritied. /// `last_seen` is prioritized.
pub fn apply_unconfirmed_txs<'t>( pub fn apply_unconfirmed_txs<'t>(
&mut self, &mut self,
unconfirmed_txs: impl IntoIterator<Item = (&'t Transaction, u64)>, unconfirmed_txs: impl IntoIterator<Item = (&'t Transaction, u64)>,

View File

@ -59,7 +59,7 @@ where
/// Stages a new changeset and commits it (along with any other previously staged changes) to /// Stages a new changeset and commits it (along with any other previously staged changes) to
/// the persistence backend /// the persistence backend
/// ///
/// Convience method for calling [`stage`] and then [`commit`]. /// Convenience method for calling [`stage`] and then [`commit`].
/// ///
/// [`stage`]: Self::stage /// [`stage`]: Self::stage
/// [`commit`]: Self::commit /// [`commit`]: Self::commit

View File

@ -4,7 +4,7 @@
$ cargo run --bin wallet_rpc -- --help $ cargo run --bin wallet_rpc -- --help
wallet_rpc 0.1.0 wallet_rpc 0.1.0
Bitcoind RPC example usign `bdk::Wallet` Bitcoind RPC example using `bdk::Wallet`
USAGE: USAGE:
wallet_rpc [OPTIONS] <DESCRIPTOR> [CHANGE_DESCRIPTOR] wallet_rpc [OPTIONS] <DESCRIPTOR> [CHANGE_DESCRIPTOR]

View File

@ -12,7 +12,7 @@ use std::{path::PathBuf, sync::mpsc::sync_channel, thread::spawn, time::Instant}
const DB_MAGIC: &str = "bdk-rpc-wallet-example"; const DB_MAGIC: &str = "bdk-rpc-wallet-example";
/// Bitcoind RPC example usign `bdk::Wallet`. /// Bitcoind RPC example using `bdk::Wallet`.
/// ///
/// This syncs the chain block-by-block and prints the current balance, transaction count and UTXO /// This syncs the chain block-by-block and prints the current balance, transaction count and UTXO
/// count. /// count.