rpcworkqueue, rpcservertimeout missing from bitcoind -h output #11574

issue unsystemizer opened this issue on October 29, 2017
  1. unsystemizer commented at 5:57 AM on October 29, 2017: contributor

    Describe the issue

    -rpcworkqueue and -rpcservertimeout (maybe some other too) are missing from https://github.com/bitcoin/bitcoin/blob/0.15/doc/man/bitcoind.1#L467

    They're referred to in here. https://github.com/bitcoin/bitcoin/blob/0.15/src/init.cpp#L515

    I think online help should show them by default.

    What version of bitcoin-core are you using?

    0.15.0.1

    C:\tempcoin\daemon>bitcoind.exe -h
    ...
    RPC server options:
    
      -server
           Accept command line and JSON-RPC commands
    
      -rest
           Accept public REST requests (default: 0)
    
      -rpcbind=<addr>[:port]
           Bind to given address to listen for JSON-RPC connections. This option is
           ignored unless -rpcallowip is also passed. Port is optional and
           overrides -rpcport. Use [host]:port notation for IPv6. This
           option can be specified multiple times (default: 127.0.0.1 and
           ::1 i.e., localhost, or if -rpcallowip has been specified,
           0.0.0.0 and :: i.e., all addresses)
    
      -rpccookiefile=<loc>
           Location of the auth cookie (default: data dir)
    
      -rpcuser=<user>
           Username for JSON-RPC connections
    
      -rpcpassword=<pw>
           Password for JSON-RPC connections
    
      -rpcauth=<userpw>
           Username and hashed password for JSON-RPC connections. The field
           <userpw> comes in the format: <USERNAME>:<SALT>$<HASH>. A
           canonical python script is included in share/rpcuser. The client
           then connects normally using the
           rpcuser=<USERNAME>/rpcpassword=<PASSWORD> pair of arguments. This
           option can be specified multiple times
    
      -rpcport=<port>
           Listen for JSON-RPC connections on <port> (default: 8332 or testnet:
           18332)
    
      -rpcallowip=<ip>
           Allow JSON-RPC connections from specified source. Valid for <ip> are a
           single IP (e.g. 1.2.3.4), a network/netmask (e.g.
           1.2.3.4/255.255.255.0) or a network/CIDR (e.g. 1.2.3.4/24). This
           option can be specified multiple times
    
      -rpcserialversion
           Sets the serialization of raw transaction or block hex returned in
           non-verbose mode, non-segwit(0) or segwit(1) (default: 1)
    
      -rpcthreads=<n>
           Set the number of threads to service RPC calls (default: 4)
    
    
    C:\tempcoin\daemon>bitcoind.exe --version
    Bitcoin Core Daemon version v0.15.0.1
    Copyright (C) 2009-2017 The Bitcoin Core developers
    
    
  2. fanquake added the label Docs and Output on Oct 29, 2017
  3. fanquake added the label RPC/REST/ZMQ on Oct 29, 2017
  4. MarcoFalke commented at 2:42 PM on October 29, 2017: member

    You can use C:\tempcoin\daemon>bitcoind.exe -h -help-debug to show the debug options, which are hidden by default.

  5. unsystemizer commented at 4:46 PM on October 29, 2017: contributor

    Thanks. I saw it's qualified with showDebug, but that seems quite convoluted. If I need to know -help-debug to show these, I may as well grep through the source code tree.

    Is there a plan to add more such debug-level parameters? If so, maybe some "advanced" options shouldn't be not shown by default, but it's only two in RPC section (maybe a few more in other sections).

  6. jonasschnelli commented at 7:08 AM on November 1, 2017: contributor

    If you need more then 16 workers and and an http timeout > 30 you are very likely debugging or running in a HA/HL environment. I think it's find that we hide the help of those expert/debug commands behind -help-debug. The term debug may misses the point a little bit (could be -help-expert) but changing it now does make little sense).

  7. jonasschnelli closed this on Nov 1, 2017

  8. dcousens commented at 7:30 AM on November 1, 2017: contributor

    HA/HL ? High availability / high load?

  9. jonasschnelli commented at 6:11 PM on November 1, 2017: contributor

    HA/HL ? High availability / high load?

    Yes. Not sure if these are industry standard abbreviation. :)

  10. 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-13 15:15 UTC

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