Skip to content

refactor: remove the three flag-rate figures from the bitcoin post - #40

Merged
37ng merged 1 commit into
mainfrom
claude/remove-flagratemempool-ff824c
Sep 9, 2026
Merged

37ng merged 1 commit into
mainfrom
claude/remove-flagratemempool-ff824c

Conversation

@37ng

@37ng 37ng commented Sep 9, 2026

Copy link
Copy Markdown
Owner

What changed

Removes FlagRateMempool, FlaggedBlocks and PoolFlagHeatmap from the bitcoin post:

  • diagrams/FlagRateMempool.{astro,tsx} + lib/flag-rate.ts
  • diagrams/FlaggedBlocks.{astro,tsx} + lib/flagged-blocks.ts and its test
  • diagrams/PoolFlagHeatmap.{astro,tsx} + lib/pool-flag-rate.ts, lib/pool-flag-sample.ts
  • The imports and mount tags in src/posts/bitcoin/index.mdx

Why

All three read invented placeholder data, so they drew a pattern nobody measured.

Notes for the reviewer

  • The whole ## Flag rate vs mempool congestion section is gone, including its "The numbers here are placeholder data." line. That heading held only these three figures, so keeping it would leave an empty section with a caption about data that no longer exists.
  • PoolFlagHeatmap had its own flaggedBlocks field, unrelated to the deleted flagged-blocks.ts. lib/offchain-revenue.ts and lib/accelerator-pools.ts use the same field name and are untouched.
  • Left in place, now dead, because both need a matching CLAUDE.md edit: --pool-1 … --pool-5 and .pool-rest in global.css (.pool-rest was used only by FlaggedBlocks; the accelerator chart uses --series-* directly). data/epochs.json and scripts/generate-bitcoin-epochs.mjs were already unused before this change.

npm run verify passes: format check, astro check, build, 60 tests.

🤖 Generated with Claude Code

FlagRateMempool, FlaggedBlocks and PoolFlagHeatmap all read invented
placeholder data, so they showed a pattern nobody measured. Remove the
components, their mount points, their libs and tests, and the section
that held them.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@37ng
37ng merged commit 5a529f6 into main Sep 9, 2026
1 check passed
@37ng
37ng deleted the claude/remove-flagratemempool-ff824c branch September 9, 2026 03:09
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