Skip to content

Swapped receive and replicate flags#73

Open
Cleric-K wants to merge 1 commit into
ssbc:masterfrom
Cleric-K:patch-1
Open

Swapped receive and replicate flags#73
Cleric-K wants to merge 1 commit into
ssbc:masterfrom
Cleric-K:patch-1

Conversation

@Cleric-K
Copy link
Copy Markdown

@Cleric-K Cleric-K commented Apr 2, 2026

No description provided.

@boreq
Copy link
Copy Markdown
Contributor

boreq commented Apr 26, 2026

Seems to match what I wrote a long time ago here https://dev.planetary.social/replication/ebt.html, I remember noticing the discrepancy as well. I think I didn't fix it because I wasn't sure where the problem is, the docs, implementations, my understanding of the mechanism...

@cmoid
Copy link
Copy Markdown

cmoid commented May 12, 2026

I agree @boreq. I saw this also and think it's a typo. At least the examples in the table indicate that. I'll test the implementations and verify that if it's possible.

@boreq
Copy link
Copy Markdown
Contributor

boreq commented May 12, 2026

I agree @boreq. I saw this also and think it's a typo. At least the examples in the table indicate that. I'll test the implementations and verify that if it's possible.

I sent claude to check it, it's unironically useful at stuff like this, it claims that we are right and a computer would never be wrong of course. So I think that's settled.

● Yes — the PR is correct. The lowest-order bit is the receive flag, not the replicate flag, confirmed by both the JS reference implementation (epidemic-broadcast-trees/v3.js) and the planetary.social docs.

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