Skip to content

Conversation

@natobritto
Copy link
Contributor

Bitcoin Core v30 marks the blockhashes and scanobjects arguments of getdescriptoractivity RPC as required, instead of failing with a JSON parsing error when omitted.

This change is listed here in Bitcoin Core's v30 release notes.

Partially fixes issue #474.

#[cfg(not(feature = "v29_and_below"))]
{
node.client
.get_descriptor_activity(&[] as &[bitcoin::BlockHash], &[] as &[&str])
Copy link
Collaborator

Choose a reason for hiding this comment

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

It would be nice to pass in non-empty data so that the change in the required args is actually tested.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Included some argument data. Btw, tysm for all the reviews!

Copy link
Collaborator

Choose a reason for hiding this comment

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

No worries, I don't mind spending time reviewing good PRs where suggestions are quickly fixed 😊.

@natobritto natobritto force-pushed the update-getdescriptoractivity-args branch from 54391fd to 9d03144 Compare January 26, 2026 18:51
Bitcoin Core v30 marks the blockhashes and scanobjects
arguments of getdescriptoractivity as required, instead
of failing with a JSON parsing error when omitted.
@natobritto natobritto force-pushed the update-getdescriptoractivity-args branch from 9d03144 to 85747f8 Compare January 26, 2026 19:31
Copy link
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 85747f8

Copy link
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 85747f8

@tcharding tcharding merged commit 09c245f into rust-bitcoin:master Feb 9, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants