MCPcopy Create free account
hub / github.com/block/buzz / isMockBroadcastReply

Function isMockBroadcastReply

desktop/src/testing/e2eBridge.ts:2813–2815  ·  view source on GitHub ↗

* A reply broadcast to the channel timeline carries the exact tag * `["broadcast", "1"]` (NIP-CW §Top-level Classification).

(tags: string[][])

Source from the content-addressed store, hash-verified

2811 * `["broadcast", "1"]` (NIP-CW §Top-level Classification).
2812 */
2813function isMockBroadcastReply(tags: string[][]): boolean {
2814 return tags.some((tag) => tag[0] === "broadcast" && tag[1] === "1");
2815}
2816
2817/**
2818 * Mirror the relay's channel-window row set (buzz-db `thread.rs`, NIP-CW

Callers 1

isMockTopLevelRowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected