Skip to content

Conversation

@dzutto
Copy link

@dzutto dzutto commented Nov 5, 2021

This (hopefully) wraps us the series of backports of changes related to RPCHelpMan and RPC documentation.

MarcoFalke and others added 4 commits November 9, 2021 15:24
faa1522 RPCHelpMan: Pass through Result and Examples (MarcoFalke)

Pull request description:

  Passing the rpc result and rpc examples through `RPCHelpMan` makes it clear in what order they appear in the stringified version. Future improvements could then autoformat or autogenerate them.

Tree-SHA512: b32a5c178cc80f50a7e9b93a38e2b26d5994188ecafe9e61bbc599941b44b9b0e4e4be6413d4464fac6e8e73661a191a77d34917f2e6293de19fb59519dd4487
…mpile-time

fa0ad4e RPCHelpMan: Check default values are given at compile-time (MarcoFalke)

Pull request description:

  Remove the run time assertions on the default values and ensure that the correct default type and value is provided at compile time.

Tree-SHA512: 80df2f3fab4379b500c773c27da63f22786c58be5963fe99744746320e43627a5d433eedf8b32209158df7805ebdce65ed4d242c829c4fe6e5d13deb4799ed42
The new name should hopefully reflect the purpose of the function
better.

Signed-off-by: Dzutte <[email protected]>
@dzutto dzutto force-pushed the merge_14987_14918 branch from c4b2cd2 to ed9cf45 Compare November 9, 2021 23:39
@dzutto dzutto requested a review from UdjinM6 November 10, 2021 02:46
@UdjinM6 UdjinM6 added this to the 18 milestone Nov 11, 2021
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

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

LGTM, utACK

TODO for future PRs: check all empty arg defaults and descriptions in Dash-specific RPCs and specify correct ones where it makes sense

Copy link
Member

@PastaPastaPasta PastaPastaPasta left a comment

Choose a reason for hiding this comment

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

utACK for merging via merge commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants