Skip to content

Conversation

@ryanofsky
Copy link
Contributor

Suggested by @Sjors in #11536 (comment)

@Sjors
Copy link
Member

Sjors commented Mar 15, 2018

Concept ACK. Ideally there would also be some comment next to each alias in places like CRPCCommand commands[], but apparently that's non trivial.

@ryanofsky
Copy link
Contributor Author

Ideally there would also be some comment next to each alias in places like CRPCCommand commands[]

What would the comment say, and why would it be helpful? The only non-obvious behavior I can think of regarding aliases is that they are omitted from the command listing in help text, and this doesn't seem like a relevant fact to mention in the middle of command registration.

@PierreRochard
Copy link
Contributor

ACK 4c317d8

@laanwj
Copy link
Member

laanwj commented Mar 19, 2018

utACK 4c317d8. This is exactly the behavior that is desirable for deprecating/renaming RPCs, but needs to be documented.

@laanwj laanwj merged commit 4c317d8 into bitcoin:master Mar 19, 2018
laanwj added a commit that referenced this pull request Mar 19, 2018
4c317d8 Document RPC method aliasing (Russell Yanofsky)

Pull request description:

  Suggested by @Sjors in #11536 (comment)

Tree-SHA512: 7bf16238e41b6c6c078e9103d8eac2ac76739a2c16b4f964be49bfde1f20f31a1fb30badf1faaa6ddc301a74f0d785d19567069b50de78c502144479143cb38c
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Jul 17, 2020
4c317d8 Document RPC method aliasing (Russell Yanofsky)

Pull request description:

  Suggested by @Sjors in bitcoin#11536 (comment)

Tree-SHA512: 7bf16238e41b6c6c078e9103d8eac2ac76739a2c16b4f964be49bfde1f20f31a1fb30badf1faaa6ddc301a74f0d785d19567069b50de78c502144479143cb38c
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
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.

6 participants