-
Notifications
You must be signed in to change notification settings - Fork 38.7k
[doc] Add hint about getmempoolentry to getrawmempool help. #10310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[doc] Add hint about getmempoolentry to getrawmempool help. #10310
Conversation
81a1a54 to
41bc5ba
Compare
|
utACK 41bc5ba TIL |
|
Yes. Adding a hint makes sense. |
|
agreed @jonasschnelli I think just putting that in the main body of help is best. I might stop reading by the examples... |
|
I agree with the others. The hint should be further up, between the main text and the arguments listing. Otherwise utACK |
41bc5ba to
06eb5a7
Compare
|
Moved hint to below description. Should it be a part of it (i.e. no space)? Below is current output: |
|
utACK |
|
ACK 06eb5a7 |
06eb5a7 to
3a0a5bc
Compare
|
Apologies; re-committed verified, same as 06eb5a7. |
|
utACK |
|
reACK 3a0a5bc |
…elp. 3a0a5bc [doc] Add hint about getmempoolentry to getrawmempool help. (Karl-Johan Alm) Tree-SHA512: 8327d7d7ad93296525fbf95b7a824e3525bde84653999f125afd845823eb39e3a03cd39725962ed949aa2b9ad207ecad6d287294fa321ff1a4d7fbd5a4b8560b
Github-Pull: bitcoin#10310 Rebased-From: 3a0a5bc
…mpool help. 3a0a5bc [doc] Add hint about getmempoolentry to getrawmempool help. (Karl-Johan Alm) Tree-SHA512: 8327d7d7ad93296525fbf95b7a824e3525bde84653999f125afd845823eb39e3a03cd39725962ed949aa2b9ad207ecad6d287294fa321ff1a4d7fbd5a4b8560b
…mpool help. 3a0a5bc [doc] Add hint about getmempoolentry to getrawmempool help. (Karl-Johan Alm) Tree-SHA512: 8327d7d7ad93296525fbf95b7a824e3525bde84653999f125afd845823eb39e3a03cd39725962ed949aa2b9ad207ecad6d287294fa321ff1a4d7fbd5a4b8560b
Github-Pull: bitcoin#10310 Rebased-From: 3a0a5bc
…mpool help. 3a0a5bc [doc] Add hint about getmempoolentry to getrawmempool help. (Karl-Johan Alm) Tree-SHA512: 8327d7d7ad93296525fbf95b7a824e3525bde84653999f125afd845823eb39e3a03cd39725962ed949aa2b9ad207ecad6d287294fa321ff1a4d7fbd5a4b8560b
…elp. Summary: 3a0a5bc [doc] Add hint about getmempoolentry to getrawmempool help. (Karl-Johan Alm) Tree-SHA512: 8327d7d7ad93296525fbf95b7a824e3525bde84653999f125afd845823eb39e3a03cd39725962ed949aa2b9ad207ecad6d287294fa321ff1a4d7fbd5a4b8560b Backport of Core PR10310 bitcoin/bitcoin#10310 Test Plan: make check ./bitcoind ./bitcoin-cli help getrawmempool `Hint: use getmempoolentry to fetch a specific transaction from the mempool.` should be visible in the help text Reviewers: deadalnix, Fabien, jasonbcox, markblundeberg, O1 Bitcoin ABC, #bitcoin_abc Reviewed By: jasonbcox, O1 Bitcoin ABC, #bitcoin_abc Differential Revision: https://reviews.bitcoinabc.org/D3467
…elp. Summary: 3a0a5bc [doc] Add hint about getmempoolentry to getrawmempool help. (Karl-Johan Alm) Tree-SHA512: 8327d7d7ad93296525fbf95b7a824e3525bde84653999f125afd845823eb39e3a03cd39725962ed949aa2b9ad207ecad6d287294fa321ff1a4d7fbd5a4b8560b Backport of Core PR10310 bitcoin/bitcoin#10310 Test Plan: make check ./bitcoind ./bitcoin-cli help getrawmempool `Hint: use getmempoolentry to fetch a specific transaction from the mempool.` should be visible in the help text Reviewers: deadalnix, Fabien, jasonbcox, markblundeberg, O1 Bitcoin ABC, #bitcoin_abc Reviewed By: jasonbcox, O1 Bitcoin ABC, #bitcoin_abc Differential Revision: https://reviews.bitcoinabc.org/D3467
…elp. Summary: 3a0a5bc [doc] Add hint about getmempoolentry to getrawmempool help. (Karl-Johan Alm) Tree-SHA512: 8327d7d7ad93296525fbf95b7a824e3525bde84653999f125afd845823eb39e3a03cd39725962ed949aa2b9ad207ecad6d287294fa321ff1a4d7fbd5a4b8560b Backport of Core PR10310 bitcoin/bitcoin#10310 Test Plan: make check ./bitcoind ./bitcoin-cli help getrawmempool `Hint: use getmempoolentry to fetch a specific transaction from the mempool.` should be visible in the help text Reviewers: deadalnix, Fabien, jasonbcox, markblundeberg, O1 Bitcoin ABC, #bitcoin_abc Reviewed By: jasonbcox, O1 Bitcoin ABC, #bitcoin_abc Differential Revision: https://reviews.bitcoinabc.org/D3467
Lots of people seem to be unaware that getmempoolentry even exists (myself included, before today; see #10300 & #10304), so adding a hint to getrawmempool seems warranted.
I was tempted to start adding "See also: ..." strings to all RPC commands but wasn't sure that was generally desired.