-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
trivial: add missing rpc help messages, remove segwit references, dashify help text, undashify code comments #5852
Conversation
This pull request has conflicts, please rebase. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK
Seems as there's no breaking changes in this PR.
Btw, PR description mentions some possible changes such as rename "non_witness_utxo" which annoys me too - let's prepare one more PR for v21?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK for squash merge. No breaking changes detected. @thephez please confirm style is correct
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks okay to me. Just one nit, but nothing that prevents merging.
@@ -369,7 +369,7 @@ static UniValue gettxchainlocks(const JSONRPCRequest& request) | |||
{RPCResult::Type::OBJ, "", "", | |||
{ | |||
{RPCResult::Type::NUM, "height", "The block height"}, | |||
{RPCResult::Type::BOOL, "chainlock", "Chainlock status for the block containing the transaction"}, | |||
{RPCResult::Type::BOOL, "chainlock", "The state of the corresponding block ChainLock"}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: imo the original wording was easier to understand
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue being fixed or feature implemented
This pull request is a follow-up to some feedback received on dash#5834 as the patterns highlighted were present in different parts of the codebase and hence not corrected within the PR itself but addressed separately.
This is that separate PR 🙂 (with some additional cleanup of my own)
What was done?
CWallet::CreateTransaction
and theCreateTransactionTest
fixture have been excluded as the former originates from dash#3668 and the latter from dash#3667 and are distinct enough to be unique to Dash Core.getrawmempool
,getmempoolancestors
,getmempooldescendants
andgetmempoolentry
returnvsize
which is currently an alias ofsize
. I have been advised to retainvsize
in lieu of potential future developments. (this was originally remedied in 219a1d0 but has since been dropped)getaddressmempool
,getaddressutxos
andgetaddressdeltas
all return a value with the keysatoshis
. This is frustrating to rename toduffs
for compatibility reasons.decodepsbt
returns (if applicable)non_witness_utxo
which is frustrating to rename simply toutxo
for the same reason.analyzepsbt
returns (if applicable)estimated_vsize
which frustrating to rename toestimated_size
for the same reason.How Has This Been Tested?
Breaking Changes
None
Checklist: