mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-08 13:02:59 +02:00
847288df07test: fee rate values that cannot be represented as sat/vB (Jon Atack)06a90fa038rpc: for sat/vB fee rates, limit ParseFixedPoint decimals to 3 (Jon Atack)0742c7840frpc: enable passing decimals to AmountFromValue, add doxygen (Jon Atack)8ce3ef57a3test: ParseFixedPoint with 3 decimals for sat/vB fee rates (Jon Atack)b503327597test: type error and out of range fee rates where missing (Jon Atack)c5fd4344f7test: explicit fee rates with invalid amounts (Jon Atack)ea6f76b66etest: improve zero-value explicit fee rate coverage (Jon Atack) Pull request description: - Improve/close gaps in existing test coverage before making the change - Enable passing `decimals` to `ParseFixedPoint()` when calling `AmountFromValue()` - Limit explicit fee rates in sat/vB passed in by users to 3 decimals, and raise otherwise - Add regression test coverage Closes #20534. ACKs for top commit: MarcoFalke: review ACK847288df07🔷 Tree-SHA512: c539d07ae9b21c0d6c8ea460beb9c8dad5559445518aace560abc3c05c588907bae189b6fd7602b3b397de4a42356136c3ec6f960d3dcf2d5d16377aef4ab5a2