-
Notifications
You must be signed in to change notification settings - Fork 32
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
Conversation
bf93d77
to
f6209da
Compare
|
||
/// Implements Bitcoin Core JSON-RPC API method `generatetodescriptor` | ||
#[macro_export] | ||
macro_rules! impl_client_v17__generate_to_descriptor { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
There was a problem hiding this 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.
Reviewed f6209da |
f6209da
to
7a48f15
Compare
Rebased, only change is fixing the v17 to v20 name. |
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.
7a48f15
to
aa91a26
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK aa91a26
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.