0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-09 10:43:19 -05:00
bitcoin-bitcoin-core/src/policy
fanquake 931ac6f836
Merge bitcoin/bitcoin#27914: feerate: For GetFeePerK() return nSatoshisPerK instead of round trip through GetFee
11d650060a feerate: For GetFeePerK() return nSatoshisPerK instead of round trip through GetFee (Andrew Chow)

Pull request description:

  Returning the sats/kvb does not need to round trip through GetFee(1000) since the feerate is already stored as sats/kvb.

  Fixes #27913, although this does bring up a larger question of how we should handle such large feerates in fuzzing.

ACKs for top commit:
  furszy:
    Code ACK 11d65006

Tree-SHA512: bec1a0d4b572a0c810cf7eb4e97d729d67e96835c2d576a909f755b053a9707c2f1b3df9adb8f08a9c4d310cdbb8b1e1b42b9c004bd1ade02a07d8ce9e902138
2023-06-26 09:43:38 +01:00
..
feerate.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
feerate.h feerate: For GetFeePerK() return nSatoshisPerK instead of round trip through GetFee 2023-06-19 14:36:14 -04:00
fees.cpp tx fees, policy: read stale fee estimates with a regtest-only option 2023-06-14 22:39:26 +01:00
fees.h tx fees, policy: read stale fee estimates with a regtest-only option 2023-06-14 22:39:26 +01:00
fees_args.cpp move-only: Extract common/args and common/config.cpp from util/system 2023-04-19 10:48:30 +02:00
fees_args.h refactor: Move fs.* to util/fs.* 2023-03-23 12:55:18 +01:00
packages.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
packages.h scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
policy.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
policy.h Use int32_t type for most transaction size/weight values 2023-06-12 19:47:19 +01:00
rbf.cpp Merge bitcoin/bitcoin#26289: Use util::Result in for calculating mempool ancestors 2023-01-03 16:30:55 -05:00
rbf.h scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
settings.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
settings.h scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00