Daemon Options - SpaceXpanse/Documentation GitHub Wiki
For a full list of daemon startup options, open a command line or terminal and run:
spacexpansed -?
You can also consult the Bitcoin documentation here.
The following documents the most important differences between daemon startup options for spacexpansed and bitcoind.
For standard startup options needed for SpaceXpanse, consult Running spacexpansed for Games here.
Daemon options are used to start spacexpansed. You can set them:
- In a shortcut to spacexpansed
- In the spacexpanse.conf file in the data directory
- In command line arguments when running spacexpansed
You can also start the SpaceXpanse QT wallet or SpaceXpanse Electron wallet the same way as above. They will pass the options to spacexpansed when it starts up.
There are several options that are unique to SpaceXpanse and spacexpansed.
-
-namehistory: Keep track of the full name history (default: 0)
The namehistory option allows getting the entire history for a name. However, this increases the database size a little bit. You can then use name_history <name> in an RPC or in spacexpanse-cli to get the complete history for that name.
-
-trackgame=<game>: Enable tracking of the listed game for the SpaceXpanse game interface -
-zmqpubgameblocks=<address>: Enable publication of game data for block attach/detach events in<address>
-
-maxgameblockattaches=<n>: Sets the maximum number of attach steps sent for a singlegame_sendupdatesrequest (default: 1000) -
-nameencoding=<enc>: Sets the default encoding used for names in the RPC interface (default: utf8) -
-valueencoding=<enc>: Sets the default encoding used for values in the RPC interface (default: ascii)
-
-debug=<category>Output debugging information (default: -nodebug, supplying is optional). If is not supplied or if = 1, output all debugging information. can be: net, tor, mempool, http, bench, zmq, db, rpc, estimatefee, addrman, selectcoins, reindex, cmpctblock, rand, prune, proxy, mempoolrej, libevent, coindb, qt, leveldb, names, game.
The "names" and "game" categories are added to the debug option in SpaceXpanse, but are not found in Bitcoin.
-
-blockmaxweight=<n>: Set maximum BIP141 block weight (default: 396000)
The maximum in Bitcoin is 3996000. SpaceXpanse has smaller, faster blocks, so hence the difference.
-
-addresstype: What type of addresses to use ("legacy", "p2sh-segwit", or "bech32", default: "legacy")
The default in SpaceXpanse is "legacy", however the default in Bitcoin is "p2sh-segwit".
-
-port=<port>: Listen for connections on (default: 11998, testnet: 18398, signet: 38398, regtest: 18498) -
-rpcport=<port>: Listen for JSON-RPC connections on (default: 11999, testnet: 18399, signet: 38399, regtest: 18499)
Port numbers differ between SpaceXpanse and Bitcoin.
See more information about spacexpanse.conf here.
See more information about spacexpanse-cli here.
See more information about SpaceXpanse RPC methods here.
See more information about Running spacexpansed for Games here.