#define COPYRIGHT_STR "2009-" STRINGIZE(COPYRIGHT_YEAR) " The Bitcoin developers"
VS_VERSION_INFO VERSIONINFO
FILEVERSION VER_FILEVERSION
PRODUCTVERSION VER_PRODUCTVERSION
FILEOS VOS_NT_WINDOWS32
FILETYPE VFT_APP
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4" // U.S. English - multilingual (hex)
BEGIN
VALUE "CompanyName", "Bitcoin"
VALUE "FileDescription", "Bitcoin-cli (OSS RPC client for Bitcoin)"
VALUE "FileVersion", VER_FILEVERSION_STR
VALUE "InternalName", "bitcoin-cli"
VALUE "LegalCopyright", COPYRIGHT_STR
VALUE "LegalTrademarks1", "Distributed under the MIT/X11 software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php."
VALUE "OriginalFilename", "bitcoin-cli.exe"
VALUE "ProductName", "Bitcoin-cli"
VALUE "ProductVersion", VER_PRODUCTVERSION_STR
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0, 1252 // language neutral - multilingual (decimal)
strUsage+=" -upnp "+_("Use UPnP to map the listening port (default: 1 when listening)")+"\n";
strUsage+=" -upnp "+_("Use UPnP to map the listening port (default: 1 when listening)")+"\n";
#else
#else
strUsage+=" -upnp "+_("Use UPnP to map the listening port (default: 0)")+"\n";
strUsage+=" -upnp "+_("Use UPnP to map the listening port (default: 0)")+"\n";
#endif
#endif
#endif
strUsage+=" -paytxfee=<amt> "+_("Fee per KB to add to transactions you send")+"\n";
strUsage+=" -debug "+_("Output extra debugging information. Implies all other -debug* options")+"\n";
strUsage+=" -debugnet "+_("Output extra network debugging information")+"\n";
strUsage+=" -logtimestamps "+_("Prepend debug output with timestamp")+"\n";
strUsage+=" -shrinkdebugfile "+_("Shrink debug.log file on client startup (default: 1 when no -debug)")+"\n";
strUsage+=" -printtoconsole "+_("Send trace/debug info to console instead of debug.log file")+"\n";
strUsage+=" -regtest "+_("Enter regression test mode, which uses a special chain in which blocks can be "
"solved instantly. This is intended for regression testing tools and app development.")+"\n";
#ifdef WIN32
strUsage+=" -printtodebugger "+_("Send trace/debug info to debugger")+"\n";
#endif
#endif
strUsage+=" -paytxfee=<amt> "+_("Fee per KB to add to transactions you send")+"\n";
}
if(fHaveGUI)
if(hmm==HMM_BITCOIN_QT)
{
strUsage+=" -server "+_("Accept command line and JSON-RPC commands")+"\n";
strUsage+=" -server "+_("Accept command line and JSON-RPC commands")+"\n";
}
if(hmm==HMM_BITCOIND)
{
#if !defined(WIN32)
#if !defined(WIN32)
if(fHaveGUI)
strUsage+=" -daemon "+_("Run in the background as a daemon and accept commands")+"\n";
strUsage+=" -daemon "+_("Run in the background as a daemon and accept commands")+"\n";
#endif
#endif
strUsage+=" -testnet "+_("Use the test network")+"\n";
}
strUsage+=" -debug "+_("Output extra debugging information. Implies all other -debug* options")+"\n";
strUsage+=" -debugnet "+_("Output extra network debugging information")+"\n";
if(hmm==HMM_BITCOIND||hmm==HMM_BITCOIN_CLI)
strUsage+=" -logtimestamps "+_("Prepend debug output with timestamp")+"\n";
{
strUsage+=" -shrinkdebugfile "+_("Shrink debug.log file on client startup (default: 1 when no -debug)")+"\n";
strUsage+=" -rpcconnect=<ip> "+_("Send commands to node running on <ip> (default: 127.0.0.1)")+"\n";
strUsage+=" -printtoconsole "+_("Send trace/debug info to console instead of debug.log file")+"\n";
}
strUsage+=" -regtest "+_("Enter regression test mode, which uses a special chain in which blocks can be "
"solved instantly. This is intended for regression testing tools and app development.")+"\n";
#ifdef WIN32
strUsage+=" -printtodebugger "+_("Send trace/debug info to debugger")+"\n";
#endif
strUsage+=" -rpcuser=<user> "+_("Username for JSON-RPC connections")+"\n";
strUsage+=" -rpcuser=<user> "+_("Username for JSON-RPC connections")+"\n";
strUsage+=" -rpcpassword=<pw> "+_("Password for JSON-RPC connections")+"\n";
strUsage+=" -rpcpassword=<pw> "+_("Password for JSON-RPC connections")+"\n";
strUsage+=" -rpcport=<port> "+_("Listen for JSON-RPC connections on <port> (default: 8332 or testnet: 18332)")+"\n";
if(hmm==HMM_BITCOIND||hmm==HMM_BITCOIN_QT)
strUsage+=" -rpcallowip=<ip> "+_("Allow JSON-RPC connections from specified IP address")+"\n";
{
if(!fHaveGUI)
strUsage+=" -rpcport=<port> "+_("Listen for JSON-RPC connections on <port> (default: 8332 or testnet: 18332)")+"\n";
strUsage+=" -rpcconnect=<ip> "+_("Send commands to node running on <ip> (default: 127.0.0.1)")+"\n";
}else{
strUsage+=" -rpcthreads=<n> "+_("Set the number of threads to service RPC calls (default: 4)")+"\n";
strUsage+=" -rpcport=<port> "+_("Connect to JSON-RPC on <port> (default: 8332 or testnet: 18332)")+"\n";
strUsage+=" -blocknotify=<cmd> "+_("Execute command when the best block changes (%s in cmd is replaced by block hash)")+"\n";
}
strUsage+=" -walletnotify=<cmd> "+_("Execute command when a wallet transaction changes (%s in cmd is replaced by TxID)")+"\n";
strUsage+=" -alertnotify=<cmd> "+_("Execute command when a relevant alert is received or we see a really long fork (%s in cmd is replaced by message)")+"\n";
if(hmm==HMM_BITCOIND||hmm==HMM_BITCOIN_QT)
strUsage+=" -upgradewallet "+_("Upgrade wallet to latest format")+"\n";
{
strUsage+=" -keypool=<n> "+_("Set key pool size to <n> (default: 100)")+"\n";
strUsage+=" -rpcallowip=<ip> "+_("Allow JSON-RPC connections from specified IP address")+"\n";
strUsage+=" -rescan "+_("Rescan the block chain for missing wallet transactions")+"\n";
strUsage+=" -rpcthreads=<n> "+_("Set the number of threads to service RPC calls (default: 4)")+"\n";
strUsage+=" -salvagewallet "+_("Attempt to recover private keys from a corrupt wallet.dat")+"\n";
strUsage+=" -blocknotify=<cmd> "+_("Execute command when the best block changes (%s in cmd is replaced by block hash)")+"\n";
strUsage+=" -checkblocks=<n> "+_("How many blocks to check at startup (default: 288, 0 = all)")+"\n";
strUsage+=" -walletnotify=<cmd> "+_("Execute command when a wallet transaction changes (%s in cmd is replaced by TxID)")+"\n";
strUsage+=" -checklevel=<n> "+_("How thorough the block verification is (0-4, default: 3)")+"\n";
strUsage+=" -alertnotify=<cmd> "+_("Execute command when a relevant alert is received or we see a really long fork (%s in cmd is replaced by message)")+"\n";
strUsage+=" -txindex "+_("Maintain a full transaction index (default: 0)")+"\n";
strUsage+=" -upgradewallet "+_("Upgrade wallet to latest format")+"\n";
strUsage+=" -loadblock=<file> "+_("Imports blocks from external blk000??.dat file")+"\n";
strUsage+=" -keypool=<n> "+_("Set key pool size to <n> (default: 100)")+"\n";
strUsage+=" -reindex "+_("Rebuild block chain index from current blk000??.dat files")+"\n";
strUsage+=" -rescan "+_("Rescan the block chain for missing wallet transactions")+"\n";
strUsage+=" -par=<n> "+_("Set the number of script verification threads (up to 16, 0 = auto, <0 = leave that many cores free, default: 0)")+"\n";
strUsage+=" -salvagewallet "+_("Attempt to recover private keys from a corrupt wallet.dat")+"\n";
strUsage+=" -checkblocks=<n> "+_("How many blocks to check at startup (default: 288, 0 = all)")+"\n";
strUsage+="\n"+_("Block creation options:")+"\n";
strUsage+=" -checklevel=<n> "+_("How thorough the block verification is (0-4, default: 3)")+"\n";
strUsage+=" -blockminsize=<n> "+_("Set minimum block size in bytes (default: 0)")+"\n";
strUsage+=" -txindex "+_("Maintain a full transaction index (default: 0)")+"\n";
strUsage+=" -blockmaxsize=<n> "+_("Set maximum block size in bytes (default: 250000)")+"\n";
strUsage+=" -loadblock=<file> "+_("Imports blocks from external blk000??.dat file")+"\n";
strUsage+=" -blockprioritysize=<n> "+_("Set maximum size of high-priority/low-fee transactions in bytes (default: 27000)")+"\n";
strUsage+=" -reindex "+_("Rebuild block chain index from current blk000??.dat files")+"\n";
strUsage+=" -par=<n> "+_("Set the number of script verification threads (up to 16, 0 = auto, <0 = leave that many cores free, default: 0)")+"\n";
strUsage+="\n"+_("Block creation options:")+"\n";
strUsage+=" -blockminsize=<n> "+_("Set minimum block size in bytes (default: 0)")+"\n";
strUsage+=" -blockmaxsize=<n> "+_("Set maximum block size in bytes (default: 250000)")+"\n";
strUsage+=" -blockprioritysize=<n> "+_("Set maximum size of high-priority/low-fee transactions in bytes (default: 27000)")+"\n";
}
strUsage+="\n"+_("SSL options: (see the Bitcoin Wiki for SSL setup instructions)")+"\n";
strUsage+="\n"+_("SSL options: (see the Bitcoin Wiki for SSL setup instructions)")+"\n";
strUsage+=" -rpcssl "+_("Use OpenSSL (https) for JSON-RPC connections")+"\n";
strUsage+=" -rpcssl "+_("Use OpenSSL (https) for JSON-RPC connections")+"\n";