|
1 | | -.TH sv2-tp "1" |
| 1 | +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. |
| 2 | +.TH SV2-TP "1" "August 2025" "sv2-tp v1.0.0" "User Commands" |
2 | 3 | .SH NAME |
3 | | -sv2-tp \- manual page for sv2-tp |
| 4 | +sv2-tp \- manual page for sv2-tp v1.0.0 |
| 5 | +.SH DESCRIPTION |
| 6 | +Sv2 Template Provider sv2\-tp version v1.0.0 |
| 7 | +.PP |
| 8 | +sv2\-tp implements the Stratum v2 Template Provider role. It connects to Bitcoin |
| 9 | +Core via IPC. |
| 10 | +.SS "Usage:" |
| 11 | +.IP |
| 12 | +sv2\-tp [options] |
| 13 | +.SH OPTIONS |
| 14 | +.HP |
| 15 | +\fB\-datadir=\fR<dir> |
| 16 | +.IP |
| 17 | +Specify non\-default Bitcoin Core data directory |
| 18 | +.HP |
| 19 | +\fB\-debuglogfile=\fR<file> |
| 20 | +.IP |
| 21 | +Specify location of debug log file (default: debug.log). Relative paths |
| 22 | +will be prefixed by a net\-specific datadir location. Pass |
| 23 | +\fB\-nodebuglogfile\fR to disable writing the log to a file. |
| 24 | +.HP |
| 25 | +\fB\-help\fR |
| 26 | +.IP |
| 27 | +Print this help message and exit (also \fB\-h\fR or \-?) |
| 28 | +.HP |
| 29 | +\fB\-version\fR |
| 30 | +.IP |
| 31 | +Print version and exit |
| 32 | +.PP |
| 33 | +Connection options: |
| 34 | +.HP |
| 35 | +\fB\-sv2bind=\fR<addr>[:<port>] |
| 36 | +.IP |
| 37 | +Bind to given address and always listen on it (default: 127.0.0.1). Use |
| 38 | +[host]:port notation for IPv6. |
| 39 | +.HP |
| 40 | +\fB\-sv2port=\fR<port> |
| 41 | +.IP |
| 42 | +Listen for Stratum v2 connections on <port> (default: 8336, testnet3: |
| 43 | +18336, testnet4: 48336, signet: 38336, regtest: 18447). |
| 44 | +.PP |
| 45 | +Debugging/Testing options: |
| 46 | +.HP |
| 47 | +\fB\-debug=\fR<category> |
| 48 | +.IP |
| 49 | +Output debug and trace logging (default: \fB\-nodebug\fR, supplying <category> |
| 50 | +is optional). If <category> is not supplied or if <category> is 1 |
| 51 | +or "all", output all debug logging. If <category> is 0 or "none", |
| 52 | +any other categories are ignored. Other valid values for |
| 53 | +<category> are: addrman, bench, blockstorage, cmpctblock, coindb, |
| 54 | +estimatefee, http, i2p, ipc, leveldb, mempool, mempoolrej, net, |
| 55 | +proxy, prune, qt, rand, reindex, rpc, scan, selectcoins, sv2, |
| 56 | +tor, txpackages, validation, walletdb. This option can be |
| 57 | +specified multiple times to output multiple categories. |
| 58 | +.HP |
| 59 | +\fB\-debugexclude=\fR<category> |
| 60 | +.IP |
| 61 | +Exclude debug and trace logging for a category. Can be used in |
| 62 | +conjunction with \fB\-debug\fR=\fI\,1\/\fR to output debug and trace logging for |
| 63 | +all categories except the specified category. This option can be |
| 64 | +specified multiple times to exclude multiple categories. This |
| 65 | +takes priority over "\-debug" |
| 66 | +.HP |
| 67 | +\fB\-logips\fR |
| 68 | +.IP |
| 69 | +Include IP addresses in debug output (default: 0) |
| 70 | +.HP |
| 71 | +\fB\-loglevelalways\fR |
| 72 | +.IP |
| 73 | +Always prepend a category and level (default: 0) |
| 74 | +.HP |
| 75 | +\fB\-logsourcelocations\fR |
| 76 | +.IP |
| 77 | +Prepend debug output with name of the originating source location |
| 78 | +(source file, line number and function name) (default: 0) |
| 79 | +.HP |
| 80 | +\fB\-logthreadnames\fR |
| 81 | +.IP |
| 82 | +Prepend debug output with name of the originating thread (default: 0) |
| 83 | +.HP |
| 84 | +\fB\-logtimestamps\fR |
| 85 | +.IP |
| 86 | +Prepend debug output with timestamp (default: 1) |
| 87 | +.HP |
| 88 | +\fB\-printtoconsole\fR |
| 89 | +.IP |
| 90 | +Send trace/debug info to console (default: 1 when no \fB\-daemon\fR. To disable |
| 91 | +logging to file, set \fB\-nodebuglogfile\fR) |
| 92 | +.HP |
| 93 | +\fB\-shrinkdebugfile\fR |
| 94 | +.IP |
| 95 | +Shrink debug.log file on client startup (default: 1 when no \fB\-debug\fR) |
| 96 | +.PP |
| 97 | +Chain selection options: |
| 98 | +.HP |
| 99 | +\fB\-chain=\fR<chain> |
| 100 | +.IP |
| 101 | +Use the chain <chain> (default: main). Allowed values: main, test, |
| 102 | +testnet4, signet, regtest |
| 103 | +.HP |
| 104 | +\fB\-signet\fR |
| 105 | +.IP |
| 106 | +Use the signet chain. Equivalent to \fB\-chain\fR=\fI\,signet\/\fR. Note that the network |
| 107 | +is defined by the \fB\-signetchallenge\fR parameter |
| 108 | +.HP |
| 109 | +\fB\-signetchallenge\fR |
| 110 | +.IP |
| 111 | +Blocks must satisfy the given script to be considered valid (only for |
| 112 | +signet networks; defaults to the global default signet test |
| 113 | +network challenge) |
| 114 | +.HP |
| 115 | +\fB\-signetseednode\fR |
| 116 | +.IP |
| 117 | +Specify a seed node for the signet network, in the hostname[:port] |
| 118 | +format, e.g. sig.net:1234 (may be used multiple times to specify |
| 119 | +multiple seed nodes; defaults to the global default signet test |
| 120 | +network seed node(s)) |
| 121 | +.HP |
| 122 | +\fB\-testnet\fR |
| 123 | +.IP |
| 124 | +Use the testnet3 chain. Equivalent to \fB\-chain\fR=\fI\,test\/\fR. Support for testnet3 |
| 125 | +is deprecated and will be removed in an upcoming release. |
| 126 | +Consider moving to testnet4 now by using \fB\-testnet4\fR. |
| 127 | +.HP |
| 128 | +\fB\-testnet4\fR |
| 129 | +.IP |
| 130 | +Use the testnet4 chain. Equivalent to \fB\-chain\fR=\fI\,testnet4\/\fR. |
| 131 | +.PP |
| 132 | +Block creation options: |
| 133 | +.HP |
| 134 | +\fB\-sv2feedelta\fR |
| 135 | +.IP |
| 136 | +Minimum fee delta for Template Provider to send update upstream |
| 137 | +(default: 1000 sat) |
| 138 | +.HP |
| 139 | +\fB\-sv2interval\fR |
| 140 | +.IP |
| 141 | +Template Provider block template update interval (default: 30 seconds) |
| 142 | +.PP |
| 143 | +IPC interprocess connection options: |
| 144 | +.HP |
| 145 | +\fB\-ipcconnect=\fR<address> |
| 146 | +.IP |
| 147 | +Connect to bitcoin\-node process in the background to perform online |
| 148 | +operations. Valid <address> values are 'unix' to connect to the |
| 149 | +default socket, 'unix:<socket path>' to connect to a socket at a |
| 150 | +nonstandard path. Default value: unix |
| 151 | +.SH EXAMPLES |
| 152 | +.IP |
| 153 | +# Start separate bitcoin node that sv2\-tp can connect to. |
| 154 | +bitcoin \-m node \-testnet4 \-ipcbind=unix |
| 155 | +.IP |
| 156 | +# Connect to the node: |
| 157 | +sv2\-tp \-testnet4 \-debug=sv2 \-loglevel=sv2:trace |
| 158 | +.IP |
| 159 | +# Now start the SRI Job Declarator Client of Pool role, you should see |
| 160 | +# it connect in the logs. |
| 161 | +.SH COPYRIGHT |
| 162 | +Copyright (C) 2009-2025 The Bitcoin Core developers |
| 163 | +Copyright (C) 2025-2025 The Sv2 Template Provider developers |
4 | 164 |
|
5 | | -This is a placeholder file. Please follow the instructions in \fIcontrib/devtools/README.md\fR to generate the manual pages after a release. |
| 165 | +Please contribute if you find Sv2 Template Provider useful. Visit |
| 166 | +<https://github.com/sjors/sv2-tp> for further information about the software. |
| 167 | +The source code is available from <https://github.com/sjors/sv2-tp>. |
| 168 | + |
| 169 | +This is experimental software. |
| 170 | +Distributed under the MIT software license, see the accompanying file COPYING |
| 171 | +or <https://opensource.org/license/MIT> |
| 172 | +.SH "SEE ALSO" |
| 173 | +sv2-tp(1) |
0 commit comments