Skip to content

doc: rpc: Use "output script" consistently (2/2) - #30524

Merged
fanquake merged 1 commit into
bitcoin:masterfrom
maflcko:2407-rpc-doc-output-script
Aug 12, 2024
Merged

fanquake merged 1 commit into
bitcoin:masterfrom
maflcko:2407-rpc-doc-output-script

Conversation

@maflcko

@maflcko maflcko commented Jul 25, 2024 •

Copy link
Copy Markdown
Member

Small follow-up to #30408 to fixup the RPCs that were forgotten.

@DrahtBot

DrahtBot commented Jul 25, 2024 •

Copy link
Copy Markdown
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Code Coverage

For detailed information about the code coverage, see the test coverage report.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK theStack

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

@theStack

Copy link
Copy Markdown
Contributor

Thanks for following up. #30408 was specifically targeted at the "hex" and "asm" result fields, but of course it makes sense to fix the wording in other RPC doc places as well. git greping for \"scriptPubKey\" reveals that there are many more that aren't tackled yet, especially for wallet-related RPCs:

{"scriptPubKey", RPCArg::Type::STR_HEX, RPCArg::Optional::NO, "script key"},

{"scriptPubKey", RPCArg::Type::STR_HEX, RPCArg::Optional::NO, "script key"},

{RPCResult::Type::STR_HEX, "scriptPubKey", "The hex-encoded scriptPubKey generated by the address."},

{RPCResult::Type::STR, "scriptPubKey", "the script key"},

@maflcko
maflcko force-pushed the 2407-rpc-doc-output-script branch from fadb457 to fa5755b Compare July 25, 2024 14:36
@maflcko

maflcko commented Jul 25, 2024

Copy link
Copy Markdown
Member Author

especially for wallet-related RPCs:

I forgot them. Done all now.

@theStack theStack left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm ACK fa5755b

@fanquake
fanquake merged commit 1900336 into bitcoin:master Aug 12, 2024
@maflcko
maflcko deleted the 2407-rpc-doc-output-script branch August 12, 2024 12:12
@bitcoin bitcoin locked and limited conversation to collaborators Aug 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants