Skip to content
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

UCP/ADDRESS: cleanup deprecated flags #10468

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

evgeny-leksikov
Copy link
Contributor

What?

cleanup deprecated flags in UCP address

Why?

to inclrease number of supported MDs

@evgeny-leksikov evgeny-leksikov marked this pull request as draft January 31, 2025 10:20
Comment on lines +618 to +619
return ucp_address_unpack_byte_extended(ptr, UCP_ADDRESS_FLAG_MD_MASK,
addr_version, md_index);
Copy link
Contributor

Choose a reason for hiding this comment

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

there seems to be still a wire-compat issue - when old address arrives, we will initialize md_index as invalid

Copy link
Contributor Author

Choose a reason for hiding this comment

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

do you mean then any of UCP_ADDRESS_FLAG_MD_ALLOC | UCP_ADDRESS_FLAG_MD_REG was packed by remote side?

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