-
Notifications
You must be signed in to change notification settings - Fork 62
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: add id_from_pos
support
#155
Conversation
87e1cca
to
ff8e4ac
Compare
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 good to me. I would just change naming to be a bit more "conventional". I.e. transaction_id
should be txid
.
ff8e4ac
to
76f7fc8
Compare
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 76f7fc8
76f7fc8
to
a871b08
Compare
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 a871b08
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.
ACK a871b08
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.
ACK a871b08
This PR introduces the
blockchain.transaction.id_from_pos
feature from Electrum. This functionality is essential for an ongoing implementation inbdk_electrum
, which requires retrieving the coinbase transaction from a block at a specifiedheight
. Currently, there is no straightforward method to achieve this. By implementing theid_from_pos
feature, we will effectively address this gap.