build: Move rpc/util.cpp from libbitcoin-util to libbitcoin-server #13486

pull ken2812221 wants to merge 1 commits into bitcoin:master from ken2812221:move_util_to_common changing 1 files +1 −1
  1. ken2812221 commented at 3:01 AM on June 17, 2018: contributor

    The functions in rpc/util.cpp would call functions in script/standard.cpp which in libbitcoin-common. This could cause problem if the linker does not strip out unused function while linking bitcoin-cli.

  2. fanquake added the label Build system on Jun 17, 2018
  3. Empact commented at 9:02 PM on June 17, 2018: member

    How about moving it to libbitcoin_server instead, since that seems to be the highest common use? It's included by rpc/misc and wallet/rpcwallet, which are in libbitcoin_server and libbitcoin_wallet.

  4. Move rpc/util.cpp from libbitcoin-util to libbitcoin-server 471a4992d4
  5. ken2812221 force-pushed on Jun 18, 2018
  6. ken2812221 commented at 3:05 AM on June 18, 2018: contributor

    @Empact Sure.

  7. ken2812221 renamed this:
    build: Move rpc/util.cpp from libbitcoin-util to libbitcoin-common
    build: Move rpc/util.cpp from libbitcoin-util to libbitcoin-server
    on Jun 18, 2018
  8. laanwj commented at 10:35 AM on June 18, 2018: member

    Concept ACK - RPC stuff that is not used in the client definitely belongs in libbitcoin_server.

  9. laanwj commented at 2:13 PM on June 18, 2018: member

    utACK 471a4992d4a4477d7e234a82d3639d06f4572e9a, checked that all the functions in rpc/util.h are only used in other compilation units belonging to the RPC server.

  10. Empact commented at 1:06 AM on June 19, 2018: member

    utACK 471a499

  11. laanwj merged this on Jun 24, 2018
  12. laanwj closed this on Jun 24, 2018

  13. laanwj referenced this in commit 66e1a08d6f on Jun 24, 2018
  14. ken2812221 deleted the branch on Jun 24, 2018
  15. PastaPastaPasta referenced this in commit 1ade2e84c1 on Jul 7, 2020
  16. PastaPastaPasta referenced this in commit 0b71de50e0 on Jul 7, 2020
  17. PastaPastaPasta referenced this in commit 300aea67dd on Jul 8, 2020
  18. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-20 09:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me