News346: correct waitNext() fee_threshold / MAX_MONEY description - #2823
News346: correct waitNext() fee_threshold / MAX_MONEY description#2823Bartok9 wants to merge 2 commits into
Conversation
5e990af to
9783bfe
Compare
|
@bitschmidty what's the policy on AI contributions? would rather use my own AI than talk to someone else's. can I close this? |
|
Hi @stickies-v — happy to clarify, and no worries at all if you'd rather carry it yourself. This edit is AI-assisted but human-reviewed; the underlying catch (the |
I dont think Optech has any such policy at the moment. I personally find these AI PRs harder to parse and review due to the verbosity. Tagging @Gustavojfe as well since he was the original author of this specific item. |
|
Understood, and point taken on verbosity — I'll keep it terse. In short: the item said |
4e424d8 to
f8b6c40
Compare
MAX_MONEY is the default fee_threshold that disables fee-based template updates, not a threshold that mempool fees must exceed.
f8b6c40 to
1833012
Compare
| least a caller-specified `fee_threshold`. The default `fee_threshold` is | ||
| `MAX_MONEY`, which skips the expensive fee comparison and effectively waits | ||
| only for a tip change (or timeout). Previously, miners would receive a new |
There was a problem hiding this comment.
I also struggle to see value in PRs that interject AI-discovered, AI-motivated, and AI-generated improvement suggestions.
My impression is that this PR points out an actual issue, in the sense that (if the suggestion is accurate) the original phrasing skipped over the fee_threshold parameter and confused the default value with the parameter, but the new proposed phrasing here is awkward. It is both too detailed and omitting detail. If a timeout exists, it should be mentioned, whereas it seems unnecessary to detail how the fee_threshold is essentially disabled.
| least a caller-specified `fee_threshold`. The default `fee_threshold` is | |
| `MAX_MONEY`, which skips the expensive fee comparison and effectively waits | |
| only for a tip change (or timeout). Previously, miners would receive a new | |
| least a caller-specified `fee_threshold`. If no `fee_threshold` is supplied, | |
| the expensive fee comparison is skipped and a new template is generated | |
| only after a tip change. Previously, miners would receive a new |
|
@murchandamus Thanks — applied your suggested wording in 5ffc91c (dropped the MAX_MONEY default detail; kept the tip-change / skipped fee-comparison behavior). Happy to adjust further if anything still reads awkward. |
|
Thanks, if you’re just gonna apply my suggestion in under two minutes, I sincerely doubt that there is a human in the loop on your end. I can apply my suggestion myself and talk to my own LLM. |
|
Understood — thanks for the review and for taking the wording from here. Leaving it with you; no further action from my side. |
News #346 said waitNext() returns when mempool fees rise "above MAX_MONEY". That is wrong: fee_threshold defaults to MAX_MONEY and that default skips the fee check so the wait is tip-change (or timeout) only. Callers who want fee-triggered updates set a lower threshold.
Closes #2591.
English only; translations of #346 can follow.
Agent-Owner:
sera· Platform: hermes · Claim-TTL: 24h