Skip to content

Conversation

@LagginTimes
Copy link
Collaborator

This PR introduces the blockchain.transaction.id_from_pos feature from Electrum. This functionality is essential for an ongoing implementation in bdk_electrum, which requires retrieving the coinbase transaction from a block at a specified height. Currently, there is no straightforward method to achieve this. By implementing the id_from_pos feature, we will effectively address this gap.

Copy link
Member

@evanlinjin evanlinjin left a 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.

Copy link
Contributor

@oleonardolima oleonardolima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 76f7fc8

Copy link
Contributor

@oleonardolima oleonardolima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK a871b08

Copy link
Contributor

@ValuedMammal ValuedMammal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK a871b08

Copy link
Member

@evanlinjin evanlinjin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK a871b08

@ValuedMammal ValuedMammal merged commit 1fcddcb into bitcoindevkit:master Nov 19, 2024
radiant-smith-lk20 added a commit to radiant-smith-lk20/rust-electrum-client that referenced this pull request Dec 15, 2025
… support

a871b084ec04b86d8c326a44f817038c5afe1c8e feat: add `id_from_pos` support (Wei Chen)

Pull request description:

  This PR introduces the `blockchain.transaction.id_from_pos` feature from Electrum. This functionality is essential for an ongoing implementation in `bdk_electrum`, which requires retrieving the coinbase transaction from a block at a specified `height`. Currently, there is no straightforward method to achieve this. By implementing the `id_from_pos` feature, we will effectively address this gap.

ACKs for top commit:
  oleonardolima:
    utACK a871b084ec04b86d8c326a44f817038c5afe1c8e
  ValuedMammal:
    ACK a871b084ec04b86d8c326a44f817038c5afe1c8e
  evanlinjin:
    ACK a871b084ec04b86d8c326a44f817038c5afe1c8e

Tree-SHA512: e8f1ab44473f67030b4f19e766fcee472b7cfc1dac6df8c9f0e08d966e0ed48289de03768771623b9fc7e7ef15dacdb7e3b26c04f9b0de7566d67cc7585a7fa6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants