Skip to content

Instantly share code, notes, and snippets.

@Tahvok
Last active March 18, 2016 11:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tahvok/9006b0263c7dcf52c770 to your computer and use it in GitHub Desktop.
Save Tahvok/9006b0263c7dcf52c770 to your computer and use it in GitHub Desktop.
$ gridcoinresearchd --help
Gridcoin version v3.5.5.9-g-research
Usage:
gridcoind [options]
gridcoind [options] <command> [params] Send command to -server or gridcoind
gridcoind [options] help List commands
gridcoind [options] help <command> Get help for a command
Options:
-? This help message
-conf=<file> Specify configuration file (default: gridcoinresearch.conf)
-pid=<file> Specify pid file (default: gridcoind.pid)
-datadir=<dir> Specify data directory
-wallet=<dir> Specify wallet file (within data directory)
-dbcache=<n> Set database cache size in megabytes (default: 25)
-dblogsize=<n> Set database disk log size in megabytes (default: 100)
-timeout=<n> Specify connection timeout in milliseconds (default: 5000)
-proxy=<ip:port> Connect through socks proxy
-socks=<n> Select the version of socks proxy to use (4-5, default: 5)
-tor=<ip:port> Use proxy to reach tor hidden services (default: same as -proxy)
-dns Allow DNS lookups for -addnode, -seednode and -connect
-port=<port> Listen for connections on <port> (default: 32749 or testnet: 32748)
-maxconnections=<n> Maintain at most <n> connections to peers (default: 125)
-maxoutboundconnections=<n>Maximum number of outbound connections (default: 8)
-addnode=<ip> Add a node to connect to and attempt to keep the connection open
-connect=<ip> Connect only to the specified node(s)
-seednode=<ip> Connect to a node to retrieve peer addresses, and disconnect
-externalip=<ip> Specify your own public address
-onlynet=<net> Only connect to nodes in network <net> (IPv4, IPv6 or Tor)
-discover Discover own IP address (default: 1 when listening and no -externalip)
-irc Find peers using internet relay chat (default: 0)
-listen Accept connections from outside (default: 1 if no -proxy or -connect)
-bind=<addr> Bind to given address. Use [host]:port notation for IPv6
-dnsseed Find peers using DNS lookup (default: 1)
-synctime Sync time with other nodes. Disable if time on your system is precise e.g. syncing with NTP (default: 1)
-cppolicy Sync checkpoints policy (default: strict)
-banscore=<n> Threshold for disconnecting misbehaving peers (default: 100)
-bantime=<n> Number of seconds to keep misbehaving peers from reconnecting (default: 86400)
-maxreceivebuffer=<n> Maximum per-connection receive buffer, <n>*1000 bytes (default: 5000)
-maxsendbuffer=<n> Maximum per-connection send buffer, <n>*1000 bytes (default: 1000)
-upnp Use UPnP to map the listening port (default: 1 when listening)
-paytxfee=<amt> Fee per KB to add to transactions you send
-mininput=<amt> When creating transactions, ignore inputs with value less than this (default: 0.01)
-daemon Run in the background as a daemon and accept commands
-testnet Use the test network
-debug Output extra debugging information. Implies all other -debug* options
-debugnet Output extra network debugging information
-logtimestamps Prepend debug output with timestamp
-shrinkdebugfile Shrink debug.log file on client startup (default: 1 when no -debug)
-printtoconsole Send trace/debug info to console instead of debug.log file
-rpcuser=<user> Username for JSON-RPC connections
-rpcpassword=<pw> Password for JSON-RPC connections
-rpcport=<port> Listen for JSON-RPC connections on <port> (default: 15715 or testnet: 25715)
-rpcallowip=<ip> Allow JSON-RPC connections from specified IP address
-rpcconnect=<ip> Send commands to node running on <ip> (default: 127.0.0.1)
-blocknotify=<cmd> Execute command when the best block changes (%s in cmd is replaced by block hash)
-walletnotify=<cmd> Execute command when a wallet transaction changes (%s in cmd is replaced by TxID)
-confchange Require a confirmations for change (default: 0)
-enforcecanonical Enforce transaction scripts to use canonical PUSH operators (default: 1)
-alertnotify=<cmd> Execute command when a relevant alert is received (%s in cmd is replaced by message)
-upgradewallet Upgrade wallet to latest format
-keypool=<n> Set key pool size to <n> (default: 100)
-rescan Rescan the block chain for missing wallet transactions
-salvagewallet Attempt to recover private keys from a corrupt wallet.dat
-zapwallettxes=<mode> Delete all wallet transactions and only recover those parts of the blockchain through -rescan on startup
-checkblocks=<n> How many blocks to check at startup (default: 2500, 0 = all)
-checklevel=<n> How thorough the block verification is (0-6, default: 1)
-loadblock=<file> Imports blocks from external blk000?.dat file
Block creation options:
-blockminsize=<n> Set minimum block size in bytes (default: 0)
-blockmaxsize=<n> Set maximum block size in bytes (default: 250000)
-blockprioritysize=<n> Set maximum size of high-priority/low-fee transactions in bytes (default: 27000)
SSL options: (see the Bitcoin Wiki for SSL setup instructions)
-rpcssl Use OpenSSL (https) for JSON-RPC connections
-rpcsslcertificatechainfile=<file.cert> Server certificate file (default: server.cert)
-rpcsslprivatekeyfile=<file.pem> Server private key (default: server.pem)
-rpcsslciphers=<ciphers> Acceptable ciphers (default: TLSv1.2+HIGH:TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!3DES:@STRENGTH)
$ gridcoinresearchd help
addmultisigaddress <nrequired> <'["key","key"]'> [account]
addnode <node> <add|remove|onetry>
addredeemscript <redeemScript> [account]
backupwallet <destination>
checkwallet
createrawtransaction [{"txid":txid,"vout":n},...] {address:amount,...}
dao <string::itemname> <string::parameter>
decoderawtransaction <hex string>
decodescript <hex string>
downloadblocks
downloadcancel
downloadstate
dumpprivkey <gridcoinaddress>
dumpwallet <filename>
encryptwallet <passphrase>
execute <string::itemname> <string::parameter>
getaccount <gridcoinaddress>
getaccountaddress <account>
getaddednodeinfo <dns> [node]
getaddressesbyaccount <account>
getbalance [account] [minconf=1]
getbestblockhash
getblock <hash> [txinfo]
getblockbynumber <number> [txinfo]
getblockcount
getblockhash <index>
getblocktemplate [params]
getcheckpoint
getconnectioncount
getdifficulty
getinfo
getmininginfo
getnettotals
getnewaddress [account]
getnewpubkey [account]
getpeerinfo
getrawmempool
getrawtransaction <txid> [verbose=0]
getreceivedbyaccount <account> [minconf=1]
getreceivedbyaddress <Gridcoinaddress> [minconf=1]
getstakinginfo
getsubsidy [nTarget]
gettransaction <txid>
getwork [data]
getworkex [data, coinbase]
help [command]
importprivkey <gridcoinprivkey> [label] [rescan=true]
importwallet <filename>
keypoolrefill [new-size]
list <string::itemname>
listaccounts [minconf=1]
listaddressgroupings
listreceivedbyaccount [minconf=1] [includeempty=false]
listreceivedbyaddress [minconf=1] [includeempty=false]
listsinceblock [blockhash] [target-confirmations]
listtransactions [account] [count=10] [from=0]
listunspent [minconf=1] [maxconf=9999999] ["address",...]
makekeypair [prefix]
move <fromaccount> <toaccount> <amount> [minconf=1] [comment]
option <string::itemname> <string::parameter>
ping
repairwallet
resendtx
reservebalance [<reserve> [amount]]
restart
sendalert <message> <privatekey> <minver> <maxver> <priority> <id> [cancelupto]
sendfrom <fromaccount> <toGridcoinaddress> <amount> [minconf=1] [comment] [comment-to]
sendmany <fromaccount> {address:amount,...} [minconf=1] [comment]
sendrawtransaction <hex string>
sendtoaddress <gridcoinaddress> <amount> [comment] [comment-to]
setaccount <gridcoinaddress> <account>
settxfee <amount>
showblock <index>
signmessage <Gridcoinaddress> <message>
signrawtransaction <hex string> [{"txid":txid,"vout":n,"scriptPubKey":hex},...] [<privatekey1>,...] [sighashtype="ALL"]
stop
submitblock <hex data> [optional-params-obj]
upgrade
validateaddress <gridcoinaddress>
validatepubkey <gridcoinpubkey>
verifymessage <Gridcoinaddress> <signature> <message>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment