Skip to content

Address all TODO in v20 #284

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jamillambert
Copy link
Collaborator

Go through all the TODO in v20 types. NB. v17 to v19 are all done already.

Add the new RPC generatetodescriptor.

Other 3 RPCs require no further action, remove the TODO with the reason stated in the commit log.

Add the RPC `generatetodescriptor` type to v20 and add reexports.
Add model, into function, client macro and test.

Update types table up to v29, v23 and later don't have docs for
`Generating` and therefore no table entry.
`createmultisig` said TODO for v20 onwards. It has been done as part of
another PR adding missing fields.

Remove the TODO.
`signmessagewithprivkey` was marked as TODO because it has a return
filed name change in v20 and up. But the struct has a single unnamed
field so no changes are needed.

Remove the TODO.
`validateaddress` was marked as TODO in v20 and up. But there are no
changes up to v29.

Remove the TODO.

/// Implements Bitcoin Core JSON-RPC API method `generatetodescriptor`
#[macro_export]
macro_rules! impl_client_v17__generate_to_descriptor {
Copy link
Member

Choose a reason for hiding this comment

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

In 38b6fe9

cut'n'pasta error here mate, should be v20

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.

Looks good except for the v17 vs v20 thing.

@tcharding
Copy link
Member

Reviewed f6209da

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.

2 participants