diff --git a/client/CHANGELOG.md b/client/CHANGELOG.md index e4dcc1a6..f65cd3f1 100644 --- a/client/CHANGELOG.md +++ b/client/CHANGELOG.md @@ -36,8 +36,8 @@ # 0.4.0 - 2024-11-14 - Add support for Bitcoin Core v28 -- Re-name the repository from `rust-bitcoind-josn-rpc` to `corepc`. -- Re-name the crate from `bitcoind-josn-rpc-client` to `corepc-client`. +- Re-name the repository from `rust-bitcoind-json-rpc` to `corepc`. +- Re-name the crate from `bitcoind-json-rpc-client` to `corepc-client`. # 0.3.0 - 2024-06-21 @@ -55,4 +55,3 @@ # 0.1.0 - 2024-06-13 Initial release. - diff --git a/contrib/run-bitcoind.sh b/contrib/run-bitcoind.sh index 9ca683e2..fe9ff044 100755 --- a/contrib/run-bitcoind.sh +++ b/contrib/run-bitcoind.sh @@ -36,7 +36,7 @@ CONFIGURATION VERSION_ALIAS Passed as command line argument to $(start). - VERISON_NUMBER The Bitocin Core version number. + VERSION_NUMBER The Bitcoin Core version number. VERSION_ID Used as part of port numbers. BITCOIND_PATH Path to $(bitcoind) binary. diff --git a/fuzz/cycle.sh b/fuzz/cycle.sh index 294f32b0..b91c7f27 100755 --- a/fuzz/cycle.sh +++ b/fuzz/cycle.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Continuosly cycle over fuzz targets running each for 1 hour. +# Continuously cycle over fuzz targets running each for 1 hour. # It uses chrt SCHED_IDLE so that other process takes priority. # # For hfuzz options see https://github.com/google/honggfuzz/blob/master/docs/USAGE.md diff --git a/integration_test/tests/raw_transactions.rs b/integration_test/tests/raw_transactions.rs index 991da51e..41a33bc4 100644 --- a/integration_test/tests/raw_transactions.rs +++ b/integration_test/tests/raw_transactions.rs @@ -150,7 +150,7 @@ fn raw_transactions__decode_psbt__modelled() { use bitcoin::bip32::{Fingerprint, DerivationPath, Xpub}; let mut map = BTreeMap::default(); - // Some arbitrary xpub I grabbed fom rust-bitcoin. + // Some arbitrary xpub I grabbed from rust-bitcoin. let xpub = "xpub6ERApfZwUNrhLCkDtcHTcxd75RbzS1ed54G1LkBUHQVHQKqhMkhgbmJbZRkrgZw4koxb5JaHWkY4ALHY2grBGRjaDMzQLcgJvLJuZZvRcEL"; let xpub = xpub.parse::().expect("failed to parse xpub"); let fp = Fingerprint::from([1u8, 2, 3, 42]); diff --git a/node/CHANGELOG.md b/node/CHANGELOG.md index 96adac0f..652f3e84 100644 --- a/node/CHANGELOG.md +++ b/node/CHANGELOG.md @@ -32,8 +32,8 @@ # 0.4.0 - 2024-11-14 - Add support for Bitcoin Core v28 -- Re-name the repository from `rust-bitcoind-josn-rpc` to `corepc`. -- Re-name the crate from `bitcoind-josn-rpc-regtest` to `corepc-node`. +- Re-name the repository from `rust-bitcoind-json-rpc` to `corepc`. +- Re-name the crate from `bitcoind-json-rpc-regtest` to `corepc-node`. # 0.3.0 - 2024-06-21 @@ -51,4 +51,3 @@ confusion around the flag on `docs.rs` that says "Available on crate feature 26_ # 0.1.0 - 2024-06-13 Initial release, this is an import of `bitcoind v.036.0`. - diff --git a/node/src/lib.rs b/node/src/lib.rs index 74887ad4..26cd7bca 100644 --- a/node/src/lib.rs +++ b/node/src/lib.rs @@ -623,7 +623,7 @@ pub fn downloaded_exe_path() -> anyhow::Result { /// /// 1) If it's specified in the `BITCOIND_EXE` env var /// 2) If there is no env var but the auto-download feature is enabled, returns the -/// path of the downloaded executabled +/// path of the downloaded executable /// 3) If neither of the precedent are available, the `bitcoind` executable is searched in the `PATH` pub fn exe_path() -> anyhow::Result { if let Ok(path) = std::env::var("BITCOIND_EXE") { diff --git a/types/CHANGELOG.md b/types/CHANGELOG.md index ced899ef..a7a83c99 100644 --- a/types/CHANGELOG.md +++ b/types/CHANGELOG.md @@ -38,8 +38,8 @@ # 0.4.0 - 2024-11-14 - Add support for Bitcoin Core v28 -- Re-name the repository from `rust-bitcoind-josn-rpc` to `corepc`. -- Re-name the crate from `bitcoind-josn-rpc-types` to `corepc-types`. +- Re-name the repository from `rust-bitcoind-json-rpc` to `corepc`. +- Re-name the crate from `bitcoind-json-rpc-types` to `corepc-types`. # 0.3.0 - 2024-06-21 diff --git a/types/src/model/blockchain.rs b/types/src/model/blockchain.rs index 1f204900..fa9f63e0 100644 --- a/types/src/model/blockchain.rs +++ b/types/src/model/blockchain.rs @@ -113,7 +113,7 @@ pub struct GetBlockchainInfo { /// Status of softfork. #[derive(Clone, Debug, PartialEq, Eq, Deserialize, Serialize)] pub struct Softfork { - /// The [`SoftforkType`]: one of "burried", "bip9". + /// The [`SoftforkType`]: one of "buried", "bip9". #[serde(rename = "type")] pub type_: SoftforkType, /// The status of bip9 softforks (only for "bip9" type). @@ -124,11 +124,11 @@ pub struct Softfork { pub active: bool, } -/// The softfork type: one of "burried", "bip9". +/// The softfork type: one of "buried", "bip9". #[derive(Copy, Clone, PartialEq, Eq, Debug, Deserialize, Serialize)] #[serde(rename_all = "lowercase")] pub enum SoftforkType { - /// Softfork is "burried" (as defined in [BIP-90]). + /// Softfork is "buried" (as defined in [BIP-90]). /// /// [BIP-90] Buried, diff --git a/types/src/v17/raw_transactions/mod.rs b/types/src/v17/raw_transactions/mod.rs index de4cdfc2..e9ec5716 100644 --- a/types/src/v17/raw_transactions/mod.rs +++ b/types/src/v17/raw_transactions/mod.rs @@ -222,7 +222,7 @@ pub struct DecodeScript { } /// Seemingly undocumented data returned in the `segwit` field of `DecodeScript`. -// This seems to be the same as `DecodeScript` except the `p2sh` field is caled `p2sh-segwit`. +// This seems to be the same as `DecodeScript` except the `p2sh` field is called `p2sh-segwit`. #[derive(Clone, Debug, PartialEq, Deserialize, Serialize)] pub struct DecodeScriptSegwit { /// Script public key. diff --git a/types/src/v19/blockchain/mod.rs b/types/src/v19/blockchain/mod.rs index 587ee287..a53f0b56 100644 --- a/types/src/v19/blockchain/mod.rs +++ b/types/src/v19/blockchain/mod.rs @@ -65,7 +65,7 @@ pub struct GetBlockchainInfo { /// Status of softfork. #[derive(Clone, Debug, PartialEq, Eq, Deserialize, Serialize)] pub struct Softfork { - /// The [`SoftforkType`]: one of "burried", "bip9". + /// The [`SoftforkType`]: one of "buried", "bip9". #[serde(rename = "type")] pub type_: SoftforkType, /// The status of bip9 softforks (only for "bip9" type). @@ -76,11 +76,11 @@ pub struct Softfork { pub active: bool, } -/// The softfork type: one of "burried", "bip9". +/// The softfork type: one of "buried", "bip9". #[derive(Copy, Clone, PartialEq, Eq, Debug, Deserialize, Serialize)] #[serde(rename_all = "lowercase")] pub enum SoftforkType { - /// Softfork is "burried" (as defined in [BIP-90]). + /// Softfork is "buried" (as defined in [BIP-90]). /// /// [BIP-90] Buried,