Skip to content

Commit a39bad4

Browse files
committed
MERGE-FIX: manpage fixes
1 parent 52f6f69 commit a39bad4

File tree

4 files changed

+25
-18
lines changed

4 files changed

+25
-18
lines changed

contrib/devtools/gen-manpages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ BITCOIND=${BITCOIND:-$BINDIR/elementsd}
1111
BITCOINCLI=${BITCOINCLI:-$BINDIR/elements-cli}
1212
BITCOINTX=${BITCOINTX:-$BINDIR/elements-tx}
1313
WALLET_TOOL=${WALLET_TOOL:-$BINDIR/elements-wallet}
14-
BITCOINQT=${BITCOINQT:-$BINDIR/qt/bitcoin-qt}
14+
BITCOINQT=${BITCOINQT:-$BINDIR/qt/elements-qt}
1515

1616
[ ! -x $BITCOIND ] && echo "$BITCOIND not found or not executable." && exit 1
1717

doc/man/Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ if BUILD_BITCOIND
55
endif
66

77
if ENABLE_QT
8-
dist_man1_MANS+=bitcoin-qt.1
8+
#TODO(stevenroose) uncomment and fix
9+
# dist_man1_MANS+=elements-qt.1
910
endif
1011

1112
if BUILD_BITCOIN_CLI

doc/man/elements-cli.1

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Elements Core RPC client version v0.17.0.1\-dirty
2020
.HP
2121
\-?
2222
.IP
23-
This help message
23+
Print this help message and exit
2424
.HP
2525
\fB\-conf=\fR<file>
2626
.IP
@@ -77,7 +77,9 @@ Wait for RPC server to start
7777
\fB\-rpcwallet=\fR<walletname>
7878
.IP
7979
Send RPC for non\-default wallet on RPC server (needs to exactly match
80-
corresponding \fB\-wallet\fR option passed to the daemon)
80+
corresponding \fB\-wallet\fR option passed to the daemon). This changes
81+
the RPC endpoint used, e.g.
82+
http://127.0.0.1:8332/wallet/<walletname>
8183
.HP
8284
\fB\-stdin\fR
8385
.IP
@@ -153,7 +155,8 @@ Elements Options:
153155
.HP
154156
\fB\-con_blocksubsidy\fR
155157
.IP
156-
Defines the amount of block subsidy to start with, at genesis block.
158+
Defines the amount of block subsidy to start with, at genesis block, in
159+
satoshis.
157160
.HP
158161
\fB\-con_connect_coinbase\fR
159162
.IP

doc/man/elementsd.1

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ long fork (%s in cmd is replaced by message)
2323
If this block is in the chain assume that it and its ancestors are valid
2424
and potentially skip their script verification (0 to verify all,
2525
default:
26-
0000000000000000002e63058c023a9a1de233554f28c7b21380b6c9003f36a8,
26+
0000000000000000000f1c54590ee18d15ec70e68c8cd4cfbadb1b4f11697eee,
2727
testnet:
2828
0000000000000037a8cd3e06cd5edbfe9dd1dbcc5dacab279376ef7cfc2b4c75)
2929
.HP
@@ -56,7 +56,9 @@ Specify data directory
5656
.HP
5757
\fB\-dbcache=\fR<n>
5858
.IP
59-
Set database cache size in megabytes (4 to 16384, default: 450)
59+
Maximum database cache size <n> MiB (4 to 16384, default: 450). In
60+
addition, unused mempool memory is shared for this cache (see
61+
\fB\-maxmempool\fR).
6062
.HP
6163
\fB\-debuglogfile=\fR<file>
6264
.IP
@@ -98,7 +100,7 @@ Whether to save the mempool on shutdown and load on restart (default: 1)
98100
\fB\-pid=\fR<file>
99101
.IP
100102
Specify pid file. Relative paths will be prefixed by a net\-specific
101-
datadir location. (default: elementsd.pid)
103+
datadir location. (default: bitcoind.pid)
102104
.HP
103105
\fB\-prune=\fR<n>
104106
.IP
@@ -644,7 +646,7 @@ mining and transaction creation (default: 0.00001)
644646
\fB\-whitelistforcerelay\fR
645647
.IP
646648
Force relay of transactions from whitelisted peers even if they violate
647-
local relay policy (default: 1)
649+
local relay policy (default: 0)
648650
.HP
649651
\fB\-whitelistrelay\fR
650652
.IP
@@ -677,21 +679,21 @@ option can be specified multiple times
677679
.HP
678680
\fB\-rpcauth=\fR<userpw>
679681
.IP
680-
Username and hashed password for JSON\-RPC connections. The field
681-
<userpw> comes in the format: <USERNAME>:<SALT>$<HASH>. A
682+
Username and HMAC\-SHA\-256 hashed password for JSON\-RPC connections. The
683+
field <userpw> comes in the format: <USERNAME>:<SALT>$<HASH>. A
682684
canonical python script is included in share/rpcauth. The client
683685
then connects normally using the
684686
rpcuser=<USERNAME>/rpcpassword=<PASSWORD> pair of arguments. This
685687
option can be specified multiple times
686688
.HP
687689
\fB\-rpcbind=\fR<addr>[:port]
688690
.IP
689-
Bind to given address to listen for JSON\-RPC connections. This option is
690-
ignored unless \fB\-rpcallowip\fR is also passed. Port is optional and
691-
overrides \fB\-rpcport\fR. Use [host]:port notation for IPv6. This
692-
option can be specified multiple times (default: 127.0.0.1 and
693-
::1 i.e., localhost, or if \fB\-rpcallowip\fR has been specified,
694-
0.0.0.0 and :: i.e., all addresses)
691+
Bind to given address to listen for JSON\-RPC connections. Do not expose
692+
the RPC server to untrusted networks such as the public internet!
693+
This option is ignored unless \fB\-rpcallowip\fR is also passed. Port is
694+
optional and overrides \fB\-rpcport\fR. Use [host]:port notation for
695+
IPv6. This option can be specified multiple times (default:
696+
127.0.0.1 and ::1 i.e., localhost)
695697
.HP
696698
\fB\-rpccookiefile=\fR<loc>
697699
.IP
@@ -742,7 +744,8 @@ The byte prefix, in decimal, of blinded addresses. (default: 4)
742744
.HP
743745
\fB\-con_blocksubsidy\fR
744746
.IP
745-
Defines the amount of block subsidy to start with, at genesis block.
747+
Defines the amount of block subsidy to start with, at genesis block, in
748+
satoshis.
746749
.HP
747750
\fB\-con_connect_coinbase\fR
748751
.IP

0 commit comments

Comments
 (0)