Skip to content

Enforce bans across SHIP and SLAP discovery admission#181

Open
ty-everett wants to merge 1 commit into
bsv-blockchain:mainfrom
ty-everett:codex/ban-aware-discovery-filter
Open

Enforce bans across SHIP and SLAP discovery admission#181
ty-everett wants to merge 1 commit into
bsv-blockchain:mainfrom
ty-everett:codex/ban-aware-discovery-filter

Conversation

@ty-everett

Copy link
Copy Markdown
Contributor

Summary

  • filter banned SHIP/SLAP advertisement outputs before topic admittance
  • prevent banned SHIP/SLAP records from being written to auto-configured discovery storage
  • keep lookup-service filtering in place as a final guard and export the new wrapper classes

Validation

  • corepack pnpm --filter @bsv/overlay-express exec jest BanAwareTopicManager BanAwareDiscoveryStorage --runInBand
  • corepack pnpm --filter @bsv/overlay-express run build

Note

  • corepack pnpm --filter @bsv/overlay-express run lint:ci currently fails on an existing non-null assertion in packages/overlays/overlay-express/src/__tests__/OverlayExpress.test.ts:1029, unrelated to this change.

@sonarqubecloud

sonarqubecloud Bot commented Jun 5, 2026

Copy link
Copy Markdown

@ty-everett ty-everett marked this pull request as ready for review June 11, 2026 16:40
@ty-everett ty-everett requested a review from sirdeggen as a code owner June 11, 2026 16:40
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