Repository navigation
rpc: Clarify decodescript RPCResult doc - #15616
Merged
Merged
Conversation
maflcko
force-pushed
the
1903-rpcDocDecodeS
branch
2 times, most recently
from
March 18, 2019 02:26
9e403d6 to
fa80f13
Compare
maflcko
force-pushed
the
1903-rpcDocDecodeS
branch
from
March 18, 2019 02:52
fa80f13 to
fa3caa1
Compare
Contributor
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
maflcko
pushed a commit
that referenced
this pull request
Mar 28, 2019
fa926ec rpc: Mention all output types in decodescript doc (MarcoFalke) fa3caa1 rpc: decodescript use IsValidNumArgs over hardcoded check (MarcoFalke) faad33f rpc: Clarify decodescript RPCResult doc (MarcoFalke) Pull request description: * Remove `"hex"` from the decodescript RPCResult doc * Add `"segwit`" to the doc Follow up to a6099ef and 4f933b3 ACKs for commit fa926e: ryanofsky: utACK fa926ec. Only change since last review is listing possible output types in the help string using a new `GetAllOutputTypes` function Tree-SHA512: e6ecc563d04769942567118d50188467bf64ceb276ba6268928d469e8f06621f2ca1ae1e555d3daa6ec22a615ee259bb31c4141c19818d0f53fb6c529b18381b
deadalnix
pushed a commit
to Bitcoin-ABC/bitcoin-abc
that referenced
this pull request
Oct 26, 2020
Summary: Mention all output types. Remove "hex" from output. General formatting of the output: more whitespaces Due to backports being done out of sequential order, commit fa3caa1666a9baa856e92398a890aaddbdd98f7c (use IsValidNumArgs over hardcoded check) is not relevant for us. See D6580. This is a backport of Core [[bitcoin/bitcoin#15616 | PR15616]] Test Plan: ``` $ src/bitcoin-cli help decodescript Result: { "asm":"asm", (string) Script public key "type":"type", (string) The output type (e.g. nonstandard, pubkey, pubkeyhash, scripthash, multisig, nulldata) "reqSigs": n, (numeric) The required signatures "addresses": [ (json array of string) "address" (string) bitcoin address ,... ], "p2sh":"str" (string) address of P2SH script wrapping this redeem script (not returned if the script is already a P2SH). } ``` Reviewers: O1 Bitcoin ABC, #bitcoin_abc, Fabien Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, Fabien Differential Revision: https://reviews.bitcoinabc.org/D8118
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
"hex"from the decodescript RPCResult doc"segwit" to the docFollow up to a6099ef and 4f933b3