Add --disable-rpc configure option #22136

pull promag wants to merge 1 commits into bitcoin:master from promag:2021-06-disable-rpc changing 2 files +27 −9
  1. promag commented at 9:38 AM on June 3, 2021: member

    Seeking feedback before going further.

    The goal is to have a build without RPC support just by passing --disable-rpc. An alternative would be --disable-http if we want to also disable REST and RPC in one shot.

    Follow ups would be:

    • add --disable-rest.
    • add --without-libevent configure option that would allow auto value for --disable-rpc and --disable-rest.
  2. wip: Add --disable-rpc configure option e4640595d6
  3. DrahtBot added the label Build system on Jun 3, 2021
  4. michaelfolkson commented at 12:43 PM on June 3, 2021: contributor

    The motivation for doing this is faster builds? Is the speed up material if RPC/REST were disabled?

  5. DrahtBot commented at 1:58 PM on June 3, 2021: member

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--174a7506f384e20aa4161008e828411d-->

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #20295 (rpc: getblockfrompeer by Sjors)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

  6. promag commented at 2:14 PM on June 3, 2021: member

    @michaelfolkson the motivation is to just have a node running where RPC could never be enabled. This could be interesting for mobile or maybe some other use cases.

    But after discussion with @laanwj, there's no desire in making configure/builds/code more complex just for this. There is already the -noserver option.

    Closing for now.

  7. promag closed this on Jun 3, 2021

  8. promag deleted the branch on Jun 3, 2021
  9. DrahtBot locked this on Aug 16, 2022

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-22 00:14 UTC

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