-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat: new rpc `gettxchainlocks' to get transaction statuses by batch #5578
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
feat: new rpc `gettxchainlocks' to get transaction statuses by batch #5578
Conversation
|
Based on the commit I pushed format is now |
knst
left a comment
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, thanks for simplifications @PastaPastaPasta
ogabrielides
left a comment
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.
LGTM
thephez
left a comment
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.
Will this RPC only return locked transactions? If so I'd propose naming the RPC getlockedtransactions. Or maybe gettransactionslockstatus if it also will return unlocked ones.
UdjinM6
left a comment
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.
Now that the amount of returned data is reduced I think we should shrink the diff. Also fixed a couple of other things:
- I don't like that we silently cut results
- adjusted help text
- proposing a different name.
Pls see 1f42ffe
a51af6b to
5b70143
Compare
thephez
left a comment
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 - help text and RPC name look better to me now 👍
PastaPastaPasta
left a comment
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
ogabrielides
left a comment
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
Co-authored-by: UdjinM6 <[email protected]>
b1d0467
UdjinM6
left a comment
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
PastaPastaPasta
left a comment
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
* docs(rpc): update protx diff Relates to dashpay/dash#5377 * docs(rpc): add getindexinfo rpc Relates to dashpay/dash#5492 * docs(rpc): add gettxchainlocks Relates to dashpay/dash#5578 * docs(rpc): update getblock
* docs(rpc): update protx diff Relates to dashpay/dash#5377 * docs(rpc): add getindexinfo rpc Relates to dashpay/dash#5492 * docs(rpc): add gettxchainlocks Relates to dashpay/dash#5578 * docs(rpc): update getblock
Issue being fixed or feature implemented
Requested by @QuantumExplorer for platform needs
What was done?
New rpc
gettransactionsarelockedthat returns list of txes.it does less heavy calculations and transfer less data by gRPC.
How Has This Been Tested?
Limiter tested by this call:
Breaking Changes
N/A
Checklist: