Commit fc26eaa
committed
Merge #590: Use snake case for block hash parameters
bbf888c client: use snake case for block hash parameters (peter941221)
Pull request description:
Closes #462.
This renames corepc-owned Rust parameter identifiers from `blockhash` to `block_hash`.
Left unchanged:
- Bitcoin Core RPC method/argument names such as `"blockhash"`;
- serde wire-format renames;
- external `bitcoin::block::Header::prev_blockhash` fields.
Verified with:
- `cargo +nightly-2025-09-12 fmt --all --check`
- `cargo check --manifest-path client/Cargo.toml --all-targets --all-features`
ACKs for top commit:
tcharding:
ACK bbf888c
Tree-SHA512: 5f614820d994f018a6a5a94926b84f44bd21b8593520ee2b40717efd71014072add6765867a244c314a5f7c9f0786c5417cd867930f173e8386660bc5489eb612 files changed
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
| 85 | + | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
40 | | - | |
| 40 | + | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
0 commit comments