Skip to content

Map BLOCK_CHANGED_ACK to BLOCK_UPDATE in 1.19 -> 1.18.2#1250

Open
calcastor wants to merge 1 commit intoViaVersion:masterfrom
calcastor:block_changed_ack_1_18_2
Open

Map BLOCK_CHANGED_ACK to BLOCK_UPDATE in 1.19 -> 1.18.2#1250
calcastor wants to merge 1 commit intoViaVersion:masterfrom
calcastor:block_changed_ack_1_18_2

Conversation

@calcastor
Copy link
Copy Markdown
Contributor

@calcastor calcastor commented Apr 20, 2026

Likely addresses #798

This PR re-implements BlockAckStorage from 15a5e6f, though changing its scope to also cache and store block updates to work around BLOCK_CHANGED_ACK only carrying a sequence number.

We cache data in BlockAckStorage from 1.19 LEVEL_CHUNK_WITH_LIGHT, BLOCK_UPDATE, and SECTION_BLOCKS_UPDATE packets, and cleanup with FORGET_LEVEL_CHUNK.

@calcastor calcastor force-pushed the block_changed_ack_1_18_2 branch from b407a96 to 9bad888 Compare April 23, 2026 16:53
@calcastor calcastor changed the title Map BLOCK_CHANGED_ACK to BLOCK_UPDATE in 1.19 -> 1.18.2 Map BLOCK_CHANGED_ACK to BLOCK_BREAK_ACK in 1.19 -> 1.18.2 Apr 23, 2026
@calcastor calcastor force-pushed the block_changed_ack_1_18_2 branch 4 times, most recently from bdc1e2d to 5b9835f Compare May 3, 2026 09:43
@calcastor calcastor changed the title Map BLOCK_CHANGED_ACK to BLOCK_BREAK_ACK in 1.19 -> 1.18.2 Map BLOCK_CHANGED_ACK to BLOCK_UPDATE in 1.19 -> 1.18.2 May 3, 2026
@calcastor calcastor force-pushed the block_changed_ack_1_18_2 branch 2 times, most recently from a42b273 to 158fee2 Compare May 4, 2026 02:59
@calcastor calcastor force-pushed the block_changed_ack_1_18_2 branch from 158fee2 to 9e29343 Compare May 5, 2026 06:08
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