Skip to content

Make encoder backend agnostic#2052

Merged
GitGab19 merged 4 commits intostratum-mining:mainfrom
Shourya742:2026-01-20-make-encoder-backend-agnostic
Feb 12, 2026
Merged

Make encoder backend agnostic#2052
GitGab19 merged 4 commits intostratum-mining:mainfrom
Shourya742:2026-01-20-make-encoder-backend-agnostic

Conversation

@Shourya742
Copy link
Copy Markdown
Member

This PR makes the encoder backend agnostic. Previously, the buffer backend was only available for Noise-enabled encoders, while non-encrypted encoders were restricted to a vanilla vector. This change extends the feature-gated buffer support to non-encrypted encoders as well, bringing the encoder API in line with the decoder and making it symmetric.

@Shourya742 Shourya742 force-pushed the 2026-01-20-make-encoder-backend-agnostic branch from bc9f24b to bc22b00 Compare January 20, 2026 14:26
@Shourya742 Shourya742 mentioned this pull request Jan 26, 2026
@Shourya742 Shourya742 force-pushed the 2026-01-20-make-encoder-backend-agnostic branch from bc22b00 to ea30af4 Compare January 26, 2026 12:05
Comment thread stratum-core/Cargo.toml Outdated
Comment thread sv2/codec-sv2/src/encoder.rs Outdated
Comment thread sv2/codec-sv2/src/encoder.rs Outdated
@Shourya742 Shourya742 force-pushed the 2026-01-20-make-encoder-backend-agnostic branch 2 times, most recently from 1269edc to 0e51b05 Compare February 12, 2026 14:12
@Shourya742 Shourya742 requested a review from GitGab19 February 12, 2026 14:58
@Shourya742 Shourya742 force-pushed the 2026-01-20-make-encoder-backend-agnostic branch from 0e51b05 to d5aa8c7 Compare February 12, 2026 16:28
@GitGab19 GitGab19 merged commit f97b942 into stratum-mining:main Feb 12, 2026
14 checks passed
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