Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions client/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -55,4 +55,3 @@
# 0.1.0 - 2024-06-13

Initial release.

2 changes: 1 addition & 1 deletion contrib/run-bitcoind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ CONFIGURATION
<VERSION_ALIAS> <VERSION_NUMBER> <VERSION_ID> <BITCOIND_PATH>

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.

Expand Down
2 changes: 1 addition & 1 deletion fuzz/cycle.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion integration_test/tests/raw_transactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<Xpub>().expect("failed to parse xpub");
let fp = Fingerprint::from([1u8, 2, 3, 42]);
Expand Down
5 changes: 2 additions & 3 deletions node/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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`.

2 changes: 1 addition & 1 deletion node/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ pub fn downloaded_exe_path() -> anyhow::Result<String> {
///
/// 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<String> {
if let Ok(path) = std::env::var("BITCOIND_EXE") {
Expand Down
4 changes: 2 additions & 2 deletions types/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions types/src/model/blockchain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand All @@ -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] <https://github.com/bitcoin/bips/blob/master/bip-0090.mediawiki>
Buried,
Expand Down
2 changes: 1 addition & 1 deletion types/src/v17/raw_transactions/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions types/src/v19/blockchain/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand All @@ -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] <https://github.com/bitcoin/bips/blob/master/bip-0090.mediawiki>
Buried,
Expand Down