Skip to content

Conversation

pythcoiner
Copy link
Owner

This PR move content metada in the encrypted payload and allow to define the content in a different BIP

partially adresses this [comment(https://github.com/bitcoin/bips/pull/1951#discussion_r2321215113)

}

/// Encode content metadata, 3 variants:
/// - <LENGTH == 0> => None
Copy link
Owner Author

@pythcoiner pythcoiner Sep 12, 2025

Choose a reason for hiding this comment

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

@Sjors here we can add this variant to support multiples contents:

/// - <LENGTH == 0xFF><CONTENTS_COUNT><CONTENT_1>...<CONTENT_N>

where inners <CONTENT_X> cannot have a LENGTH == 0xFF to avoid recursion, wdyt?

@pythcoiner pythcoiner merged commit 9702070 into master Sep 17, 2025
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