Skip to content

feat!: get_blocks now returns BlockInfo instead of BlockSummary#175

Closed
evanlinjin wants to merge 1 commit intobitcoindevkit:masterfrom
evanlinjin:feature/rm-block-summary
Closed

feat!: get_blocks now returns BlockInfo instead of BlockSummary#175
evanlinjin wants to merge 1 commit intobitcoindevkit:masterfrom
evanlinjin:feature/rm-block-summary

Conversation

@evanlinjin
Copy link
Member

No description provided.

@luisschwab
Copy link
Member

luisschwab commented Mar 5, 2026

@evanlinjin get_blocks was deprecated on v0.12.3 and will be removed on v0.13.0. get_block_infos took it's place and returns Vec<BlockInfo>. #157 already addresses will be updated to address this.

Edit: we decided against keeping the old name and only changing the return type as we thought it would be less confusing to have a new method that returns a new type.

@evanlinjin evanlinjin closed this Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants