Skip to content

rpc: adapt estimate_smart_fee to new estimatesmartfee RPC signature#20

Merged
ismaelsadeeq merged 1 commit into
2140-dev:masterfrom
ismaelsadeeq:04-2026-adapt-with-recent-api
Apr 30, 2026
Merged

rpc: adapt estimate_smart_fee to new estimatesmartfee RPC signature#20
ismaelsadeeq merged 1 commit into
2140-dev:masterfrom
ismaelsadeeq:04-2026-adapt-with-recent-api

Conversation

@ismaelsadeeq

Copy link
Copy Markdown
Member

Rename verbosity_level to verbosity and add block_policy_only (default false) to match the updated estimatesmartfee RPC. With block_policy_only false the node selects the best available estimator and includes an estimator field in the result. Fix get_mempool_health_statistics to pass block_policy_only=false, which is now required for mempool_health_statistics to appear in the response.

Update tests: rename test_verbosity_level_forwarded_to_rpc, fix all call sites to match the new 4-argument param list, and add coverage for block_policy_only forwarding, estimator field passthrough, and the mempool health block_policy_only requirement.

@ismaelsadeeq ismaelsadeeq force-pushed the 04-2026-adapt-with-recent-api branch from 4a9a222 to a859ea0 Compare April 30, 2026 12:50
@ismaelsadeeq ismaelsadeeq merged commit 932bbf3 into 2140-dev:master Apr 30, 2026
2 checks passed
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