Skip to content

Commit ad8af04

Browse files
committed
Correct typos across the entire codebase
1 parent 08e23fa commit ad8af04

File tree

10 files changed

+17
-19
lines changed

10 files changed

+17
-19
lines changed

client/CHANGELOG.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
# 0.4.0 - 2024-11-14
3737

3838
- Add support for Bitcoin Core v28
39-
- Re-name the repository from `rust-bitcoind-josn-rpc` to `corepc`.
40-
- Re-name the crate from `bitcoind-josn-rpc-client` to `corepc-client`.
39+
- Re-name the repository from `rust-bitcoind-json-rpc` to `corepc`.
40+
- Re-name the crate from `bitcoind-json-rpc-client` to `corepc-client`.
4141

4242
# 0.3.0 - 2024-06-21
4343

@@ -55,4 +55,3 @@
5555
# 0.1.0 - 2024-06-13
5656

5757
Initial release.
58-

contrib/run-bitcoind.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ CONFIGURATION
3636
<VERSION_ALIAS> <VERSION_NUMBER> <VERSION_ID> <BITCOIND_PATH>
3737
3838
VERSION_ALIAS Passed as command line argument to $(start).
39-
VERISON_NUMBER The Bitocin Core version number.
39+
VERSION_NUMBER The Bitcoin Core version number.
4040
VERSION_ID Used as part of port numbers.
4141
BITCOIND_PATH Path to $(bitcoind) binary.
4242

fuzz/cycle.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
# Continuosly cycle over fuzz targets running each for 1 hour.
3+
# Continuously cycle over fuzz targets running each for 1 hour.
44
# It uses chrt SCHED_IDLE so that other process takes priority.
55
#
66
# For hfuzz options see https://github.com/google/honggfuzz/blob/master/docs/USAGE.md

integration_test/tests/raw_transactions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ fn raw_transactions__decode_psbt__modelled() {
150150
use bitcoin::bip32::{Fingerprint, DerivationPath, Xpub};
151151

152152
let mut map = BTreeMap::default();
153-
// Some arbitrary xpub I grabbed fom rust-bitcoin.
153+
// Some arbitrary xpub I grabbed from rust-bitcoin.
154154
let xpub = "xpub6ERApfZwUNrhLCkDtcHTcxd75RbzS1ed54G1LkBUHQVHQKqhMkhgbmJbZRkrgZw4koxb5JaHWkY4ALHY2grBGRjaDMzQLcgJvLJuZZvRcEL";
155155
let xpub = xpub.parse::<Xpub>().expect("failed to parse xpub");
156156
let fp = Fingerprint::from([1u8, 2, 3, 42]);

node/CHANGELOG.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
# 0.4.0 - 2024-11-14
3333

3434
- Add support for Bitcoin Core v28
35-
- Re-name the repository from `rust-bitcoind-josn-rpc` to `corepc`.
36-
- Re-name the crate from `bitcoind-josn-rpc-regtest` to `corepc-node`.
35+
- Re-name the repository from `rust-bitcoind-json-rpc` to `corepc`.
36+
- Re-name the crate from `bitcoind-json-rpc-regtest` to `corepc-node`.
3737

3838
# 0.3.0 - 2024-06-21
3939

@@ -51,4 +51,3 @@ confusion around the flag on `docs.rs` that says "Available on crate feature 26_
5151
# 0.1.0 - 2024-06-13
5252

5353
Initial release, this is an import of `bitcoind v.036.0`.
54-

node/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ pub fn downloaded_exe_path() -> anyhow::Result<String> {
623623
///
624624
/// 1) If it's specified in the `BITCOIND_EXE` env var
625625
/// 2) If there is no env var but the auto-download feature is enabled, returns the
626-
/// path of the downloaded executabled
626+
/// path of the downloaded executable
627627
/// 3) If neither of the precedent are available, the `bitcoind` executable is searched in the `PATH`
628628
pub fn exe_path() -> anyhow::Result<String> {
629629
if let Ok(path) = std::env::var("BITCOIND_EXE") {

types/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
# 0.4.0 - 2024-11-14
3939

4040
- Add support for Bitcoin Core v28
41-
- Re-name the repository from `rust-bitcoind-josn-rpc` to `corepc`.
42-
- Re-name the crate from `bitcoind-josn-rpc-types` to `corepc-types`.
41+
- Re-name the repository from `rust-bitcoind-json-rpc` to `corepc`.
42+
- Re-name the crate from `bitcoind-json-rpc-types` to `corepc-types`.
4343

4444
# 0.3.0 - 2024-06-21
4545

types/src/model/blockchain.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ pub struct GetBlockchainInfo {
113113
/// Status of softfork.
114114
#[derive(Clone, Debug, PartialEq, Eq, Deserialize, Serialize)]
115115
pub struct Softfork {
116-
/// The [`SoftforkType`]: one of "burried", "bip9".
116+
/// The [`SoftforkType`]: one of "buried", "bip9".
117117
#[serde(rename = "type")]
118118
pub type_: SoftforkType,
119119
/// The status of bip9 softforks (only for "bip9" type).
@@ -124,11 +124,11 @@ pub struct Softfork {
124124
pub active: bool,
125125
}
126126

127-
/// The softfork type: one of "burried", "bip9".
127+
/// The softfork type: one of "buried", "bip9".
128128
#[derive(Copy, Clone, PartialEq, Eq, Debug, Deserialize, Serialize)]
129129
#[serde(rename_all = "lowercase")]
130130
pub enum SoftforkType {
131-
/// Softfork is "burried" (as defined in [BIP-90]).
131+
/// Softfork is "buried" (as defined in [BIP-90]).
132132
///
133133
/// [BIP-90] <https://github.com/bitcoin/bips/blob/master/bip-0090.mediawiki>
134134
Buried,

types/src/v17/raw_transactions/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ pub struct DecodeScript {
222222
}
223223

224224
/// Seemingly undocumented data returned in the `segwit` field of `DecodeScript`.
225-
// This seems to be the same as `DecodeScript` except the `p2sh` field is caled `p2sh-segwit`.
225+
// This seems to be the same as `DecodeScript` except the `p2sh` field is called `p2sh-segwit`.
226226
#[derive(Clone, Debug, PartialEq, Deserialize, Serialize)]
227227
pub struct DecodeScriptSegwit {
228228
/// Script public key.

types/src/v19/blockchain/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pub struct GetBlockchainInfo {
6565
/// Status of softfork.
6666
#[derive(Clone, Debug, PartialEq, Eq, Deserialize, Serialize)]
6767
pub struct Softfork {
68-
/// The [`SoftforkType`]: one of "burried", "bip9".
68+
/// The [`SoftforkType`]: one of "buried", "bip9".
6969
#[serde(rename = "type")]
7070
pub type_: SoftforkType,
7171
/// The status of bip9 softforks (only for "bip9" type).
@@ -76,11 +76,11 @@ pub struct Softfork {
7676
pub active: bool,
7777
}
7878

79-
/// The softfork type: one of "burried", "bip9".
79+
/// The softfork type: one of "buried", "bip9".
8080
#[derive(Copy, Clone, PartialEq, Eq, Debug, Deserialize, Serialize)]
8181
#[serde(rename_all = "lowercase")]
8282
pub enum SoftforkType {
83-
/// Softfork is "burried" (as defined in [BIP-90]).
83+
/// Softfork is "buried" (as defined in [BIP-90]).
8484
///
8585
/// [BIP-90] <https://github.com/bitcoin/bips/blob/master/bip-0090.mediawiki>
8686
Buried,

0 commit comments

Comments
 (0)