Skip to content

Phase 3 — Fee Estimator (mempool-based) - #6

Merged
devdavidejesus merged 1 commit into
mainfrom
phase-3-fees
Jul 26, 2026
Merged

Phase 3 — Fee Estimator (mempool-based)#6
devdavidejesus merged 1 commit into
mainfrom
phase-3-fees

Conversation

@devdavidejesus

Copy link
Copy Markdown
Owner

Closes #2

What's new

  • btc-toolkit fees —> the five recommended fee tiers (fastest, half hour, hour, economy, minimum) in sat/vB, plus mempool backlog: pending tx count, size in vMB, and rough blocks-to-clear estimate
  • --json output for scripting, --network testnet supported
  • Zero changes to existing modules —> built entirely on the shared api.py client

Verification

  • 6 new tests (42 total), all API calls mocked —> suite runs offline
  • Verified against live mainnet: rates and backlog consistent with mempool.space

- New 'btc-toolkit fees' subcommand: 5 recommended fee tiers (sat/vB)
  + mempool backlog (pending txs, vMB, ~blocks to clear)
- Uses shared api.py client — zero changes to existing modules
- 6 new tests (42 total), all API calls mocked
- Verified against live mainnet: rates and backlog consistent
  with mempool.space
- Version bump to 0.3.0
@devdavidejesus
devdavidejesus merged commit 57a382e into main Jul 26, 2026
4 checks passed
@devdavidejesus
devdavidejesus deleted the phase-3-fees branch July 26, 2026 02:28
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.

Phase 3 — Fee Estimator

1 participant