Skip to content

Change the type of prune_target_size field in model::GetBlockchainInfo from u32 to u64#547

Merged
tcharding merged 3 commits intorust-bitcoin:masterfrom
RazorBest:prune-field-getblockchaininfo-model-u64
Apr 14, 2026
Merged

Change the type of prune_target_size field in model::GetBlockchainInfo from u32 to u64#547
tcharding merged 3 commits intorust-bitcoin:masterfrom
RazorBest:prune-field-getblockchaininfo-model-u64

Conversation

@RazorBest
Copy link
Copy Markdown
Contributor

@RazorBest RazorBest commented Apr 10, 2026

Solves #544

Manual testing

Before:

Run git checkout 26e3998a283091abeed33a44a8176ec62c15c4d8 (the commit that introduced the integration test). Then:

cd integration_test/
cargo test --release --features <bitcoind_version>

Example: cargo test --release --features 28_1.

This test should fail in the commit it was introduced.

After:

Checkout back to the branch and run the same test again. Now, the test should succeed.

@RazorBest RazorBest changed the title Change type of prune_target_size field in model::GetBlockchainInfo from u32 to u64 Change the type of prune_target_size field in model::GetBlockchainInfo from u32 to u64 Apr 10, 2026
@RazorBest RazorBest force-pushed the prune-field-getblockchaininfo-model-u64 branch from 73e52d7 to 8402eec Compare April 10, 2026 17:21
@RazorBest RazorBest force-pushed the prune-field-getblockchaininfo-model-u64 branch from 8402eec to b10dc06 Compare April 10, 2026 20:45
Copy link
Copy Markdown
Collaborator

@jamillambert jamillambert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK b10dc06
Nice one.

Copy link
Copy Markdown
Member

@tcharding tcharding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK b10dc06

@tcharding
Copy link
Copy Markdown
Member

Waiting for #549 before merge.

@tcharding tcharding merged commit a618ef0 into rust-bitcoin:master Apr 14, 2026
31 checks passed
@tcharding tcharding added the bug Something isn't working label Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants