Skip to content

Conversation

luke-jr
Copy link
Member

@luke-jr luke-jr commented Jul 25, 2022

Inspired by #24718

@luke-jr luke-jr force-pushed the docfix_getblock&asmhex branch from 634e094 to 56d9244 Compare July 25, 2022 06:06
Copy link
Contributor

@kristapsk kristapsk left a comment

Choose a reason for hiding this comment

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

cr utACK 56d9244

@maflcko maflcko merged commit f27d5f6 into bitcoin:master Jul 25, 2022
{RPCResult::Type::STR, "asm", "The asm"},
{RPCResult::Type::STR_HEX, "hex", "The hex"},
{RPCResult::Type::STR, "asm", "Disassembly of the public key script"},
{RPCResult::Type::STR, "desc", "Inferred descriptor for the output"},
Copy link
Member

Choose a reason for hiding this comment

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

We should probably get rid of RPCResult::Type::ELISION to have the test check for invalid docs here

Copy link
Member Author

Choose a reason for hiding this comment

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

But then the docs themselves would be less helpful. Maybe there's a better way? (A flag for elided fields in place of a description?)

sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Jul 25, 2022
@bitcoin bitcoin locked and limited conversation to collaborators Jul 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants