这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@ibalajiarun
Copy link
Contributor

@ibalajiarun ibalajiarun commented Nov 11, 2025

Description

This PR introduces SignedBatchInfoMsgV2 and ProofOfStoreMsgV2 consensus messages that send SignedBatchInfo<BatchInfoExt> and ProofOfStore<BatchInfoExt> respectively. The actual sending of these messages is implemented behind a feature flag.

When enabled, Validators derive BatchInfoExt::V2 from the received batches and populating the BatchKind field based on whether the batch contains any encrypted transactions. Validators make a local decision on the batch kind field and sign their batch infos. The proofs are derived from these new signed batch info message types.

The downside is that given a Batch one need to scan transactions to check if they have encrypted transactions. This can be cached locally to save on rescans, but it has not been implemented in this PR.

Copy link
Contributor Author

ibalajiarun commented Nov 11, 2025

@ibalajiarun ibalajiarun changed the title [qs] send proof v2 support with flag [qs] Support V2 SignedBatchInfo and ProofOfStore messages with BlockInfoExt Nov 14, 2025
@ibalajiarun ibalajiarun marked this pull request as ready for review November 14, 2025 03:57
Copy link
Contributor

@JoshLind JoshLind left a comment

Choose a reason for hiding this comment

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

Looks reasonable to me 😄

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.

3 participants