Skip to content

Instantly share code, notes, and snippets.

@b-rucel
Created August 5, 2022 17:05
Show Gist options
  • Save b-rucel/b8b9e0772e700115c53effda5c688bb4 to your computer and use it in GitHub Desktop.
Save b-rucel/b8b9e0772e700115c53effda5c688bb4 to your computer and use it in GitHub Desktop.
digimoneyd
Digimoney version v1.0.0.3-60010-dgm1
Usage:
digimoneyd [options]
digimoneyd [options] <command> [params] Send command to -server or digimoneyd
digimoneyd [options] help List commands
digimoneyd [options] help <command> Get help for a command
#### Options:
- ?
This help message
- conf=<file>
Specify configuration file (default: digimoney.conf)
- pid=<file>
Specify pid file (default: digimoneyd.pid)
- datadir=<dir>
Specify data directory
- wallet=<dir> Specify wallet file (within data directory)
- dbcache=<n> Set database cache size in megabytes (default: 10)
- dbwalletcache=<n> Set wallet database cache size in megabytes (default: 1)
- 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 SOCKS5 proxy
- 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: 33290)
- maxconnections=<n> Maintain at most <n> connections to peers (default: 125)
- 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 Query for peer addresses via DNS lookup, if low on addresses (default: 1 unless -connect)
- forcednsseed Always query for peer addresses via DNS lookup (default: 0)
- synctime Sync time with other nodes. Disable if time on your system is precise e.g. syncing with NTP (default: 1)
- 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: 0)
- 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)
- testnet Use the test network
- debug=<category> Output debugging information (default: 0, supplying <category> is optional)
If <category> is not supplied, output all debugging information.
<category> can be: addrman, alert, db, lock, rand, rpc, selectcoins, mempool, net, coinage, coinstake, creation, stakemodifier.
- 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
- 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.
- rpcuser=<user> Username for JSON-RPC connections
- rpcpassword=<pw> Password for JSON-RPC connections
- rpcport=<port> Listen for JSON-RPC connections on <port> (default: 33291)
- rpcallowip=<ip> Allow JSON-RPC connections from specified IP address
- rpcconnect=<ip> Send commands to node running on <ip> (default: 127.0.0.1)
- rpcwait Wait for RPC server to start
- rpcthreads=<n> Set the number of threads to service RPC calls (default: 4)
- 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)
- alertnotify=<cmd> Execute command when a relevant alert is received (%s in cmd is replaced by message)
- upgradewallet Upgrade wallet to latest format
- createwalletbackups=<n> Number of automatic wallet backups (default: 10)
- keypool=<n> Set key pool size to <n> (default: 100) (litemode: 10)
- rescan Rescan the block chain for missing wallet transactions
- salvagewallet Attempt to recover private keys from a corrupt wallet.dat
- checkblocks=<n> How many blocks to check at startup (default: 500, 0 = all)
- checklevel=<n> How thorough the block verification is (0-6, default: 1)
- loadblock=<file> Imports blocks from external blk000?.dat file
- maxorphanblocks=<n> Keep at most <n> unconnectable blocks in memory (default: 750)
#### 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:!SSLv3:!SSLv2:!aNULL:!eNULL:!3DES:@STRENGTH)
- litemode=<n> Disable all Darksend and Stealth Messaging related functionality (0-1, default: 0)
#### Masternode options:
- masternode=<n> Enable the client to act as a masternode (0-1, default: 0)
- mnconf=<file> Specify masternode configuration file (default: masternode.conf)
- mnconflock=<n> Lock masternodes from masternode configuration file (default: 1)
- masternodeprivkey=<n> Set the masternode private key
- masternodeaddr=<n> Set external address:port to get to this masternode (example: address:port)
- masternodeminprotocol=<n> Ignore masternodes less than version (example: 61401; default : 0)
#### Darksend options:
- enabledarksend=<n> Enable use of automated darksend for funds stored in this wallet (0-1, default: 0)
- darksendrounds=<n> Use N separate masternodes to anonymize funds (2-8, default: 2)
- anonymizedigimoneyamount=<n> Keep N Digimoney anonymized (default: 0)
- liquidityprovider=<n> Provide liquidity to Darksend by infrequently mixing coins on a continual basis (0-100, default: 0, 1=very frequent, high fees, 100=very infrequent, low fees)
#### InstantX options:
- enableinstantx=<n> Enable instantx, show confirmations for locked transactions (bool, default: true)
- instantxdepth=<n> Show N confirmations for a successfully locked transaction (0-9999, default: 10)
#### Secure messaging options:
- nosmsg Disable secure messaging.
- debugsmsg Log extra debug messages.
- smsgscanchain Scan the block chain for public key addresses on startup.
digimoneyd [options] <command> [params]
>>>
addmultisigaddress nrequired ["key",...] ( "account" )
addnode <node> <add|remove|onetry>
addredeemscript <redeemScript> [account]
backupwallet "destination"
checkkernel [{"txid":txid,"vout":n},...] [createblocktemplate=false]
checkwallet
clearbanned
createmultisig nrequired ["key",...]
createrawtransaction [{"txid":txid,"vout":n},...] {address:amount,...}
darksend <digimoneyaddress> <amount>
decoderawtransaction <hex string>
decodescript <hex string>
dumpprivkey <digimoneyaddress>
dumpwallet <filename>
encryptwallet "passphrase"
getaccount "digimoneyaddress"
getaccountaddress "account"
getaddednodeinfo <dns> [node]
getaddressesbyaccount "account"
getbalance ( "account" minconf includeWatchonly )
getbestblockhash
getblock <hash> [txinfo]
getblockbynumber <number> [txinfo]
getblockcount
getblockhash <index>
getblocktemplate [params]
getcheckpoint
getconnectioncount
getdifficulty
getinfo
getmininginfo
getnettotals
getnewaddress ( "account" )
getnewpubkey [account]
getnewstealthaddress [label]
getpeerinfo
getrawmempool
getrawtransaction <txid> [verbose=0]
getreceivedbyaccount "account" ( minconf )
getreceivedbyaddress "digimoneyaddress" ( minconf )
getstakesubsidy <hex string>
getstakinginfo
getsubsidy [nTarget]
gettransaction "txid" ( includeWatchonly )
getwork [data]
getworkex [data, coinbase]
help [command]
importaddress "address" ( "label" rescan )
importprivkey <digimoneyprivkey> [label] [rescan=true]
importstealthaddress <scan_secret> <spend_secret> [label]
importwallet <filename>
keypoolrefill ( newsize )
listaccounts ( minconf includeWatchonly)
listaddressgroupings
listbanned
listreceivedbyaccount ( minconf includeempty includeWatchonly)
listreceivedbyaddress ( minconf includeempty includeWatchonly)
listsinceblock ( "blockhash" target-confirmations includeWatchonly)
liststealthaddresses [show_secrets=0]
listtransactions ( "account" count from includeWatchonly)
listunspent [minconf=1] [maxconf=9999999] ["address",...]
makekeypair [prefix]
masternode "command"... ( "passphrase" )
masternodelist ( "mode" "filter" )
move "fromaccount" "toaccount" amount ( minconf "comment" )
ping
repairwallet
resendtx
reservebalance [<reserve> [amount]]
scanforalltxns [fromHeight]
scanforstealthtxns [fromHeight]
searchrawtransactions <address> [verbose=1] [skip=0] [count=100]
sendalert <message> <privatekey> <minver> <maxver> <priority> <id> [cancelupto]
sendfrom "fromaccount" "todigimoneyaddress" amount ( minconf "comment" "comment-to" )
sendmany "fromaccount" {"address":amount,...} ( minconf "comment" )
sendrawtransaction <hex string>
sendtoaddress "digimoneyaddress" amount ( "comment" "comment-to" )
sendtostealthaddress <stealth_address> <amount> [comment] [comment-to] [narration]
setaccount "digimoneyaddress" "account"
setban "ip(/netmask)" "add|remove" (bantime) (absolute)
settxfee amount
signmessage "digimoneyaddress" "message"
signrawtransaction <hex string> [{"txid":txid,"vout":n,"scriptPubKey":hex,"redeemScript":hex},...] [<privatekey1>,...] [sighashtype="ALL"]
smsgaddkey <address> <pubkey>
smsgbuckets [stats|dump]
smsgdisable
smsgenable
smsggetpubkey <address>
smsginbox [all|unread|clear]
smsglocalkeys [whitelist|all|wallet|recv <+/-> <address>|anon <+/-> <address>]
smsgoptions [list|set <optname> <value>]
smsgoutbox [all|clear]
smsgscanbuckets
smsgscanchain
smsgsend <addrFrom> <addrTo> <message>
smsgsendanon <addrTo> <message>
spork <name> [<value>]
stop
submitblock <hex data> [optional-params-obj]
validateaddress <digimoneyaddress>
validatepubkey <digimoneypubkey>
verifymessage <digimoneyaddress> <signature> <message>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment