Skip to content

Expose negotiated protocol version#213

Open
tnull wants to merge 2 commits into
bitcoindevkit:masterfrom
tnull:2026-06-expose-protocol-version
Open

Expose negotiated protocol version#213
tnull wants to merge 2 commits into
bitcoindevkit:masterfrom
tnull:2026-06-expose-protocol-version

Conversation

@tnull

@tnull tnull commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

The v1.6 upgrade negotiated and stored the server protocol version during connection setup, but omitted the documented public API for reading it.

Add protocol_version() so callers can reuse the negotiated value. Only fall back to server.version when no cached version exists.

oleonardolima and others added 2 commits July 1, 2026 11:19
The v1.6 upgrade negotiated and stored the server protocol
version during connection setup, but omitted the documented
public API for reading it.

Add protocol_version() so callers can reuse the negotiated value.
Only fall back to server.version when no cached version exists.

Co-Authored-By: HAL 9000
@oleonardolima oleonardolima force-pushed the 2026-06-expose-protocol-version branch from c2a5d17 to f78ed74 Compare July 1, 2026 14:19
@oleonardolima oleonardolima moved this to Needs Review in BDK Chain Jul 1, 2026

@oleonardolima oleonardolima left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

utACK f78ed74

Overall it looks good! I pushed a commit fixing the CI, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Needs Review

Development

Successfully merging this pull request may close these issues.

2 participants