-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Clarify description of blockindex #7541
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
Conversation
utACK |
|
@@ -1444,7 +1444,7 @@ UniValue listtransactions(const UniValue& params, bool fHelp) | |||
" \"trusted\": xxx (bool) Whether we consider the outputs of this unconfirmed transaction safe to spend.\n" | |||
" \"blockhash\": \"hashvalue\", (string) The block hash containing the transaction. Available for 'send' and 'receive'\n" | |||
" category of transactions.\n" | |||
" \"blockindex\": n, (numeric) The block index containing the transaction. Available for 'send' and 'receive'\n" | |||
" \"blockindex\": n, (numeric) The position of the transaction in the block that includes it. Available for 'send' and 'receive'\n" |
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.
tiny nit: position
seems slightly non-conventional?
The index of the transaction in the block that includes it.
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.
Agreed with this slight re-phrasing
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.
I'd prefer to stick with index too. It has a well-defined meaning, while position is too general (it could be a byte offset, or a set of 3D coordinates within the unit block...).
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.
cool, updated
utACK 7f01e4e |
utACK |
ACK pinheadmz@ef40f6b after squash |
ACK ef40f6b0703fb2004183b85bdd2fb9e88b58b349. |
Before merging, can you please squash these changes into one commit? e.g. $ git rebase -i 8b70a64 In the editor, replace the second 'pick' with 'f', then save and exit. git push -f origin master |
@laanwj thanks for your help |
7eef1d0 Clarify description of blockindex (Matthew Zipkin)
@laanwj I guess this could be backported to 0.12.1 Also, Post-merge ACK. |
see issues: bitcoin-dot-org/Bitcoin.org#1237 bitcoin#7532 Github-Pull: bitcoin#7541 Rebased-From: 7eef1d0
Backported as part of #7938. Removing label 'Needs backport'. |
see issues: bitcoin-dot-org/Bitcoin.org#1237 bitcoin#7532 Github-Pull: bitcoin#7541 Rebased-From: 7eef1d0
see issues:
bitcoin-dot-org/Bitcoin.org#1237
#7532