Merge bitcoin/bitcoin#35077: kernel: build: remove unused serfloat dependency

49895b9cbd kernel: build: remove unused serfloat dependency (Sebastian Falbesoner)

Pull request description:

  The serfloat module (more concretely, its two functions `{Encode,Decode}Double`) is only used for [fee estimation](7844a2f083/src/policy/fees/block_policy_estimator.cpp (L21)), which is not included in the bitcoinkernel library, so the linking dependency can be removed.

  (Not terribly important in practice, but: this reduces the static library size by ~1.5 KB (~2.7 KB unstripped) on my arm64 Linux machine.)

ACKs for top commit:
  davidgumberg:
    ACK 49895b9cbd
  stickies-v:
    ACK 49895b9cbd

Tree-SHA512: c3b4feec55cdc7476f54185db95c94e7365f5feadf09d3740d51dce32a1ceeef4d38ecf5c8cf7ca4ed326a12dab386bb104da978ff06bdf739889b2cfa81603d
This commit is contained in:
merge-script
2026-04-15 09:18:00 +01:00

View File

@@ -68,7 +68,6 @@ add_library(bitcoinkernel
../util/hasher.cpp
../util/moneystr.cpp
../util/rbf.cpp
../util/serfloat.cpp
../util/signalinterrupt.cpp
../util/syserror.cpp
../util/threadnames.cpp