Daemon Options - SpaceXpanse/Documentation GitHub Wiki

Daemon Options

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.

Where to Use Daemon Options

Daemon options are used to start spacexpansed. You can set them:

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.

Unique to SpaceXpanse

There are several options that are unique to SpaceXpanse and spacexpansed.

Options

  • -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.

ZeroMQ Notification Options

  • -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>

RPC Server Options

  • -maxgameblockattaches=<n>: Sets the maximum number of attach steps sent for a single game_sendupdates request (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)

Debugging/Testing options

  • -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.

Block creation options

  • -blockmaxweight=<n>: Set maximum BIP141 block weight (default: 396000)

The maximum in Bitcoin is 3996000. SpaceXpanse has smaller, faster blocks, so hence the difference.

Wallet options

  • -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".

Ports

  • -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 Also

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.

⚠️ **GitHub.com Fallback** ⚠️