-
Couldn't load subscription status.
- Fork 1.2k
backport: bitcoin#24408, #24959, #25161, #25170, #25237 #6887
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
base: develop
Are you sure you want to change the base?
Changes from all commits
80f1060
5f683dc
ef55404
9d93d59
f4d8b03
5fe76ef
35ea486
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -246,7 +246,27 @@ static RPCHelpMan quorum_info() | |||||||||||||||||||||||||||
| RPCResult{ | ||||||||||||||||||||||||||||
| RPCResult::Type::OBJ, "", "", | ||||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||||
| {RPCResult::Type::ELISION, "", ""} | ||||||||||||||||||||||||||||
| {RPCResult::Type::NUM, "height", "Quorum Height"}, | ||||||||||||||||||||||||||||
| {RPCResult::Type::STR, "type", "Quorum type"}, | ||||||||||||||||||||||||||||
| {RPCResult::Type::STR_HEX, "quorumHash", "Quorum hash"}, | ||||||||||||||||||||||||||||
| {RPCResult::Type::NUM, "quorumIndex", "Quorum index (applicable only to rotated quorums)."}, | ||||||||||||||||||||||||||||
| {RPCResult::Type::STR_HEX, "minedBlock", "Blockhash where the commitment was mined."}, | ||||||||||||||||||||||||||||
| {RPCResult::Type::NUM, "previousConsecutiveDKGFailures", "Number of previous consecutive DKG failures."}, | ||||||||||||||||||||||||||||
| {RPCResult::Type::ARR, "members", "Members of quorum", | ||||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||||
| {RPCResult::Type::OBJ, "", "", | ||||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||||
| {RPCResult::Type::STR_HEX, "proTxHash", "ProTx of collaterial"}, | ||||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. syntax: Typo: 'collaterial' should be 'collateral' Prompt To Fix With AIThis is a comment left during a code review.
Path: src/rpc/quorums.cpp
Line: 259:259
Comment:
**syntax:** Typo: 'collaterial' should be 'collateral'
How can I resolve this? If you propose a fix, please make it concise.There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||||||||||||||||||||||||||||
| {RPCResult::Type::STR, "service", "Address of node. Legacy, will be deprecated in further versions. See `addresses` instead."}, | ||||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||||||||||||||||||||||||||||
| {RPCResult::Type::ARR, "addresses", "Addresses of node", | ||||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please use Lines 498 to 508 in f650f65
It's forward declared in Lines 60 to 61 in f650f65
|
||||||||||||||||||||||||||||
| // TODO - expand it when extended addresses are fully implemented | ||||||||||||||||||||||||||||
| {{RPCResult::Type::ELISION, "", ""}}, | ||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||
| {RPCResult::Type::STR_HEX, "pubKeyOperator", "The operator BLS public key"}, | ||||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We've already defined Line 60 in f650f65
|
||||||||||||||||||||||||||||
| {RPCResult::Type::BOOL, "valid", "True is member valid for this DKG"} | ||||||||||||||||||||||||||||
| }}, | ||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||
| RPCExamples{""}, | ||||||||||||||||||||||||||||
|
|
@@ -309,7 +329,7 @@ static RPCHelpMan quorum_dkgstatus() | |||||||||||||||||||||||||||
| // TODO: list fields of output for RPC help instead ELISION | ||||||||||||||||||||||||||||
| {{RPCResult::Type::ELISION, "", ""}}, | ||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||
| {RPCResult::Type::ARR, "mineableCommitments", "", | ||||||||||||||||||||||||||||
| {RPCResult::Type::ARR, "minableCommitments", "", | ||||||||||||||||||||||||||||
| // TODO: list fields of output for RPC help instead ELISION | ||||||||||||||||||||||||||||
| {{RPCResult::Type::ELISION, "", ""}}, | ||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||
|
|
@@ -427,7 +447,7 @@ static RPCHelpMan quorum_memberof() | |||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||||
| {RPCResult::Type::OBJ, "", "Quorum Info", | ||||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||||
| {RPCResult::Type::ELISION, "", "See for details help for `quorum info`"}, | ||||||||||||||||||||||||||||
| {RPCResult::Type::ELISION, "", "See `help quorum info` for details"}, | ||||||||||||||||||||||||||||
| {RPCResult::Type::BOOL, "isValidMember", ""}, | ||||||||||||||||||||||||||||
| {RPCResult::Type::NUM, "memberIndex", ""}, | ||||||||||||||||||||||||||||
| }}, | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
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.
quorumIndexis defined twice (see below), consider adding it toRPCRESULT_MAPdash/src/rpc/quorums.cpp
Line 116 in f650f65
dash/src/rpc/quorums.cpp
Line 299 in f650f65