Skip to content

Expose negotiated protocol version#213

Open
tnull wants to merge 1 commit into
bitcoindevkit:masterfrom
tnull:2026-06-expose-protocol-version
Open

Expose negotiated protocol version#213
tnull wants to merge 1 commit 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.

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
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.

1 participant